Timeline for Return address on ESP?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 26, 2015 at 15:38 | history | edited | perror | CC BY-SA 3.0 |
Spelling and fixing a few things
|
Jun 26, 2015 at 11:58 | vote | accept | HdjoWattever | ||
Jun 26, 2015 at 11:58 | vote | accept | HdjoWattever | ||
Jun 26, 2015 at 11:58 | |||||
Jun 26, 2015 at 11:37 | answer | added | perror | timeline score: 4 | |
Jun 26, 2015 at 11:32 | answer | added | Ta Thanh Dinh | timeline score: 3 | |
Jun 26, 2015 at 6:34 | comment | added | Guntram Blohm |
The call instruction does two things: it jumps to the target address and it pushes the return address on the stack. After reaching your breakpoint, check the stack like you did in your example, then execute stepi in gdb, and check the stack again; esp will have decreased by 4, and 0x08048499 will be at the top of the stack.
|
|
Jun 26, 2015 at 6:18 | comment | added | Rakholiya Jenish |
Would you give your output of disassemble test_function .
|
|
Jun 26, 2015 at 1:18 | history | asked | HdjoWattever | CC BY-SA 3.0 |