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
33 lines
842 B
C
Vendored
Generated
33 lines
842 B
C
Vendored
Generated
/**
|
|
* @file libc.h
|
|
* @author created by: Peter Hlavaty
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <ntifs.h>
|
|
|
|
EXTERN_C
|
|
__drv_when(return != 0, __drv_allocatesMem(pBlock)) __checkReturn
|
|
__drv_maxIRQL(DISPATCH_LEVEL)
|
|
__bcount_opt(size) void *__cdecl malloc(__in size_t size);
|
|
|
|
EXTERN_C
|
|
__drv_when(return != 0, __drv_allocatesMem(p)) __checkReturn
|
|
__drv_maxIRQL(DISPATCH_LEVEL)
|
|
__bcount_opt(size *n) void *__cdecl calloc(size_t n,
|
|
size_t size);
|
|
|
|
EXTERN_C
|
|
__drv_when(return != 0, __drv_allocatesMem(inblock)) __checkReturn
|
|
__drv_maxIRQL(DISPATCH_LEVEL)
|
|
__bcount_opt(size) void *__cdecl realloc(__in_opt void *ptr,
|
|
__in size_t size);
|
|
|
|
EXTERN_C
|
|
__drv_maxIRQL(DISPATCH_LEVEL) void __cdecl free(
|
|
__inout_opt __drv_freesMem(Mem) void *ptr);
|
|
|
|
int __cdecl vsnprintf(char *buffer, size_t count, const char *format,
|
|
va_list argptr);
|