Skip to content

Commit

Permalink
Handle vsa simplifiers returning None
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin committed Oct 11, 2024
1 parent 2752cde commit 4eb8a8f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion claripy/vsa_simplifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,7 @@ def simplify_bvset(bvset: BVSet) -> BVSet:
if bvset.op not in vsa_simplifications:
return bvset

return vsa_simplifications[bvset.op](*bvset.args)
simplified = vsa_simplifications[bvset.op](*bvset.args)
if simplified is not None:
return simplified
return bvset

0 comments on commit 4eb8a8f

Please sign in to comment.