e.g glibc on Linux/i386 stores the cookie at %gs:0x14
. Are there any other platforms on which I need to look somewhere other than at the __stack_chk_guard
symbol to find the cookie?
(This is where the value that gcc -fstack-protector
-generated code stores onto the stack in function prologues and checks before return to defend against stack smashing).