capstone/arch/ARM/ARMDisassembler.h

19 lines
585 B
C
Raw Normal View History

2014-05-27 10:45:58 +08:00
/* Capstone Disassembly Engine */
2015-03-04 17:45:23 +08:00
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2015 */
2013-11-27 12:11:31 +08:00
#ifndef CS_ARMDISASSEMBLER_H
#define CS_ARMDISASSEMBLER_H
#include "capstone/capstone.h"
2013-11-27 12:11:31 +08:00
#include "../../MCRegisterInfo.h"
void ARM_init(MCRegisterInfo *MRI);
bool ARM_getInstruction(csh handle, const uint8_t *code, size_t code_len, MCInst *instr, uint16_t *size, uint64_t address, void *info);
2013-11-27 12:11:31 +08:00
bool Thumb_getInstruction(csh handle, const uint8_t *code, size_t code_len, MCInst *instr, uint16_t *size, uint64_t address, void *info);
2013-11-27 12:11:31 +08:00
uint64_t ARM_getFeatureBits(unsigned int mode);
2013-11-27 12:11:31 +08:00
#endif