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

[ValueError@identity_elimination.py:278] ValueError: There are at least two definitions in the identity group var_58#0 = var_58#0 + (&(var_58#0)), var_58#0. #390

Open
bugfinder-bot opened this issue Feb 26, 2024 · 2 comments · May be fixed by #413
Assignees
Labels
bug Something isn't working bugfinder

Comments

@bugfinder-bot
Copy link
Collaborator

What happened?

  File "/opt/dewolf/decompiler/util/bugfinder/bugfinder.py", line 201, 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 114, in run
    raise e
  File "/opt/dewolf/decompiler/pipeline/pipeline.py", line 107, in run
    instance.run(task)
  File "/opt/dewolf/decompiler/pipeline/dataflowanalysis/identity_elimination.py", line 313, in run
    variable_replacer.replace_variables(identity_group, identity_graph.find_replacement_variable_of_group(identity_group))
  File "/opt/dewolf/decompiler/pipeline/dataflowanalysis/identity_elimination.py", line 259, in replace_variables
    self._handle_definitions(replacees, replacement)
  File "/opt/dewolf/decompiler/pipeline/dataflowanalysis/identity_elimination.py", line 278, in _handle_definitions
    raise ValueError(message)

Error class ValueError@identity_elimination.py:278 contains 8 cases.

How to reproduce?

python decompile.py 4a89c3676dd86531c1fefb4e76d49cc31dc07a1a68c149dd08967e6fd7f6135a sub_438116 --debug

sample: 4a89c3676dd86531c1fefb4e76d49cc31dc07a1a68c149dd08967e6fd7f6135a
case: https://bugfinder.seclab-bonn.de/case/25759/
dewolf commit: b26c6ed
Binaryninja version: 3.5.4526

@bugfinder-bot bugfinder-bot added bug Something isn't working bugfinder labels Feb 26, 2024
@ebehner ebehner assigned ebehner and unassigned ebehner Feb 26, 2024
@NeoQuix NeoQuix self-assigned this Apr 29, 2024
@NeoQuix
Copy link
Collaborator

NeoQuix commented Jun 5, 2024

/cib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working bugfinder
Projects
None yet
3 participants