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.
26 lines
727 B
26 lines
727 B
11 years ago
|
/* Capstone Disassembler Engine */
|
||
|
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013> */
|
||
|
|
||
|
#ifndef CS_MIPS_MAP_H
|
||
|
#define CS_MIPS_MAP_H
|
||
|
|
||
|
#include "../../include/capstone.h"
|
||
|
#include "../../include/mips.h"
|
||
|
|
||
|
// return name of regiser in friendly string
|
||
11 years ago
|
const char *Mips_reg_name(csh handle, unsigned int reg);
|
||
11 years ago
|
|
||
|
// given internal insn id, return public instruction info
|
||
11 years ago
|
void Mips_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id);
|
||
11 years ago
|
|
||
|
// given public insn id, return internal insn id
|
||
11 years ago
|
const char *Mips_insn_name(csh handle, unsigned int id);
|
||
11 years ago
|
|
||
|
// map instruction name to instruction ID
|
||
11 years ago
|
mips_reg Mips_map_insn(const char *name);
|
||
11 years ago
|
|
||
|
// map internal raw register to 'public' register
|
||
|
mips_reg Mips_map_register(unsigned int r);
|
||
|
|
||
|
#endif
|