| 4243 | } |
| 4244 | |
| 4245 | static DecodeStatus DecodeThumbTableBranch(MCInst *Inst, unsigned Insn, |
| 4246 | uint64_t Address, const void *Decoder) |
| 4247 | { |
| 4248 | DecodeStatus S = MCDisassembler_Success; |
| 4249 | unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); |
| 4250 | unsigned Rm = fieldFromInstruction_4(Insn, 0, 4); |
| 4251 | |
| 4252 | if (Rn == ARM_SP) S = MCDisassembler_SoftFail; |
| 4253 | |
| 4254 | if (!Check(&S, DecodeGPRRegisterClass(Inst, Rn, Address, Decoder))) |
| 4255 | return MCDisassembler_Fail; |
| 4256 | |
| 4257 | if (!Check(&S, DecoderGPRRegisterClass(Inst, Rm, Address, Decoder))) |
| 4258 | return MCDisassembler_Fail; |
| 4259 | |
| 4260 | return S; |
| 4261 | } |
| 4262 | |
| 4263 | static DecodeStatus DecodeThumb2BCCInstruction(MCInst *Inst, unsigned Insn, |
| 4264 | uint64_t Address, const void *Decoder) |
nothing calls this directly
no test coverage detected
searching dependent graphs…