Improved extraction of function-level files (i.e. bytes, bytes-masked, func-cfg)#60
Open
valbucci wants to merge 36 commits into
Open
Improved extraction of function-level files (i.e. bytes, bytes-masked, func-cfg)#60valbucci wants to merge 36 commits into
valbucci wants to merge 36 commits into
Conversation
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.
Various changes improve the performance of bin2ml when extracting function-level information. These performance issues were barely noticeable on small files, but binaries with tens of thousands of functions would consume an unnecessary amount of time and resources. The improvements of this PR are as follows:
s 0xdeadbeefagfjagfj @ 3735928559get_function_listandsetup_function_listaflj.setup_function_list.get_function_listand it will take care of runningsetup_function_listif necessary, otherwise, it will return the pre-existing list.path/to/bin2ml_output/binary-name_bytes/00-func-index_bytes.csv.bin2ml extract --min-basic-blocks 5 -f path/to/bin -o /path/to/bin2ml_output/ -m bytesto extract the bytes of all functions with at least 5 basic blocks.