mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Add new script to compare the stack layout (#1112)
* Add new script to debug the stack layout * fix small error in script --------- Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
@@ -96,7 +96,8 @@ class PdbFunctionExtractor:
|
||||
|
||||
stack_symbols: list[CppStackOrRegisterSymbol] = []
|
||||
|
||||
# for some unexplained reason, the reported stack is offset by 4 when this flag is set
|
||||
# for some unexplained reason, the reported stack is offset by 4 when this flag is set.
|
||||
# Note that this affects the arguments (ebp + ...) but not the function stack (ebp - ...)
|
||||
stack_offset_delta = -4 if fn.frame_pointer_present else 0
|
||||
|
||||
for symbol in fn.stack_symbols:
|
||||
|
Reference in New Issue
Block a user