Skip to content

Is it possible to only disassemble functions at specific address? #4280

Answered by bpotchik
ChiChou asked this question in API
Discussion options

You must be logged in to vote

This is possible however the analysis hold must be left in the enabled state during the entire process.

>>> bv.analysis_progress
<progress: Hold>
>>> func = bv.get_function_at(here)
>>> len(func.basic_blocks)
0
>>> func.request_advanced_analysis_data()
>>> len(func.basic_blocks)
5

With the analysis hold enabled, the top level analysis pipeline remains in the hold state and no other functions are analyzed. This allows manual analysis of a small subset of the binary. It's worth noting that disassembly, LLIL, MLIL, and HLIL are all generated for the function in the default analysis mode. By adjusting the analysis.mode setting, it is possible to limit the single function analysis to just dis…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ChiChou
Comment options

Answer selected by psifertex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants