You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a function-level coverage overview widget that provides aggregate statistics and analysis capabilities beyond the current instruction-level painting.
Current Limitations
Currently, the debugger only paints coverage at the instruction level in the disassembly view. While useful, this makes it difficult to:
Identify which functions have the most/least coverage
Get an overall coverage percentage
Prioritize which uncovered code to analyze
Export coverage statistics for reporting
Compare coverage across different functions
Proposed Feature
Add a "Coverage Overview" widget with a sortable table displaying:
Columns
Function Name - Demangled name with address
Blocks Executed - e.g., "15/23" (executed/total)
Instructions Executed - e.g., "87/145"
Coverage % - Calculated from instructions executed
Execution Count - Total times instructions in this function executed
Complexity (optional) - Cyclomatic complexity if available
Capabilities
Sort by any column (find least covered, most complex, etc.)
Search/filter by function name
Double-click to navigate to function
Export to CSV/JSON
Color-coded rows based on coverage percentage
Show aggregate statistics (overall coverage %, total functions covered, etc.)
Benefits
Quick Assessment - Immediately see which functions need attention
Prioritization - Focus testing on high-complexity low-coverage functions
Reporting - Export coverage metrics for documentation/reports
Feature Request
Add a function-level coverage overview widget that provides aggregate statistics and analysis capabilities beyond the current instruction-level painting.
Current Limitations
Currently, the debugger only paints coverage at the instruction level in the disassembly view. While useful, this makes it difficult to:
Proposed Feature
Add a "Coverage Overview" widget with a sortable table displaying:
Columns
Capabilities
Benefits
Implementation Notes
m_executedInstructionCountsmapRelated Issues
Example UI (from similar tools)
Function-level coverage tables are a standard feature in coverage tools like:
The table would integrate naturally with Binary Ninja's dockable widget system.