fkie-cad / dewolf

A research decompiler implemented as a Binary Ninja plugin.
GNU Lesser General Public License v2.1
176 stars 9 forks source link

RuntimeError: 'NoneType' object has no attribute 'getInstructions' #239

Closed mm4rks closed 1 year ago

mm4rks commented 1 year ago

What happened?

  File "/opt/dewolf/decompiler/util/bugfinder/bugfinder.py", line 164, in iter_function_reports
    task_result = self.decompile(function, options)
  File "/opt/dewolf/decompile.py", line 50, in decompile
    task = self._frontend.create_task(function, task_options)
  File "/opt/dewolf/decompiler/frontend/binaryninja/frontend.py", line 128, in create_task
    tagging.run()
  File "/opt/dewolf/decompiler/frontend/binaryninja/tagging.py", line 30, in run
    raise RuntimeError(e)

How to reproduce?

python decompily.py 7690a63b03116527b8f3aa95625d36c44250bcbc3eb1d2f47ca275f640dc0bf4 sub_2a90 --debug

Affected Binary Ninja Version(s)

3.4.4271

mm4rks commented 1 year ago

/cib

github-actions[bot] commented 1 year ago

Branch issue-239-RuntimeError_NoneType_object_has_no_attribute_getInstructions created!

mm4rks commented 1 year ago

image

Seems to be an error from compiler-idioms.

mm4rks commented 1 year ago

duplicate https://github.com/fkie-cad/dewolf/issues/254