2016-05-15 20:13:19 +08:00
|
|
|
/* Capstone Disassembly Engine */
|
|
|
|
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 */
|
|
|
|
|
|
|
|
#ifndef CS_TRICORE_MAP_H
|
|
|
|
#define CS_TRICORE_MAP_H
|
|
|
|
|
|
|
|
#include "../../include/capstone.h"
|
|
|
|
|
|
|
|
// return name of regiser in friendly string
|
|
|
|
const char *TriCore_reg_name(csh handle, unsigned int reg);
|
|
|
|
|
|
|
|
// given internal insn id, return public instruction info
|
|
|
|
void TriCore_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id);
|
|
|
|
|
|
|
|
const char *TriCore_insn_name(csh handle, unsigned int id);
|
|
|
|
|
2016-07-16 17:44:33 +08:00
|
|
|
const char *TriCore_group_name(csh handle, unsigned int id);
|
|
|
|
|
2016-05-15 20:13:19 +08:00
|
|
|
// map internal raw register to 'public' register
|
|
|
|
tricore_reg TriCore_map_register(unsigned int r);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|