Go to the documentation of this file.
4 #if defined(CAPSTONE_HAS_OSXKERNEL)
5 #include <Availability.h>
6 #include <libkern/libkern.h>
16 #define MCINST_CACHE (ARR_SIZE(mcInst->Operands) - 1)
22 for (
i = 0;
i < 48;
i++) {
100 return op->Kind == kRegister;
105 return op->Kind == kImmediate;
110 return op->Kind == kFPImmediate;
149 op->Kind = kRegister;
160 op->Kind = kRegister;
168 op->Kind = kImmediate;
179 op->Kind = kImmediate;
unsigned MCOperand_getReg(const MCOperand *op)
getReg - Returns the register number.
void MCInst_addOperand2(MCInst *inst, MCOperand *Op)
bool MCOperand_isValid(const MCOperand *op)
void MCInst_insert0(MCInst *inst, int index, MCOperand *Op)
void MCOperand_CreateReg0(MCInst *mcInst, unsigned Reg)
MCOperand * MCInst_getOperand(MCInst *inst, unsigned i)
void MCOperand_setReg(MCOperand *op, unsigned Reg)
setReg - Set the register number.
void MCOperand_setFPImm(MCOperand *op, double Val)
void MCInst_clear(MCInst *inst)
MCOperand * MCOperand_CreateImm1(MCInst *mcInst, int64_t Val)
int64_t MCOperand_getImm(MCOperand *op)
bool MCOperand_isFPImm(const MCOperand *op)
void MCOperand_CreateImm0(MCInst *mcInst, int64_t Val)
unsigned MCInst_getNumOperands(const MCInst *inst)
unsigned MCInst_getOpcodePub(const MCInst *inst)
MCOperand * MCOperand_CreateReg1(MCInst *mcInst, unsigned Reg)
void MCInst_Init(MCInst *inst)
unsigned MCInst_getOpcode(const MCInst *inst)
bool MCOperand_isImm(const MCOperand *op)
void MCOperand_setImm(MCOperand *op, int64_t Val)
double MCOperand_getFPImm(const MCOperand *op)
void MCInst_setOpcode(MCInst *inst, unsigned Op)
void MCInst_setOpcodePub(MCInst *inst, unsigned Op)
bool MCOperand_isReg(const MCOperand *op)
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:35