Skip to content

Commit 06db6d2

Browse files
committed
Fixing block count issue
1 parent 8a76651 commit 06db6d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diffrays/analyzer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def analyze_binary(db_path: str, version: str, debug: bool = False):
3737
log.debug(f"Demangled Function: {name}")
3838

3939
# Convert generator to list for basic block count
40-
bb_count = len(list(db.functions.get_basic_blocks(func)))
40+
bb_count = db.functions.get_flowchart(func)
4141
signature = db.functions.get_signature(func)
4242
pseudo = db.functions.get_pseudocode(func)
4343
if not pseudo:

0 commit comments

Comments
 (0)