xref: /aosp_15_r20/external/capstone/arch/ARM/ARMDisassembler.h (revision 9a0e4156d50a75a99ec4f1653a0e9602a5d45c18)
1 /* Capstone Disassembly Engine */
2 /* By Nguyen Anh Quynh <[email protected]>, 2013-2015 */
3 
4 #ifndef CS_ARMDISASSEMBLER_H
5 #define CS_ARMDISASSEMBLER_H
6 
7 #include "capstone/capstone.h"
8 #include "../../MCRegisterInfo.h"
9 
10 void ARM_init(MCRegisterInfo *MRI);
11 
12 bool ARM_getInstruction(csh handle, const uint8_t *code, size_t code_len, MCInst *instr, uint16_t *size, uint64_t address, void *info);
13 
14 bool Thumb_getInstruction(csh handle, const uint8_t *code, size_t code_len, MCInst *instr, uint16_t *size, uint64_t address, void *info);
15 
16 uint64_t ARM_getFeatureBits(unsigned int mode);
17 
18 #endif
19