3 ms·
> nested functions With executable stack and all that jazz?
by planede 4y ago
> nested functions
With executable stack and all that jazz?
- teddyh 4y agoWell, I also use a massive amount of -Wstuff flags, and "-D_FORTIFY_SOURCE=3 -fstack-protector-all -fPIC -fPIE". I think I’m good.
- planede 4y ago_FORTIFY_SOURCE only goes up to 2
- cipherboy 4y agohttps://developers.redhat.com/blog/2021/04/16/broadening-compiler-checks-for-buffer-overflows-in-_fortify_source#what_s_next_for__fortify_source https://developers.redhat.com/blog/2021/04/16/broadening-com... Red Hat seems to have a =3
- teddyh 4y agoThe GNU C library version 2.33, released in february 2021, supports _FORTIFY_SOURCE=3, but reportedly it makes no difference on GCC yet.
- planede 4y agoI stand corrected then, I checked an older version.