Slide 21
Slide 21 text
Stack Scanning
Walk the stack looking for return addresses in the code
The calling convention must allow for stack scanning
Standard placement of return addresses in the stack
Access to saved registers (e.g. SP, FP) of suspended threads
Depends on underlying, architecture, OS, and calling
convention
The OS can make this impossible
(e.g., by saving register state in kernel space).
Managed Runtime Systems 19 of 29 https://foivos.zakkak.net