Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22045

binary hardening with -fstack-protector-all not reflecting

$
0
0

I applied the flag -fstack-protector-all while compiling a binary but it not reflecting in the final executable. I checked it with this script. It shows No canary found.

My code has the static char array of size 1024 inside the main but still it is not reflecting.Why compiler is dropping this flag. How to force compiler to use this flag?


Viewing all articles
Browse latest Browse all 22045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>