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

Function DecodeGPRwithAPSRRegisterClass

arch/ARM/ARMDisassembler.c:1001–1014  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

999}
1000
1001static DecodeStatus DecodeGPRwithAPSRRegisterClass(MCInst *Inst, unsigned RegNo,
1002 uint64_t Address, const void *Decoder)
1003{
1004 DecodeStatus S = MCDisassembler_Success;
1005
1006 if (RegNo == 15) {
1007 MCOperand_CreateReg0(Inst, ARM_APSR_NZCV);
1008
1009 return MCDisassembler_Success;
1010 }
1011
1012 Check(&S, DecodeGPRRegisterClass(Inst, RegNo, Address, Decoder));
1013 return S;
1014}
1015
1016static DecodeStatus DecodetGPRRegisterClass(MCInst *Inst, unsigned RegNo,
1017 uint64_t Address, const void *Decoder)

Callers

nothing calls this directly

Calls 3

MCOperand_CreateReg0Function · 0.85
CheckFunction · 0.70
DecodeGPRRegisterClassFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…