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 wrong decompilation, vpxorq instruction not detected #6458

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

ELF x64 wrong decompilation, vpxorq instruction not detected #6458

k4lizen opened this issue Apr 23, 2024 · 0 comments
Assignees
Labels
Feature: Processor/x86 Status: Internal This is being tracked internally by the Ghidra team

Comments

@k4lizen
Copy link

k4lizen commented Apr 23, 2024

Decompile the binary attached with ghidra.
thewilderness.zip
See ghidra output for function run_code:
image
See dogbolt comparison:
image
See gdb disassembly:
image

Conclusion:
ghidra is cutting of because of the vpxorq instruction.

Environment (please complete the following information):

  • OS: Linux kali 6.6.9-amd64
  • Java Version: 17.0
  • Ghidra Version: 11.0
  • Ghidra Origin: apt
@GhidorahRex GhidorahRex self-assigned this Apr 24, 2024
@GhidorahRex GhidorahRex added Feature: Processor/x86 Status: Internal This is being tracked internally by the Ghidra team labels Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Processor/x86 Status: Internal This is being tracked internally by the Ghidra team
Projects
None yet
Development

No branches or pull requests

2 participants