Questions tagged [stack-protector]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

Where stack canary is located?

Is stack canary located between the local variable in stack and the place that the function saved the registers in the beginning of function? push r5,lr so I can't change any registers (while the ...
user avatar
  • 1
1 vote
2 answers

Detecting and solutions of stack smash protection

This video presents how modern compilers protect stack overflows with stack cookies and function __stack_chk_fail. How can one identify if a binary has stack ...
user avatar
3 votes
3 answers

Stack-Smashing Protection error message

Here is a very ugly C program: #include <stdio.h> #include <string.h> int main(int argc, char *argv[]) { char buffer[10]; memcpy(buffer,argv[1],strlen(argv[1])); printf("%...
user avatar
  • 603