This folder contains 8 memory tracing tools for Intel® PIN, they implement all combinations of:
- capture read/write memory access,
- get address/1-byte-content of memory access, and
- output in binary/text format.
Since these tools are PIN tools, you will need to download and install PIN.
Copy this directory into PIN-install-dir/source/tools/MemoryTracingTools
, enter it, and run
$ make
Run desired tool with desired command, e.g.,
$ pin -t PIN-install-dir/source/tools/MemoryTracingTools/obj-intel64/read_addr_txt.so -- your_command with possible arguments
which acquires memory addresses of all read instructions and saves the trace in text format into the current directory. Filenames of traces follow this format: rw_ac(.txt)
, where
rw
is eitherread
orwrite
,ac
is eitheraddr
orcnt
, and.txt
is used for text format only.