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

ELF x64 Decompilation gives empty loop #6375

Open
k4lizen opened this issue Apr 2, 2024 · 0 comments
Open

ELF x64 Decompilation gives empty loop #6375

k4lizen opened this issue Apr 2, 2024 · 0 comments
Assignees
Labels
Feature: Decompiler Status: Triage Information is being gathered

Comments

@k4lizen
Copy link

k4lizen commented Apr 2, 2024

Describe the bug
When the program is decompiled, an empty loop is shown, while the assembly shows that it is not empty.

To Reproduce
Steps to reproduce the behavior:

  1. Analyze the x86_64 ELF file.zip
  2. Look at the main function

Expected behavior
I expect it to either fill the loop with appropriate instructions, or notify that it is not empty.

Screenshots
The loop in question:
image
As a comparison, the three other default decompilers from dogbolt (angr, BinaryNinja, HexRays) give a better (and accurate!) output:
image

Context
A similar issue was closed #6275 . Though the solution of changing the return value of the function is not really a solution, and more of a workaround (and in any case, doesn't apply here).

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

3 participants