Pin
Macros | Functions
ins_ia32.cpp File Reference
#include "level_base.H"
#include "level_core_with_ia32_ins.H"
#include <sstream>
#include <iomanip>
#include <set>
#include <sys/syscall.h>

Macros

#define LOG_ENCODING(message)   QMESSAGE(MessageTypeLogEncoding, std::string("") + message)
 

Functions

UINT32 LEVEL_CORE::INS_MaxNumRRegs (INS x)
 
UINT32 LEVEL_CORE::INS_MaxNumWRegs (INS x)
 
BOOL LEVEL_CORE::INS_RegRContain (const INS ins, const REG reg)
 
BOOL LEVEL_CORE::INS_RegWContain (const INS ins, const REG reg)
 
BOOL LEVEL_CORE::INS_FullRegRContain (const INS ins, const REG reg)
 
BOOL LEVEL_CORE::INS_FullRegWContain (const INS ins, const REG reg)
 
BOOL LEVEL_CORE::INS_IsStackRead (const INS ins)
 
BOOL LEVEL_CORE::INS_IsStackWrite (const INS ins)
 
BOOL LEVEL_CORE::INS_IsIpRelRead (const INS ins)
 
BOOL LEVEL_CORE::INS_IsIpRelWrite (const INS ins)
 
BOOL LEVEL_CORE::INS_IsPredicated (INS ins)
 
LOCALVAR KNOB< BOOL > LEVEL_CORE::KnobPrintRawInstruction (KNOB_MODE_WRITEONCE, "supported", "rawinst", "0", "Print raw instruction encoding in string conversions")
 
LOCALVAR KNOB< BOOL > LEVEL_CORE::KnobPrintPinRegs (KNOB_MODE_WRITEONCE, "supported", "printpinreg", "0", "Print Pin registers in disassembly")
 
LOCALVAR KNOB< BOOL > LEVEL_CORE::KnobPrintBranch (KNOB_MODE_WRITEONCE, "supported", "printbr", "0", "Print branch information in disassembly")
 
BOOL LEVEL_CORE::INS_IsOriginal (INS ins)
 
std::string LEVEL_CORE::INS_Disassemble (INS ins)
 
ADDRDELTA LEVEL_CORE::INS_MemoryDisplacement (INS ins)
 
REG LEVEL_CORE::INS_MemoryBaseReg (INS ins)
 
REG LEVEL_CORE::INS_MemoryIndexReg (INS ins)
 
UINT32 LEVEL_CORE::INS_MemoryScale (INS ins)
 
BOOL LEVEL_CORE::INS_hasKnownMemorySize (INS ins)
 
BOOL LEVEL_CORE::INS_ChangeReg (const INS ins, const REG old_reg, const REG new_reg, const BOOL as_read)
 

Detailed Description

ELF specific stuff related to INS