Skip to content

Latest commit

 

History

History
34 lines (31 loc) · 758 Bytes

File metadata and controls

34 lines (31 loc) · 758 Bytes

pintools

A collection of PIN tools that I've created.

Download PIN source from Intel's website. Unzip to a directory that I'll call $PINDIR.

Building

  • copy to pin source tree:
cp -R HeapVerifer $PINDIR/source/tools
  • 32-bit
cd $PINDIR/source/tools/HeapVerifier
make TARGET=ia32 clean
make TARGET=ia32
  • 64-bit
cd $PINDIR/source/tools/HeapVerifier
make TARGET=intel64 clean
make TARGET=intel64

Running

  • 32-bit
$PINDIR/pin -t $PINDIR/source/tools/HeapVerifier/obj-ia32/HeapVerifier.so -- ./buggyapp
  • 64-bit
$PINDIR/pin -t $PINDIR/source/tools/HeapVerifier/obj-intel64/HeapVerifier.so -- ./buggyapp