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

Resolve undefined names in retdec.py #5

Merged
merged 1 commit into from
Apr 13, 2018
Merged

Conversation

cclauss
Copy link

@cclauss cclauss commented Apr 9, 2018

NameError discovered in hugsy/gef#251 (comment)

Partial fix to #4


import gdb

from gef import (GEF_TEMP_DIR, PYTHON_MAJOR, current_arch, err, get_arch,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just hcange the script to use gef.<name>?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fewer lines changed, more flexibility when refactoring, shorter lines that are easier to read and faster runtime (avoid the dots).

@hugsy hugsy merged commit d0bd392 into hugsy:master Apr 13, 2018
@cclauss cclauss deleted the patch-2 branch April 13, 2018 22:38
cclauss pushed a commit to cclauss/gef that referenced this pull request Apr 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants