mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-15 13:29:41 -07:00
add support for CFA in the eval system
Canonical Frame Address is a DWARF-only concept encoded in the unwind info. Debugger must store this data for each call frame and provide it to the eval system based on selected stack frame. To abstract over format details, we introduce a "Frame Unwind Context". For DWARF, this context maintains the intermediate unwind state and exposes the CFA, whereas for PE, it remains empty.
This commit is contained in:
1 parent
2a6d0d737c
commit
f9561cb618
9 files changed
+225
-100
No files matched your search
@@ -17,6 +17,7 @@ struct E_InterpretCtx
|
||||
U64 *module_base;
|
||||
U64 *frame_base;
|
||||
U64 *tls_base;
|
||||
U64 cfa;
|
||||
};
|
||||
|
||||
////////////////////////////////
|
||||
|
||||
Reference in new issue
Block a user