Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 130 #813

Merged
merged 8 commits into from
Oct 27, 2021
Merged

Fix 130 #813

merged 8 commits into from
Oct 27, 2021

Conversation

williballenthin
Copy link
Collaborator

@williballenthin williballenthin commented Oct 26, 2021

record the layout of basic blocks within functions to enable the display of the containing function when a BB-scoped rule matches. stores this in .meta.analysis.layout.functions.0x401000.matched_basic_blocks = [0x401000, 0x401005, ...].

only captures the basic blocks that have a match. this increases the JSON document size of k32 from 3.4 to 3.6MB; capturing all BBs results in a 3.9MB document.

closes #130

Checklist

  • No documentation update needed

so bb can be associated with function in output.
only captures BBs that have a rule match,
otherwise, there might be too much data captured.
closes #130.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add bug fixes, new features, breaking changes and anything else you think is worthwhile mentioning to the master (unreleased) section of CHANGELOG.md. If no CHANGELOG update is needed add the following to the PR description: [x] No CHANGELOG update needed

@github-actions github-actions bot dismissed their stale review October 26, 2021 21:11

CHANGELOG updated or no update needed, thanks! 😄

@williballenthin williballenthin marked this pull request as ready for review October 26, 2021 21:32
@williballenthin williballenthin added the enhancement New feature or request label Oct 26, 2021
Copy link
Collaborator

@mike-hunhoff mike-hunhoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wonderful! thank you for all your work again @williballenthin! LGTM 🚀

@williballenthin williballenthin merged commit 26ac21b into master Oct 27, 2021
@williballenthin williballenthin deleted the fix-130 branch October 27, 2021 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

include reference to function that contains a given bb in json doc
2 participants