Skip to content

Commit

Permalink
Update hardening-checks.sh (fix Fortify "Partial" case)
Browse files Browse the repository at this point in the history
Change the binaries being tested
  • Loading branch information
teoberi authored Apr 25, 2024
1 parent 7b6b249 commit d7a3704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/hardening-checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ for bin in rel.o rel32.o rel_cl.o rel_cl32.o; do
fi
done
# Partial
for bin in rel.o rel32.o rel_cl.o rel_cl32.o; do
for bin in partial partial32 partial_cl partial_cl32; do
if [[ $("${PARENT}"/checksec --file="${DIR}/binaries/${bin}" --format=csv | cut -d, -f8) != "Partial" ]]; then
echo "No Fortify validation failed on \"${bin}\": $("${PARENT}"/checksec --file="${DIR}/binaries/${bin}" --format=csv | cut -d, -f8)"
exit 1
Expand Down

0 comments on commit d7a3704

Please sign in to comment.