Command Line Switches

This section describes the command line switches that are currently supported by Pin.

Pin switches should appear after the pin command, but before the -t <tool> option. The following Pin switches are supported:

    -follow_execv        Execute all processes spawned by the execv class
                         system calls with Pin.

    -help                Print the help message. 

    -pause_tool <n>      Pause and print the PID so the debugger can be attached
                         after the tool is loaded.  Processing will resume after "n"
                         seconds.

Pin also supports the following tool switches. Tool switches should be placed after the tool name, but before the double dash ("--").

     -discard_line_info <module name>   Discard line information for specific module.
                                        Module name should be a short name without path,
                                        and not a symbolic link

     -discard_line_info_all             Discard line information for all modules.

     -help                              Print the help message.

     -short_name                        Use the shortest name for the RTN. Names with
                                        version substrings are preferred over the same
                                        name without the substring.

     -use_dynsym                        Include dynamic symbols when finding function names.

If you want to add your own command line options to your tool, please see KNOBS.


Generated on Thu May 15 03:23:37 2008 for Pin by  doxygen 1.4.6