Closed mari-mari closed 1 year ago
File "/home/mry/.binaryninja/plugins/dewolf/decompiler/structures/pseudo/instructions.py", line 141, in requirements
return self._value.requirements
AttributeError: 'NoneType' object has no attribute 'requirements'
seems like a lifter issue. Let me know if you can pinpoint the function in question.
Solving that particular crash is another issue by itself. The subject of the current one is to prevent the complete binary decompilation crash due to crash when decompiling single function.
Still reproducible for the latest version, 3.1.3469
.
/cib
Branch issue-111-Headless_decompilation_of_a_complete_binary_fails created!
What happened?
When decompiling a complete binary from the command line, we output decompiled code for each of the functions in that binary.
In case decompilation of even a single function fails, dewolf crashes completely. Does not happen when decompiling each function separately (passing function name).
What we actually want is decompiler output for all successfully decompiled functions. Error message should be printed in case dewolf fails to decompile that function.
For instance, something like this should be great:
How to reproduce?
Decompilation of a complete binary fails:
Decompilation of a single function from that binary succeeds:
Affected Binary Ninja Version(s)
3.0.3233