mirror of
https://github.com/open-goal/jak-project
synced 2026-09-03 02:14:07 -04:00
bfc4c18ada
- Adds `capstone` as a disassembling library that could eventually replace Zydis (for now left that alone) - Replicates all of the existing x86 tests to ARM64, fixed a bunch of underlying issues along the way - There are a very small handful of tests remaining that need to be enabled / fixed
23 lines
605 B
C
Vendored
Generated
23 lines
605 B
C
Vendored
Generated
/* Capstone Disassembly Engine */
|
|
/* By Yoshinori Sato, 2022 */
|
|
|
|
#ifndef CS_SHINSTPRINTER_H
|
|
#define CS_SHINSTPRINTER_H
|
|
|
|
#include "capstone/capstone.h"
|
|
#include "../../utils.h"
|
|
#include "../../MCInst.h"
|
|
#include "../../SStream.h"
|
|
#include "../../cs_priv.h"
|
|
#include "SHDisassembler.h"
|
|
|
|
struct SStream;
|
|
|
|
void SH_printInst(MCInst *MI, struct SStream *O, void *Info);
|
|
const char *SH_reg_name(csh handle, unsigned int reg);
|
|
void SH_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id);
|
|
const char *SH_insn_name(csh handle, unsigned int id);
|
|
const char *SH_group_name(csh handle, unsigned int id);
|
|
|
|
#endif
|