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

Be able to see which line of decompiled code belongs to each line of assembly #7160

Open
H-A-M-G-E-R opened this issue Nov 7, 2024 · 3 comments
Assignees
Labels
Feature: Decompiler Status: Triage Information is being gathered

Comments

@H-A-M-G-E-R
Copy link

Sometimes, Ghidra re-orders if/else statements reversed from the original assembly order or out-of-order switch statements have their order changed when decompiled
so i need to know which line of decompiled code corresponds to lines of assembly

@ryanmkurtz
Copy link
Collaborator

Normally i just highlight the lines of interest in the Decompiler, and they also get highlighted in the Listing. Does that work for you here?

@ryanmkurtz ryanmkurtz added the Status: Waiting on customer Waiting for customer feedback label Nov 7, 2024
@Wall-AF
Copy link

Wall-AF commented Nov 7, 2024

Normally i just highlight the lines of interest in the Decompiler, and they also get highlighted in the Listing. Does that work for you here?

It most certanly doesn't work consistantly for my Borland C++ (v. 4.XX) files!

Also, I've proved that the order changes Ghidra makes changes the assembly the original compiler produces.

@ryanmkurtz ryanmkurtz added Feature: Decompiler Status: Triage Information is being gathered and removed Status: Waiting on customer Waiting for customer feedback labels Nov 7, 2024
@H-A-M-G-E-R
Copy link
Author

So, is there an extension to manipulate the decompiler into follow the same order as the assembly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Decompiler Status: Triage Information is being gathered
Projects
None yet
Development

No branches or pull requests

4 participants