Go to the source code of this file.
|
bool | MCOperand_isValid (const MCOperand *op) |
|
bool | MCOperand_isReg (const MCOperand *op) |
|
bool | MCOperand_isImm (const MCOperand *op) |
|
bool | MCOperand_isFPImm (const MCOperand *op) |
|
bool | MCOperand_isInst (const MCOperand *op) |
|
unsigned | MCOperand_getReg (const MCOperand *op) |
| getReg - Returns the register number. More...
|
|
void | MCOperand_setReg (MCOperand *op, unsigned Reg) |
| setReg - Set the register number. More...
|
|
int64_t | MCOperand_getImm (MCOperand *op) |
|
void | MCOperand_setImm (MCOperand *op, int64_t Val) |
|
double | MCOperand_getFPImm (const MCOperand *op) |
|
void | MCOperand_setFPImm (MCOperand *op, double Val) |
|
const MCInst * | MCOperand_getInst (const MCOperand *op) |
|
void | MCOperand_setInst (MCOperand *op, const MCInst *Val) |
|
void | MCOperand_CreateReg0 (MCInst *inst, unsigned Reg) |
|
MCOperand * | MCOperand_CreateReg1 (MCInst *inst, unsigned Reg) |
|
void | MCOperand_CreateImm0 (MCInst *inst, int64_t Val) |
|
MCOperand * | MCOperand_CreateImm1 (MCInst *inst, int64_t Val) |
|
void | MCInst_Init (MCInst *inst) |
|
void | MCInst_clear (MCInst *inst) |
|
void | MCInst_insert0 (MCInst *inst, int index, MCOperand *Op) |
|
void | MCInst_setOpcode (MCInst *inst, unsigned Op) |
|
unsigned | MCInst_getOpcode (const MCInst *) |
|
void | MCInst_setOpcodePub (MCInst *inst, unsigned Op) |
|
unsigned | MCInst_getOpcodePub (const MCInst *) |
|
MCOperand * | MCInst_getOperand (MCInst *inst, unsigned i) |
|
unsigned | MCInst_getNumOperands (const MCInst *inst) |
|
void | MCInst_addOperand2 (MCInst *inst, MCOperand *Op) |
|
◆ cs_struct
◆ MCInst
◆ MCOperand
◆ MCInst_addOperand2()
◆ MCInst_clear()
void MCInst_clear |
( |
MCInst * |
inst | ) |
|
◆ MCInst_getNumOperands()
◆ MCInst_getOpcode()
◆ MCInst_getOpcodePub()
◆ MCInst_getOperand()
◆ MCInst_Init()
void MCInst_Init |
( |
MCInst * |
inst | ) |
|
Definition at line 18 of file MCInst.c.
22 for (
i = 0;
i < 48;
i++) {
return memset(p, 0, total)
References MCInst::ac_idx, MCInst::assembly, MCInst::has_imm, i, MCOperand::ImmVal, MCOperand::Kind, memset(), MCInst::op1_size, MCInst::Opcode, MCInst::OpcodePub, MCInst::Operands, MCInst::popcode_adjust, MCInst::size, MCInst::writeback, and MCInst::xAcquireRelease.
Referenced by cs_disasm(), and cs_disasm_iter().
◆ MCInst_insert0()
◆ MCInst_setOpcode()
Definition at line 58 of file MCInst.c.
References MCInst::Opcode.
Referenced by build_chk2_cmp2(), build_cpush_cinv(), build_imm(), build_init_op(), d68000_nop(), d68000_reset(), d68000_rte(), d68000_rtr(), d68000_rts(), d68000_trapv(), and d68020_cpgen().
◆ MCInst_setOpcodePub()
◆ MCOperand_CreateImm0()
◆ MCOperand_CreateImm1()
◆ MCOperand_CreateReg0()
◆ MCOperand_CreateReg1()
◆ MCOperand_getFPImm()
◆ MCOperand_getImm()
◆ MCOperand_getInst()
◆ MCOperand_getReg()
getReg - Returns the register number.
Definition at line 117 of file MCInst.c.
◆ MCOperand_isFPImm()
Definition at line 111 of file MCInst.c.
113 return op->Kind == kFPImmediate;
◆ MCOperand_isImm()
Definition at line 106 of file MCInst.c.
108 return op->Kind == kImmediate;
◆ MCOperand_isInst()
◆ MCOperand_isReg()
Definition at line 101 of file MCInst.c.
103 return op->Kind == kRegister;
◆ MCOperand_isValid()
Definition at line 96 of file MCInst.c.
98 return op->Kind != kInvalid;
◆ MCOperand_setFPImm()
void MCOperand_setFPImm |
( |
MCOperand * |
op, |
|
|
double |
Val |
|
) |
| |
◆ MCOperand_setImm()
◆ MCOperand_setInst()
◆ MCOperand_setReg()
setReg - Set the register number.
Definition at line 123 of file MCInst.c.