1 2 3 4 5 6 7 8 9 10 11 12 13
|
# override false positive in hardening-check
#
# there are barely libc functions in pcb2gcode, and the few that are somehow
# don't fall in the patterns hardening-check recognizes. that the build system
# does instruct the use of fortified functions was shown by inserting
#
# char dest[30];
# strcpy(dest, argv[0]);
#
# into the main.cpp source code. (once that's present, hardening-checks finds a
# hardened function it recognizes, and stops complaining).
hardening-no-fortify-functions usr/bin/pcb2gcode
|