Skip to content

Commit

Permalink
Update the API of binexport 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
patacca committed Nov 15, 2023
1 parent b0e48f0 commit 9617624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bindiff/bindiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def _convert_program_classes(p: ProgramBinExport) -> None:
f.__class__ = FunctionBinDiff
for bb in f.values():
bb.__class__ = BasicBlockBinDiff
for i in bb.values():
for i in bb.uncached_instructions.values():
i.__class__ = InstructionBinDiff

def _map_diff_on_programs(self) -> None:
Expand Down Expand Up @@ -145,7 +145,7 @@ def _map_diff_on_programs(self) -> None:
bb_f1.algorithhm = bb_f2.algorithm = bb_match.algorithm

# Iterate instructions to map them
for ins_f1 in bb_f1.values():
for ins_f1 in bb_f1.uncached_instructions.values():
# Instruction is matched
if ins_f1.addr in self.primary_instruction_match:
# Within the context of the current function
Expand Down

0 comments on commit 9617624

Please sign in to comment.