This package generates instruction traces from 32-bit x86 binaries using the Pin binary instrumentation tool.
- Genuine Intel CPU (AMD CPUs, even if they support x86, are known to cause issues with Pin).
- Pin binary instrumentation tool: Download Link
- Edit makefile to set PIN_ROOT variable to the root of your Pin installation:
PIN_ROOT = [Your Pin installation root]
- (Optional) Edit makefile.rules to set TRACED_APP_ROOTS variable to your list of traced apps:
TRACED_APP_ROOTS := linked-list array [any additional apps with corresponding .cpp source code]
- (Optional) Try building the instruction tracing Pin tool:
make build
- Generate traces from TRACED_APP_ROOTS:
The "runs" target automatically builds the Pin tool and the app binaries before running the app binaries with the Pin tool instrumentation. All the traces are generated under the traces/ folder.
make runs