Skip to content

doct0r3/pintracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pintenet

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.

FIX

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.

Additional parameters

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
  • -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.

Compilation

To compile the pintool, you first will need to download and extract Pin.

Follow the build instructions below for your respective platform.

Building for Linux

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

Building for Windows

  1. Export the pin directory
  2. Install Visual Studio 2022
  3. Run build.bat

About

A Fixed version of pintenet tracer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published