-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Closed
Labels
Milestone
Description
Describe the bug
If you import an ELF binary with the format as Executable and Linking Format (ELF) and then export that binary, it creates a corrupted binary that segfaults.
However, if you import it as "Raw binary" and manually select the language, then the exported file works as expected.
To Reproduce
Steps to reproduce the behavior:
- Import the
cpELF binary into your project (default settings). - Right-Click it and click
Export... - Select
Binaryas the format. - Export it.
- Make the exported binary executable.
- Run the exported binary.
Expected behavior
The exported binary should work instead of segfaulting (happens with multiple binaries that I've tested).
Screenshots
Default:

Import as Raw binary:

Environment (please complete the following information):
- OS: Kubuntu 18.10
- Ghira Version 9.0
Additional context
Happens with both i386 and x86_64 binaries.
Reactions are currently unavailable