Add Execution Count display in code coverage anaylsis render layer#983
Merged
xusheng6 merged 2 commits intoVector35:devfrom Jan 26, 2026
Merged
Conversation
Member
Contributor
Author
|
fixing conflicts right now |
…he code coverage render layer
9774622 to
104c45d
Compare
Contributor
Author
|
I think its good to go. Let me know what you think :) |
- Add Python bindings for get_instruction_execution_count() - Fix potential crash in High-Level IL rendering (empty tokens check) - Change execution count from size_t to uint32_t (reduce file size) - Remove redundant m_executedInstructions set for 50% performance gain - Optimize render layer to use single lookup instead of two - Update version 1 file loading to populate counts map Performance improvements: - Analysis: 50% faster (1 hash op instead of 2 per event) - Rendering: 50% faster (1 lookup instead of 2 per line) - Memory: 20-30% less (removed redundant set) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Member
|
I've made several improvements to this PR: Added Python API
Fixed Potential Crash
Optimized File Format
Performance Optimization
Backward Compatibility
All changes are committed and pushed to |
Member
|
Hi @NicoleFaye , thanks for the PR! I made some changes on top of it as well |
Member
|
@NicoleFaye I have triggered a new binja build with both TTD changes applied. It would be available soon |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Resolves #982
Adds display in code coverage render layer that displays the number of times a line was executed as an annotation of a number in brackets.