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

Function DecodeGPRRegisterClass

arch/ARM/ARMDisassembler.c:974–986  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

972};
973
974static DecodeStatus DecodeGPRRegisterClass(MCInst *Inst, unsigned RegNo,
975 uint64_t Address, const void *Decoder)
976{
977 unsigned Register;
978
979 if (RegNo > 15)
980 return MCDisassembler_Fail;
981
982 Register = GPRDecoderTable[RegNo];
983 MCOperand_CreateReg0(Inst, Register);
984
985 return MCDisassembler_Success;
986}
987
988static DecodeStatus DecodeGPRnopcRegisterClass(MCInst *Inst, unsigned RegNo,
989 uint64_t Address, const void *Decoder)

Callers 15

DecodetGPRRegisterClassFunction · 0.70
DecoderGPRRegisterClassFunction · 0.70
DecodeRegListOperandFunction · 0.70
DecodeCopMemInstructionFunction · 0.70
DecodeSORegMemOperandFunction · 0.70
DecodeRFEInstructionFunction · 0.70
DecodeTSTInstructionFunction · 0.70

Calls 1

MCOperand_CreateReg0Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…