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

Function DecodePostIdxReg

arch/ARM/ARMDisassembler.c:4193–4206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4191}
4192
4193static DecodeStatus DecodePostIdxReg(MCInst *Inst, unsigned Insn,
4194 uint64_t Address, const void *Decoder)
4195{
4196 DecodeStatus S = MCDisassembler_Success;
4197 unsigned Rm = fieldFromInstruction_4(Insn, 0, 4);
4198 unsigned add = fieldFromInstruction_4(Insn, 4, 1);
4199
4200 if (!Check(&S, DecodeGPRnopcRegisterClass(Inst, Rm, Address, Decoder)))
4201 return MCDisassembler_Fail;
4202
4203 MCOperand_CreateImm0(Inst, add);
4204
4205 return S;
4206}
4207
4208static DecodeStatus DecodeThumbBLXOffset(MCInst *Inst, unsigned Val,
4209 uint64_t Address, const void *Decoder)

Callers 1

DecodeLDRFunction · 0.85

Calls 3

MCOperand_CreateImm0Function · 0.85
CheckFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…