- Main Page
- Modules
- Classes

- Search for |

# FOLLOW_CHILD

## Classes

class | INSTLIB::FOLLOW_CHILD

## Functions

| INSTLIB::FOLLOW_CHILD::FOLLOW_CHILD ()
VOID | INSTLIB::FOLLOW_CHILD::SetPrefix (CHAR *prefix[])
VOID | INSTLIB::FOLLOW_CHILD::Activate ()

## Detailed Description

Instrumentation for injecting pin in child processes. Pin will always be in the child and parent after a fork. By default, pin will not be in a process after an exec system call. This tool intercepts the exec system call and inserts a Pin command line prefix so pin will also be present after exec.

## Function Documentation

VOID INSTLIB::FOLLOW_CHILD::Activate | ( |  | ) | `[inline, inherited]`

| Activate, must be called before PIN_StartProgram

INSTLIB::FOLLOW_CHILD::FOLLOW_CHILD | ( |  | ) | `[inline, inherited]`

| Constructor

VOID INSTLIB::FOLLOW_CHILD::SetPrefix | ( | CHAR * | prefix[] | ) | `[inline, inherited]`

| Set the prefix to be used for the next child. The prefix is the full pathname to the pin binary followed by everything up to and including the --. It is stored as array of pointers to tokens. Most users can simply use the argv array that is passed to the main of the tool.