MCPcopy Create free account
hub / github.com/capstone-engine/capstone / MCOperand_CreateReg0

Function MCOperand_CreateReg0

MCInst.c:177–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177void MCOperand_CreateReg0(MCInst *mcInst, unsigned Reg)
178{
179 MCOperand *op = &(mcInst->Operands[mcInst->size]);
180 mcInst->size++;
181
182 op->MachineOperandType = kRegister;
183 op->Kind = kRegister;
184 op->RegVal = Reg;
185}
186
187MCOperand *MCOperand_CreateImm1(MCInst *mcInst, int64_t Val)
188{

Callers 15

DecodePredicateOperandFunction · 0.85
DecodeGPRRegisterClassFunction · 0.85
DecodetcGPRRegisterClassFunction · 0.85
DecodeSPRRegisterClassFunction · 0.85
DecodeDPRRegisterClassFunction · 0.85
DecodeQPRRegisterClassFunction · 0.85
DecodeDPairRegisterClassFunction · 0.85
DecodeCCOutOperandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…