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

Add re-compilation feature to decompilation view #729

Open
mborgerson opened this issue Aug 7, 2022 · 0 comments
Open

Add re-compilation feature to decompilation view #729

mborgerson opened this issue Aug 7, 2022 · 0 comments
Labels

Comments

@mborgerson
Copy link
Member

mborgerson commented Aug 7, 2022

To achieve decompilation of a binary closer, or possibly identical, to original source and to discover subtle bugs in re-implementation, I've automated a simple workflow of adjusting source + compiling + binary diffing. I think this could make for a useful angr-management feature.

A new option to the pseudocode view would be added that allows the user to enable re-compilation and specify compiler options. Whenever a tweak is made that prompts pseudocode regeneration, it is automatically recompiled and a diff against the original is displayed.

What my script displays: Screenshot from 2022-08-06 16-43-13

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

Successfully merging a pull request may close this issue.

1 participant