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
Which does not make sense to me, because when I execute info frame, it clearly shows that the frame has a calling frame (thus frame.older() should not return None)
Stack level 0, frame at 0xffffce20:
eip = 0x804863e in simple_echo; saved eip = 0x8048700
called by frame at 0xffffcff0
Arglist at 0xffffce18, args:
Locals at 0xffffce18, Previous frame's sp is 0xffffce20
Saved registers:
ebp at 0xffffce18, eip at 0xffffce1c
Edit: After a bit more investigation, I have found a way to fix it and proposed a PR (#67), the spoiler below contains the former content of the issue
Click to expand
There is probably an easy fix but I'm not at ease with the Python-GDB API and I have not been able to work around it. The only issue I'm not able to fix is finding the stack HI adress without using the calling frame SP:
# Could something like this exist?stack_hi=align_address(int(frame.read_register("bp")))
If someone has the code to find the HI address of the frame, I'm open to make a PR.
The text was updated successfully, but these errors were encountered:
I'm having a small issue when willing to display the stack being in the main method.
It would seem that this condition is executed when
main
's stackframe is selected:gef-extras/scripts/stack.py
Lines 18 to 22 in 3d83535
Which does not make sense to me, because when I execute
info frame
, it clearly shows that the frame has a calling frame (thusframe.older()
should not returnNone
)Edit: After a bit more investigation, I have found a way to fix it and proposed a PR (#67), the spoiler below contains the former content of the issue
Click to expand
There is probably an easy fix but I'm not at ease with the Python-GDB API and I have not been able to work around it. The only issue I'm not able to fix is finding the stack HI adress without using the calling frame SP:If someone has the code to find the HI address of the frame, I'm open to make a PR.
The text was updated successfully, but these errors were encountered: