2013-11-27 12:11:31 +08:00
|
|
|
/* Capstone Disassembler Engine */
|
|
|
|
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013> */
|
|
|
|
|
|
|
|
#ifndef CS_ARM64_MAP_H
|
|
|
|
#define CS_ARM64_MAP_H
|
|
|
|
|
|
|
|
#include "../../include/capstone.h"
|
|
|
|
#include "../../include/arm64.h"
|
|
|
|
|
|
|
|
// return name of regiser in friendly string
|
2013-12-12 05:14:42 +08:00
|
|
|
const char *AArch64_reg_name(csh handle, unsigned int reg);
|
2013-11-27 12:11:31 +08:00
|
|
|
|
|
|
|
// given internal insn id, return public instruction info
|
2013-12-14 10:45:09 +08:00
|
|
|
void AArch64_get_insn_id(cs_insn *insn, unsigned int id, int detail);
|
2013-11-27 12:11:31 +08:00
|
|
|
|
|
|
|
// given public insn id, return internal instruction ID
|
|
|
|
unsigned int AArch64_get_insn_id2(unsigned int id);
|
|
|
|
|
2013-12-12 05:14:42 +08:00
|
|
|
const char *AArch64_insn_name(csh handle, unsigned int id);
|
2013-11-27 12:11:31 +08:00
|
|
|
|
2013-11-30 00:54:24 +08:00
|
|
|
// map instruction name to public instruction ID
|
2013-12-12 05:14:42 +08:00
|
|
|
arm64_reg AArch64_map_insn(const char *name);
|
2013-11-27 12:11:31 +08:00
|
|
|
|
2014-01-03 17:08:58 +08:00
|
|
|
// free insn cache
|
|
|
|
void AArch64_free_cache(void);
|
|
|
|
|
2013-11-27 12:11:31 +08:00
|
|
|
#endif
|