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