basicthinker / Sexain-MemAddrTrace

A simple but optimized Pin tool (Pintool) to collect memory access trace. Records are buffered and compressed before being outputted to a compact binary file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sexain-MemAddrTrace

A simple but optimized Pin tool (Pintool) to collect memory access trace. Records are buffered and compressed before outputted to a compact binary file.

Usage

To make Pintool (on Linux):

$ make PIN_ROOT=<path to Pin kit> obj-intel64/MemAddrTrace.so

To make trace parser and analyser:

$ make -f makefile.stats

To run an application with Pintool:

$ pin -t obj-intel64/MemAddrTrace.so -- <app>

To attach Pintool to a running process (note the full path):

$ pin -pid <process ID> -t <full path>/MemAddrTrace.so

More info about Pin can be found in here.

About

A simple but optimized Pin tool (Pintool) to collect memory access trace. Records are buffered and compressed before being outputted to a compact binary file.


Languages

Language:C++ 62.9%Language:C 24.7%Language:Shell 9.0%Language:TeX 1.9%Language:Makefile 1.5%