Skip to content

Commit

Permalink
Use original op in CCallMultivaluedException to make _perform_vex_exp…
Browse files Browse the repository at this point in the history
…r_CCall happy (angr#2977)
  • Loading branch information
gkso authored Nov 22, 2021
1 parent c8e763d commit cb9ea67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions angr/engines/vex/claripy/ccall.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ def boolean_extend(O, a, b, size):
def op_concretize(op):
if type(op) is int:
return op
op = op.ite_excavated
if op.op == 'If':
cases = list(claripy.reverse_ite_cases(op))
op_e = op.ite_excavated
if op_e.op == 'If':
cases = list(claripy.reverse_ite_cases(op_e))
if all(c.op == 'BVV' for _, c in cases):
raise CCallMultivaluedException(cases, op)
if op.op != 'BVV':
Expand Down

0 comments on commit cb9ea67

Please sign in to comment.