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 failed section removal in objcopy #103

Merged
merged 3 commits into from
Jul 18, 2024
Merged

Fix failed section removal in objcopy #103

merged 3 commits into from
Jul 18, 2024

Conversation

mahaloz
Copy link
Owner

@mahaloz mahaloz commented Jul 18, 2024

Closes #99. The root cause was a corrupted section header, which seems to trigger only when connecting over a remote connection.

However, after fixing this bug I triggered a new one:

Python Exception <class 'NameError'>: name 'add_context_layout_mapping' is not defined
Error occurred in Python: name 'add_context_layout_mapping' is not defined

Which is a GEF bug. I've fixed it in hugsy/gef#1124, so after that lands, an updated GEF should work again on the case described in #99.

@mahaloz mahaloz merged commit 39379b0 into main Jul 18, 2024
@mahaloz mahaloz deleted the fix/bad_elf_sections branch July 18, 2024 19:38
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.

error when trying to initiate connection: Python Exception <class 'ValueError'>: embedded null character
1 participant