You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
734 B
28 lines
734 B
/* Capstone Disassembler Engine */ |
|
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013> */ |
|
|
|
#ifndef CS_ARM_MAP_H |
|
#define CS_ARM_MAP_H |
|
|
|
#include "../../include/capstone.h" |
|
#include "../../include/arm.h" |
|
#include "../../utils.h" |
|
|
|
// return name of regiser in friendly string |
|
char *ARM_reg_name(unsigned int reg); |
|
|
|
// given internal insn id, return public instruction ID |
|
void ARM_get_insn_id(cs_insn *insn, unsigned int id); |
|
|
|
// given public insn id, return internal instruction info |
|
unsigned int ARM_get_insn_id2(unsigned int id); |
|
|
|
char *ARM_insn_name(unsigned int id); |
|
|
|
// map instruction name to instruction ID |
|
arm_reg ARM_map_insn(char *name); |
|
|
|
// check if this insn is relative branch |
|
bool ARM_rel_branch(unsigned int insn_id); |
|
|
|
#endif
|
|
|