File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ description = "Python wrapper to manipulate bindiff files"
8
8
authors = [{
name =
" Robin David" ,
email =
" [email protected] " }]
9
9
license = { text = " Apache Software License (Apache License, Version 2)" }
10
10
readme = { file = " README.md" , content-type = " text/markdown" }
11
- version = ' 0.2.1 '
11
+ version = ' 0.2.2 '
12
12
requires-python = " >=3.9"
13
13
dependencies = [
14
14
" python-magic; os_name!='nt'" ,
Original file line number Diff line number Diff line change @@ -242,8 +242,9 @@ def iter_instruction_matches(
242
242
"""
243
243
insts = []
244
244
for addr , instr in block1 .instructions .items ():
245
- if addr2 := self .primary_instruction_match .get (addr ):
246
- insts .append ((instr , block2 .instructions [addr2 ]))
245
+ if inst_map := self .primary_instruction_match .get (addr ):
246
+ if addr2 := inst_map .get (block1 .function .addr ):
247
+ insts .append ((instr , block2 .instructions [addr2 ]))
247
248
return insts
248
249
249
250
def get_match (
You can’t perform that action at this time.
0 commit comments