21 #ifndef CCTLIB_PIN_ISA_COMPAT_H
22 #define CCTLIB_PIN_ISA_COMPAT_H
29 #include "regvalue_utils.h"
43 return REG_is_st(reg);
53 return INS_IsIndirectControlFlow(ins);
64 switch (INS_Opcode(ins)) {
65 case XED_ICLASS_JECXZ:
67 case XED_ICLASS_JRCXZ:
69 case XED_ICLASS_LOOPE:
70 case XED_ICLASS_LOOPNE:
90 const UINT32 n = INS_MemoryOperandCount(ins);
91 for (UINT32 i = 0; i < n; ++i) {
92 if (INS_MemoryOperandIsRead(ins, i))
93 total += INS_MemoryOperandSize(ins, i);
100 const UINT32 n = INS_MemoryOperandCount(ins);
101 for (UINT32 i = 0; i < n; ++i) {
102 if (INS_MemoryOperandIsWritten(ins, i))
103 total += INS_MemoryOperandSize(ins, i);
static USIZE INS_MemoryReadSize(INS ins)
static BOOL INS_IsMaskedJump(INS ins)
static BOOL INS_IsIndirectBranchOrCall(INS ins)
static USIZE INS_MemoryWriteSize(INS ins)
PINTOOL_REGISTER PIN_REGISTER
static BOOL REG_is_in_X87(REG reg)