Generic modification API
[INS: Instruction Object]


Functions

BOOL LEVEL_PINCLIENT::INS_RewriteMemoryAddressingToBaseRegisterOnly (INS ins, MEMORY_TYPE mtype, REG newBase)
VOID LEVEL_PINCLIENT::INS_Delete (INS ins)

Detailed Description

Use these functions to modify instructions. They work for all instruction sets. For experts only!

Availability:
Mode: JIT & Probe
O/S: Linux & Windows
CPU: All

Function Documentation

VOID LEVEL_PINCLIENT::INS_Delete INS  ins  ) 
 

Delete the instruction

Availability:
Mode: JIT
O/S: Linux, Windows & MacOS
CPU: All

BOOL LEVEL_PINCLIENT::INS_RewriteMemoryAddressingToBaseRegisterOnly INS  ins,
MEMORY_TYPE  mtype,
REG  newBase
 

Change this memory access instruction use a base register addressing mode. On IA32/Intel64, it will not rewrite all references; See INS_IsRewritableMemOpBase() for details.


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