mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-07-25 22:43:55 +00:00
Initial Commit
This commit is contained in:
25
thirdparty/capstone/arch/Mips/MipsMapping.h
vendored
Normal file
25
thirdparty/capstone/arch/Mips/MipsMapping.h
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
/* Capstone Disassembly Engine */
|
||||
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2015 */
|
||||
|
||||
#ifndef CS_MIPS_MAP_H
|
||||
#define CS_MIPS_MAP_H
|
||||
|
||||
#include "capstone/capstone.h"
|
||||
|
||||
// return name of register in friendly string
|
||||
const char *Mips_reg_name(csh handle, unsigned int reg);
|
||||
|
||||
// given internal insn id, return public instruction info
|
||||
void Mips_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id);
|
||||
|
||||
const char *Mips_insn_name(csh handle, unsigned int id);
|
||||
|
||||
const char *Mips_group_name(csh handle, unsigned int id);
|
||||
|
||||
// map instruction name to instruction ID
|
||||
mips_reg Mips_map_insn(const char *name);
|
||||
|
||||
// map internal raw register to 'public' register
|
||||
mips_reg Mips_map_register(unsigned int r);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user