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?