From d10562ef1fe6097da459daceebe0bc96a20f46f7 Mon Sep 17 00:00:00 2001 From: shootduck Date: Fri, 12 Apr 2024 14:18:48 +0800 Subject: [PATCH] Fix a logical error in retrieving unmatched basic block --- src/bindiff/bindiff.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bindiff/bindiff.py b/src/bindiff/bindiff.py index 98418a6..793cd2c 100644 --- a/src/bindiff/bindiff.py +++ b/src/bindiff/bindiff.py @@ -145,8 +145,8 @@ def _unmatched_bbs( # The block has been match but in another function thus unmatched here if function.addr not in maps: bbs.append(bb) - else: - bbs.append(bb) + else: + bbs.append(bb) return bbs def primary_unmatched_basic_block(