mirror of
https://github.com/open-goal/jak-project
synced 2026-08-30 09:21:48 -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
25 lines
632 B
C
Vendored
Generated
25 lines
632 B
C
Vendored
Generated
/* Capstone Disassembly Engine */
|
|
/* By Satoshi Tanda <tanda.sat@gmail.com>, 2016 */
|
|
|
|
#ifndef CS_WINDOWS_WINKERNEL_MM_H
|
|
#define CS_WINDOWS_WINKERNEL_MM_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <capstone/capstone.h>
|
|
|
|
void CAPSTONE_API cs_winkernel_free(void *ptr);
|
|
void *CAPSTONE_API cs_winkernel_malloc(size_t size);
|
|
void *CAPSTONE_API cs_winkernel_calloc(size_t n, size_t size);
|
|
void *CAPSTONE_API cs_winkernel_realloc(void *ptr, size_t size);
|
|
int CAPSTONE_API cs_winkernel_vsnprintf(char *buffer, size_t count,
|
|
const char *format, va_list argptr);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // CS_WINDOWS_WINKERNEL_MM_H
|