This document describes all supported command-line options for the pintool.
Options are passed as Intel Pin knobs using the -pintool namespace and must be specified before the -- separator.
Specifies the output file used by the pintool. All generated traces, logs, and statistics are written to this file.
- Default:
out
Restricts instrumentation to a specific set of routines.
- The value is a semicolon-separated list of routine names
- If empty or omitted, all routines are instrumented
Example:
-f main;malloc;free
Skips the first n dynamically executed instructions before instrumentation begins.
- Useful for ignoring startup and initialization code
- Default:
0
Controls whether executed instructions are printed.
0— Disabled1— Enabled- Default:
1
Controls indentation of printed trace entries based on call depth.
| Value | Description |
|---|---|
0 |
No indentation |
1 |
Indent using spaces |
2 |
Indent using tabs |
- Default:
1
Enables counting of executed opcodes and reports aggregate statistics.
0— Disabled1— Enabled- Default:
0
Logs memory write operations performed by instructions.
0— Disabled1— Enabled- Default:
1
Logs architectural register write operations.
0— Disabled1— Enabled- Default:
1
Enables logging of system call invocations.
0— Disabled1— Enabled- Default:
0
Prints function argument registers at routine entry, according to the platform ABI.
0— Disabled1— Enabled- Default:
0
- Enabling instruction-level printing and memory/register tracking may significantly increase trace file size.
- Combining
-skipwith routine filtering (-f) can help focus the analysis on relevant execution phases.