Open SergeyKarasyov opened 4 years ago
Name | Option | compiler |
---|---|---|
Stack-based buffer overrun protection | -fstack-protector–fstack-protector-all | gcc |
GOT Table Protection | -Wl,-z, relro | gcc |
Dynamic link path | -Wl,--disable-new-dtags,--rpath [path] | gcc |
Non-executable stack | -Wl,-z,noexecstack | gcc |
Image randomization | –fpie –pie | gcc |
Insecure C runtime function detection | –D_FORTIFY_SOURCE=2 –Wformat-security | gcc |