The pintenet
pintool is a proof-of-concept tracer that runs ontop of the Intel Pin DBI framework. It can generate a human-readable execution trace, compatible with Tenet
This pintool is labeled only as a prototype, it has not been tested robustly.
this version fixed the incorrect record of memory write while called memcpy or memmove
The original version will miss the first few bytes while calling these functions.
There are two additional parameters that can be used to configure the pintool.
-w <binary_name>
Whitelist which modules should be traced in the process- e.g.
-w calc.exe
, or-w calc.exe,kernel32.dll
- e.g.
-o <log_prefix>
Specify the prefix / name to use for the generated log files
If no -w
arguments are supplied, the pintool will trace all loaded images.
To compile the pintool, you first will need to download and extract Pin.
Follow the build instructions below for your respective platform.
On Linux, one can compile the pintool using the following commands.
# Location of this repo / pintool source
cd ~/tenet/tracers/pin
# Location where you extracted Pin
export PIN_ROOT=~/pin
export PATH=$PATH:$PIN_ROOT
make
make TARGET=ia32
- Export the pin directory
- Install Visual Studio 2022
- Run build.bat