Comment 2 for bug 696990

Revision history for this message
Kees Cook (kees) wrote :

Hm, things are not right.

This is correct and expected in 4.5:

$ gcc-4.5 -U_FORTIFY_SOURCE -O2 test.c -o test
$ hardening-check test
...
 Fortify Source functions: no, not found!

This is not right for 4.6:

$ gcc-4.6 -U_FORTIFY_SOURCE -O2 test.c -o test
$ hardening-check test
...
 Fortify Source functions: yes