Skip to content

Commit db98edb

Browse files
authored
Merge pull request #6 from zhao1412/shootduck
Fix a logical error in retrieving unmatched basic block
2 parents f063421 + d10562e commit db98edb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bindiff/bindiff.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ def _unmatched_bbs(
145145
# The block has been match but in another function thus unmatched here
146146
if function.addr not in maps:
147147
bbs.append(bb)
148-
else:
149-
bbs.append(bb)
148+
else:
149+
bbs.append(bb)
150150
return bbs
151151

152152
def primary_unmatched_basic_block(

0 commit comments

Comments
 (0)