Skip to content
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

heap bins doesn't properly handle when main_arena is missing #81

Closed
Grazfather opened this issue Oct 21, 2016 · 7 comments
Closed

heap bins doesn't properly handle when main_arena is missing #81

Grazfather opened this issue Oct 21, 2016 · 7 comments
Labels

Comments

@Grazfather
Copy link
Collaborator

Although you have the prints that suggest that it should be caught "No main_arena...", the exception that is thrown from GlibcArena.__init__ is not caught.

Also note that all but the fastbins command print the title before checking, not after.

gef> heap bins fast
Python Exception <class 'gdb.error'> No symbol "main_arena" in current context.:
Error occurred in Python command: No symbol "main_arena" in current context.
gef> heap bins unsorted
---------------------------------------[ Information on Unsorted Bin of arena 'main_arena' ]---------------------------------------
Python Exception <class 'gdb.error'> No symbol "main_arena" in current context.:
Error occurred in Python command: No symbol "main_arena" in current context.
gef> heap bins small
----------------------------------------[ Information on Small Bins of arena 'main_arena' ]----------------------------------------
Python Exception <class 'gdb.error'> No symbol "main_arena" in current context.:
Error occurred in Python command: No symbol "main_arena" in current context.
gef> heap bins large
----------------------------------------[ Information on Large Bins of arena 'main_arena' ]----------------------------------------
Python Exception <class 'gdb.error'> No symbol "main_arena" in current context.:
Error occurred in Python command: No symbol "main_arena" in current context.
@hugsy
Copy link
Owner

hugsy commented Oct 26, 2016

Erf.... 😭

@hugsy hugsy added the bug label Oct 26, 2016
@Grazfather
Copy link
Collaborator Author

Welcome back from vacation! 😂

@hugsy
Copy link
Owner

hugsy commented Oct 31, 2016

On Wed, Oct 26, 2016 at 10:36:13AM -0700, Grazfather wrote:

Welcome back from vacation! 😂

Not just yet, but soon :'(
This time off gave me a ton of new ideas for gef :)

hugsy

"Computer science is no more about computers than astronomy is about telescopes." - E. Dijkstra

hugsy pushed a commit that referenced this issue Nov 8, 2016
@Grazfather
Copy link
Collaborator Author

Is this fixed?

@hugsy
Copy link
Owner

hugsy commented Nov 22, 2016

It should, did you get a chance to try?

@Grazfather
Copy link
Collaborator Author

If i was smarter i would have written down or saved the file that had this issue. I'll repro it tonight though.

@Grazfather
Copy link
Collaborator Author

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants