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
|
|
|
|
|
2015-02-24 11:55:55 +08:00
|
|
|
#include "capstone/capstone.h"
|
2013-11-27 12:11:31 +08:00
|
|
|
#include "../../MCRegisterInfo.h"
|
|
|
|
|
|
|
|
void ARM_init(MCRegisterInfo *MRI);
|
|
|
|
|
2014-05-07 08:25:24 +08:00
|
|
|
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
|
|
|
|
2014-05-07 08:25:24 +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
|
|
|
|
2014-08-13 23:08:40 +08:00
|
|
|
uint64_t ARM_getFeatureBits(unsigned int mode);
|
2013-12-11 17:35:27 +08:00
|
|
|
|
2013-11-27 12:11:31 +08:00
|
|
|
#endif
|