Skip to content

Commit d8666b9

Browse files
committed
Fixing the block counts
1 parent 287f551 commit d8666b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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 = db.functions.get_flowchart(func)
40+
bb_count = len(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)