mirror of
https://github.com/open-goal/jak-project
synced 2026-09-04 02:29:37 -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
18 lines
575 B
C
Vendored
Generated
18 lines
575 B
C
Vendored
Generated
/* Capstone Disassembly Engine */
|
|
/* M680X Backend by Wolfgang Schwotzer <wolfgang.schwotzer@gmx.net> 2017 */
|
|
|
|
#ifndef CS_M680XDISASSEMBLER_H
|
|
#define CS_M680XDISASSEMBLER_H
|
|
|
|
#include "../../MCInst.h"
|
|
|
|
bool M680X_getInstruction(csh ud, const uint8_t *code, size_t code_len,
|
|
MCInst *instr, uint16_t *size, uint64_t address,
|
|
void *info);
|
|
void M680X_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id);
|
|
void M680X_reg_access(const cs_insn *insn, cs_regs regs_read,
|
|
uint8_t *regs_read_count, cs_regs regs_write,
|
|
uint8_t *regs_write_count);
|
|
|
|
#endif
|