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

Fix got command #531

Merged
merged 2 commits into from
Sep 20, 2018
Merged

Fix got command #531

merged 2 commits into from
Sep 20, 2018

Conversation

GrosQuildu
Copy link
Contributor

fixes #517
got addresses were calculated (on PIE binaries only) as bin_text_base + offset, where bin_text_base was entrypoint aligned down to 0x1000
So when entrypoint was further than 0x1000 from real base addr, the command was wrong

Also small fix in memory.find_lower_boundary

Copy link
Member

@disconnect3d disconnect3d left a comment

Choose a reason for hiding this comment

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

Thanks o/ !

@disconnect3d disconnect3d merged commit 2f36260 into pwndbg:dev Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

GOT command returns wrong addresses
2 participants