mirror of
https://github.com/open-goal/jak-project
synced 2026-08-28 08:49:16 -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
30 lines
817 B
C++
Vendored
Generated
30 lines
817 B
C++
Vendored
Generated
//===-- X86Disassembler.h - Disassembler for x86 and x86_64 -----*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
/* Capstone Disassembly Engine */
|
|
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2019 */
|
|
|
|
#ifndef CS_X86_DISASSEMBLER_H
|
|
#define CS_X86_DISASSEMBLER_H
|
|
|
|
#include "capstone/capstone.h"
|
|
|
|
#include "../../MCInst.h"
|
|
|
|
#include "../../MCRegisterInfo.h"
|
|
#include "X86DisassemblerDecoderCommon.h"
|
|
|
|
bool X86_getInstruction(csh handle, const uint8_t *code, size_t code_len,
|
|
MCInst *instr, uint16_t *size, uint64_t address,
|
|
void *info);
|
|
|
|
void X86_init(MCRegisterInfo *MRI);
|
|
|
|
#endif
|