Intermediate
Assembly Language
Q55 / 100
What is stack canary?
Correct! Well done.
Incorrect.
The correct answer is B) A secret value placed between local variables and the saved return address to detect buffer overflow corruption
B
Correct Answer
A secret value placed between local variables and the saved return address to detect buffer overflow corruption
Explanation
The compiler inserts a canary value (e.g., GCC's -fstack-protector). Before RET, the canary is checked — if modified by a buffer overflow, the program terminates.
Progress
55/100