New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GDB command call
doesn't trigger any gdb.Event
#826
Comments
It looks like a UI problem. What if you clear the caches after the 2nd malloc call but before the 2nd |
How can I do it, could you guide me please? |
|
Well, that worked, thanks! Nevertheless, |
I wasn't saying there isn't a bug, just trying to identify it. Yeah, normal usage should not require the use of |
call
doesn't trigger any gdb.Event
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. You can reopen it by adding a comment to this issue. |
This issue has been automatically closed because it has not had recent activity. If you are the owner of this issue, you can either re-open it and provide a more complete description; or create a new issue. Thank you for your contributions. |
dev
branch?gdb -nx
the closed ones) - and the PR?
Step 1: Describe your environment
version
in GEF.Step 2: Describe your problem
heap bins
doesn't show the real state of the heap when usinggdb
commands likecall free
andcall malloc
. After using them,heap bins
shows wrong information.For example. when I execute
call (void*) malloc(0x10)
it returns the chunk which was just in fastbin. Nevertheless, when I useheap bins
after that, the chunk still show up in the output, even though thecount
has decreased.Steps to reproduce
malloc(0x10)
from the binary.free(<chunk_from_step1>)
from the binary.call (void*) malloc(0x10)
from inside ofgdb
.heap bins
and see, thattcachebins
are not empty.Minimalist test case
test.c
gdbcommands.txt
Command line
Expected results
fastbin
should be emptied like in the case where wemalloc
-ed the same chunk from inside the binary.The text was updated successfully, but these errors were encountered: