Skip to content

Commit

Permalink
better way to set writes_memory in lift_set_field
Browse files Browse the repository at this point in the history
  • Loading branch information
blattm committed Dec 7, 2023
1 parent 31ba475 commit bd9c45b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decompiler/frontend/binaryninja/handlers/assignments.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def lift_set_field(self, assignment: mediumlevelil.MediumLevelILSetVarField, is_
offset=assignment.offset,
member_name=struct_variable.type.get_member_name_by_offset(assignment.offset),
operands=[struct_variable],
writes_memory=assignment.ssa_memory_version + 1,
writes_memory=assignment.dest.version,
)
value = self._lifter.lift(assignment.src)
# case 2 (contraction):
Expand Down

0 comments on commit bd9c45b

Please sign in to comment.