You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@hugsy
$_stack() which returns 0x7ffffffde000 is lower than $RSP whose value is 0x007fffffffe7b0. I’m now confused about what the base address of the stack memory region mean. I search its concept in chatgpt and stackoverflow.They all tell me that it means the highest memory location of call stack belonging to the program or stack frame belonging to each subroutine .
Just open /proc/<pid>/maps and you'll see that $_stack() has the same value as the base address showing on the [stack] line.
Closing this issue, as it is not gef related (also it's not an issue). If you have questions to understand how memory layout works just drop by the Discord.
GEF+GDB version
Operating System
Ubuntu22.04
Describe the issue you encountered
context shows
However
print $_stack() command show
I think $_stack() should equal $rbp
Do you read the docs and look at previously closed issues/PRs for similar cases?
yes
Architecture impacted
Describe your issue. Without a proper reproduction step-by-step, your issue will be ignored.
context shows
However
print $_stack() command show
I think $_stack() should equal $rbp
The text was updated successfully, but these errors were encountered: