Ghidra: Decompilation failure due to overlapping input varnodes

Created on 29 Jun 2019  路  2Comments  路  Source: NationalSecurityAgency/ghidra

Describe the bug
When decompiling the attached function, the decompiler fails with the error "Low-level Error: Overlapping input varnodes". I've attached the debug function decompilation output, which hopefully should be enough to replicate it, but i can upload the repo or other outputs as needed.

Hex-Rays does successfully decompile this function, the output of which i have also attached.

Attachments
Ghidra debug output
Hex-Rays decompilation output

Environment:

  • OS: Windows 10 Pro Version 1809
  • Java Version: 11.0.3
  • Ghidra Version: 9.0.4
Bug

Most helpful comment

Duplicating this. Here is a workaround patch. It should work either on a distribution (i.e. 9.0.4) or on a pull of the repo. For a linux distribution for example rrom the root direction
patch -p1 < ~/killedbycallpatch.txt

killedbycallpatch.txt

All 2 comments

Duplicating this. Here is a workaround patch. It should work either on a distribution (i.e. 9.0.4) or on a pull of the repo. For a linux distribution for example rrom the root direction
patch -p1 < ~/killedbycallpatch.txt

killedbycallpatch.txt

Implemented a more complete fix, which should be in master with the next update.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tambry picture tambry  路  3Comments

toor-de-force picture toor-de-force  路  3Comments

chibicitiberiu picture chibicitiberiu  路  3Comments

0x6d696368 picture 0x6d696368  路  3Comments

Merculous picture Merculous  路  3Comments