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

Function DecodeCoprocessor

arch/ARM/ARMDisassembler.c:4231–4243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4229}
4230
4231static DecodeStatus DecodeCoprocessor(MCInst *Inst, unsigned Val,
4232 uint64_t Address, const void *Decoder)
4233{
4234 if (Val == 0xA || Val == 0xB)
4235 return MCDisassembler_Fail;
4236
4237 if (ARM_getFeatureBits(Inst->csh->mode, ARM_HasV8Ops) && !(Val == 14 || Val == 15))
4238 return MCDisassembler_Fail;
4239
4240 MCOperand_CreateImm0(Inst, Val);
4241
4242 return MCDisassembler_Success;
4243}
4244
4245static DecodeStatus DecodeThumbTableBranch(MCInst *Inst, unsigned Insn,
4246 uint64_t Address, const void *Decoder)

Callers

nothing calls this directly

Calls 2

ARM_getFeatureBitsFunction · 0.85
MCOperand_CreateImm0Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…