Static Analysis: The a Module
The Analysis (a
) Module is used to explore the contents of the binary. We use this to understand the contents of functions, function calls, cross-references, and more. This module drives our static analysis. Static analysis is analyzing the binary without running it. This is done by looking at the assembly instructions, the strings, and the symbols.
We will collect the following information using this module:
Cross-References
Functions and Calling Conventions
Variables (Local and Global)
This will be the heart of our disassembly process. We will use this information to understand the binary and the underlying source code.
Pre-Analysis
If you don't use flags to open the file, you will need to tell radare2
to analyze the binary. There are multiple levels of analysis listed under the aa
submodule:
In almost all scenarios, aaa
is more than plenty. By using the -A
flag, aaa
is automatically executed.
The Help Page
Last updated