File "/opt/dewolf/decompiler/util/bugfinder/bugfinder.py", line 190, in iter_function_reports
task_result = self.decompile(function, options)
File "/opt/dewolf/decompile.py", line 51, in decompile
pipeline.run(task)
File "/opt/dewolf/decompiler/pipeline/pipeline.py", line 109, in run
raise e
File "/opt/dewolf/decompiler/pipeline/pipeline.py", line 102, in run
instance.run(task)
File "/opt/dewolf/decompiler/pipeline/preprocessing/switch_variable_detection.py", line 91, in run
self._handle_switch_block(switch_block)
File "/opt/dewolf/decompiler/pipeline/preprocessing/switch_variable_detection.py", line 106, in _handle_switch_block
switch_expression = self.find_switch_expression(switch_instruction)
File "/opt/dewolf/decompiler/pipeline/preprocessing/switch_variable_detection.py", line 117, in find_switch_expression
raise ValueError("No switch variable candidate found.")
Error class ValueError@switch_variable_detection.py:117 contains 47 cases.
What happened?
Error class
ValueError@switch_variable_detection.py:117
contains 47 cases.How to reproduce?
sample: 146c6f32f783030acc14eca78d340b6c5bb57733ff1c032c1ed78b96d0148c21 case: https://bugfinder.seclab-bonn.de/case/1799/ dewolf commit: 1c34ffef Binaryninja version:
3.4.4271