Pin
Loading...
Searching...
No Matches
Modules
INS: Instruction Object

Modules

 Instrumentation API
 
 Inspection API for IA-32 and Intel(R) 64 instructions
 
 Generic modification API
 

Detailed Description

An INS represents an instruction. Can only be accessed at instrumentation time.

Iteration idioms:

// Forward pass over all instructions in bbl
for( INS ins= BBL_InsHead(bbl); INS_Valid(ins); ins = INS_Next(ins) )
// Forward pass over all instructions in routine
for( INS ins= RTN_InsHead(rtn); INS_Valid(ins); ins = INS_Next(ins) )
INS BBL_InsHead(BBL bbl)
Returns the first instruction of the BBL.
BOOL INS_Valid(INS ins)
Checks if the instruction is valid.
INS INS_Next(INS ins)
Returns the instruction that follows this instruction.
INS RTN_InsHead(RTN rtn)
Returns the first instruction of the RTN, or INS_Invalid() if no instructions.