mirror of
https://github.com/open-goal/jak-project
synced 2026-08-22 23:11:40 -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
688 B
C
Vendored
Generated
23 lines
688 B
C
Vendored
Generated
/* Capstone Disassembly Engine */
|
|
/* By Rot127 <unisono@quyllur.org> 2022-2023 */
|
|
|
|
#ifndef CS_SYSTEMZ_LINKAGE_H
|
|
#define CS_SYSTEMZ_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"
|
|
|
|
DecodeStatus SystemZ_LLVM_getInstruction(csh handle, const uint8_t *Bytes,
|
|
size_t ByteLen, MCInst *MI,
|
|
uint16_t *Size, uint64_t Address,
|
|
void *Info);
|
|
const char *SystemZ_LLVM_getRegisterName(unsigned RegNo);
|
|
void SystemZ_LLVM_printInstruction(MCInst *MI, const char *Annot, SStream *O);
|
|
|
|
#endif // CS_SYSTEMZ_LINKAGE_H
|