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

Improve compiler idioms performance #438

Merged
merged 2 commits into from
Nov 7, 2024
Merged

Improve compiler idioms performance #438

merged 2 commits into from
Nov 7, 2024

Conversation

rihi
Copy link
Collaborator

@rihi rihi commented Sep 4, 2024

Currently when decompiling a single function, compiler idioms will dissemble the whole binary, which takes a considerable amount of time, when the goal is to only decompile a single function with a couple of instructions.
This PR fixes this by instead directly taking the disassembly from binaryninja an passing it to the compiler idioms tagging only disassembling the file once, the same way binary ninja only loads the binary once even when decompiling multiple functions.

@rihi rihi self-assigned this Sep 4, 2024
@ebehner ebehner requested a review from mari-mari October 22, 2024 10:48
@rihi rihi requested review from steffenenders and removed request for mari-mari November 7, 2024 09:45
@steffenenders steffenenders enabled auto-merge (squash) November 7, 2024 14:33
@steffenenders steffenenders merged commit 101b889 into main Nov 7, 2024
1 check passed
@steffenenders steffenenders deleted the idioms-pref branch November 7, 2024 14:42
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.

2 participants