SkillAgentSearch skills...

ARMTracer

ARM tracer to generate a compressed trace file that contains all the instructions executed with various information.

Install / Use

/learn @sawansib/ARMTracer
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ARM TRACE GENERATOR

Trace Format

It generates the trace with the following format:-
[L|LA]<PC_diff_in_decimal>(d<dep>)(m<mem_dep>) <hex_addr> <size>
[S|SA]<PC_diff_in_decimal>(d<dep>)(m<mem_dep>)(a<addr_dep>) <hex_addr> <size>
B<PC_diff_in_decimal>(d<dep>)(m<dep>)(t<target_addr>)(*)?
[A|M|D|Q|]<PC_diff_in_decimal>(d<dep>)(m<dep>)
Legend:
L=load, LA=load of atomic, S=store, SA=store of atomic,
B=conditional branch, A=fp_addsub, M=fp_mul, D=fp_div, Q=fp_sqrt, []=generic
d=reg dependence, m=mem dependence, a=addr dependence, t=target address, *=taken

Example:
2 A0 3d1 B2d2t-120* L5d1 fff0 4

Sawan Singh (singh.sawan@um.es) CAPS Group, University of Murcia, ES.

How to build?

mkdir build
cd build
cmake ../ARMTracer
make

How to use it?

drrun -c /path/to/build/bin/ARMTracer-v3.so -- binary

ARMTracer-v3.c is the latest version, kindly use it.

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated1y ago
Forks0

Languages

C

Security Score

60/100

Audited on May 13, 2024

No findings