Skip to content

Commit 4daf05f

Browse files
committed
Fix CONST_PTR
1 parent c25e263 commit 4daf05f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deflatten.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def resolve_cfg_link(bv, mlil, il, backbone):
188188
bb = bv.get_basic_blocks_at(il.address)[0]
189189

190190
# Unconditional jumps will set the state to a constant
191-
if il.src.operation == MediumLevelILOperation.MLIL_CONST:
191+
if il.src.operation == MediumLevelILOperation.MLIL_CONST or il.src.operation == MediumLevelILOperation.MLIL_CONST_PTR:
192192
return CFGLink(bb, backbone[il.src.constant], def_il=il)
193193

194194
# Conditional jumps choose between two values

0 commit comments

Comments
 (0)