Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d8666b9

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

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 = 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)

AltStyle によって変換されたページ (->オリジナル) /