Quiz: Stack Corruption and Overflow

Test your knowledge of stack corruption and overflow.

1

Let’s suppose you suspect that a crash occurred because the return address of a function is being overwritten by some data. What is the best way to confirm your suspicion?

A)

Dump the raw data around the current stack pointer, and examine the contents of the return addresses.

B)

Disassemble the function code and examine the code.

C)

Print the memory map using the pmap command.

Question 1 of 30 attempted

Get hands-on with 1200+ tech skills courses.