libTriton  version 0.6 build 1375
INSERT_POINT

[python api] All information about the INSERT_POINT python namespace.

# Description

This namespace come from the pintool module. The INSERT_POINT namespace contains all kinds of insert points. An insert point is used to define callbacks at specific points during the execution.

# Python API - Items of the INSERT_POINT namespace

• INSERT_POINT.AFTER
Defines an insert point after the instruction processing. At this point, the instruction has been executed. The callback receives the Instruction class as argument.
• INSERT_POINT.BEFORE
Defines an insert point before the instruction processing. At this point, the IR and data flow were been setup. The callback receives the Instruction class as argument.
• INSERT_POINT.BEFORE_SYMPROC
Defines an insert point before the symbolic processing. Mainly used to setup and control the data flow as well as the taint spread. The callback receives the Instruction class as argument.
• INSERT_POINT.FINI
Defines an insert point at the end of the execution. The callback receives any argument.
• INSERT_POINT.ROUTINE_ENTRY
Defines an insert point at the entry of a specified routine. The callback receives a ThreadId as unique argument.
• INSERT_POINT.ROUTINE_EXIT
Defines an insert point at the exit of a specified routine. The callback receives a ThreadId as unique argument.
Defines an insert point when a new image is loaded. The callback receives an imagePath as first argument, an imageBase as second argument and an imageSize as third argument.
Defines an insert point when a signal occurs. The callback receives a ThreadId as first argument and a signalId as second argument.
Defines an insert point before each syscall processing. The callback receives a ThreadId as first argument and the STANDARD as second argument.
Defines an insert point after each syscall processing. The callback receives a ThreadId as first argument and the STANDARD as second argument.