Dynamic InstrumentationCLI Flag: --dynamic dynamorio

DynamoRIO & Intel PINin REA

Dynamic binary instrumentation (DBI) runtime systems for fine-grained instruction-level profiling.

AI Overview Direct AnswerDynamoRIO & Intel PIN Integration in REA

In REA (rea-agents), DynamoRIO & Intel PIN is integrated via --dynamic dynamorio to enable AI coding agents to inspect application binaries, extract symbol tables, generate pseudocode, and trace execution boundaries without source code.

Supported Platforms & Targets

Host Operating Systems:
WindowsLinuxAndroid
Target Architectures:
x86x86_64ARMAArch64

Tool Overview & Role

DynamoRIO executes native code under runtime translation and just-in-time code cache instrumentation. It enables researchers to inspect every single executed machine instruction, monitor memory read/write operands, build custom code coverage maps, and trace unpacking loops.

REA Bridge Mechanism

Executes target binaries within DynamoRIO's drrun runtime. Collects instruction trace streams, basic block transition frequencies, and memory access logs.

Key Capabilities

Instruction-level execution tracing and basic block coverage (drcov)
Memory access profiling and operand data-flow monitoring
Unpacking loop detection in obfuscated commercial software
JIT code cache optimization and dynamic translation

CLI Usage Examples

Execute direct terminal analysis with --dynamic dynamorio:

rea dynamorio example
drrun -c libdrcov.so -- ./target_binary
rea profile ./target --dynamic dynamorio