mirror of
https://github.com/open-goal/jak-project
synced 2026-09-11 12:35:25 -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
22 lines
696 B
C
Vendored
Generated
22 lines
696 B
C
Vendored
Generated
/* Capstone Disassembly Engine */
|
|
/* By Giovanni Dante Grazioli, deroad <wargio@libero.it>, 2024 */
|
|
|
|
#ifndef CS_MIPS_LINKAGE_H
|
|
#define CS_MIPS_LINKAGE_H
|
|
|
|
// Function definitions to call static LLVM functions.
|
|
|
|
#include "../../MCDisassembler.h"
|
|
#include "../../MCInst.h"
|
|
#include "../../MCRegisterInfo.h"
|
|
#include "../../SStream.h"
|
|
#include "capstone/capstone.h"
|
|
|
|
const char *Mips_LLVM_getRegisterName(unsigned RegNo, bool noRegName);
|
|
void Mips_LLVM_printInst(MCInst *MI, uint64_t Address, SStream *O);
|
|
DecodeStatus Mips_LLVM_getInstruction(MCInst *Instr, uint64_t *Size,
|
|
const uint8_t *Bytes, size_t BytesLen,
|
|
uint64_t Address, SStream *CStream);
|
|
|
|
#endif // CS_MIPS_LINKAGE_H
|