Pin
Loading...
Searching...
No Matches
Modules
INS: Instruction Object
Instrumentation API Reference
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) )
BBL_InsHead
INS BBL_InsHead(BBL bbl)
Returns the first instruction of the BBL.
INS_Valid
BOOL INS_Valid(INS ins)
Checks if the instruction is valid.
INS_Next
INS INS_Next(INS ins)
Returns the instruction that follows this instruction.
RTN_InsHead
INS RTN_InsHead(RTN rtn)
Returns the first instruction of the RTN, or INS_Invalid() if no instructions.
Generated by
1.9.8