This content has been marked as final. Show 2 replies
These might be what you're after:
You should look at using using discover for memory access error detection, the stack overflow checking only checks for running out of stack space, not errors in accessing data held on the stack.
2) -M /usr/lib/ld/map.noexdata
This is a linker mapfile that makes the data segment non-executable.
Generates 32-bit position independent code.