Improved function bytes extraction to JSON file with masks#55
Closed
valbucci wants to merge 76 commits into
Closed
Improved function bytes extraction to JSON file with masks#55valbucci wants to merge 76 commits into
valbucci wants to merge 76 commits into
Conversation
Fixed BinInfo bug due to optional BinEntry attributes
Input path matching
Improve file skipping
Option `--use-curl-pdb` set to false as default
Fixed path checking bug
Minor error handling in decomp and reg
Default to X86 architecture for ACFG generation
Bug fix NetworkX save to JSON
Contributor
Author
|
I accidentally tried to merge this PR into main. Fixing it now. |
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.
Radare2 v6.0.0 introduced a new command
p8fmj. This provides not only a function's raw bytes but some additional information as follows:This PR proposes a new implementation of the bytes extraction mode, which extracts all function's byte data with
p8fmj @@fand stores the dictionaries into an array which is then serialised and stored inside a single JSON file, instead of a folder.The functions
write_to_binandget_bytesare therefore no longer used. They are retained in case we intend to implement a different extraction mode for retro-compatibility.