Questions tagged [stack-protector]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
266 views

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
226 views

Detecting and solutions of stack smash protection

This video https://youtube.com/watch?v=4HxUmbOcN6Y 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
240 views

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