Skip to content

Commit 1193f5b

Browse files
committed
remove undeclared Addr type
1 parent 754da17 commit 1193f5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bindiff/file.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ def __init__(self, file: Union[Path, str], permission: str = "ro"):
120120

121121
# Instruction matches
122122
# {inst_addr : {match_func_addr : match_inst_addr}}
123-
self.primary_instruction_match: dict[Addr, dict[Addr, Addr]] = {}
124-
self.secondary_instruction_match: dict[Addr, dict[Addr, Addr]] = {}
123+
self.primary_instruction_match: dict[int, dict[int, int]] = {}
124+
self.secondary_instruction_match: dict[int, dict[int, int]] = {}
125125
self._load_instruction_match(self.db.cursor())
126126

127127
@property

0 commit comments

Comments
 (0)