direct syscalls independent of the underlying bit width
This commit is contained in:
35
main.cpp
Normal file
35
main.cpp
Normal file
@@ -0,0 +1,35 @@
|
||||
/*
|
||||
there was a call to openfile that failed with STATUS_DATATYPE_MISALIGNMENT
|
||||
*/
|
||||
#include <cstdio>
|
||||
#include <iostream>
|
||||
#include <stddef.h>
|
||||
#include <malloc.h>
|
||||
#include <Windows.h>
|
||||
#include <shlobj.h>
|
||||
#include <Shlwapi.h>
|
||||
#include <ntdll.h>
|
||||
|
||||
#include "structs.h"
|
||||
#include "wow64ext.h"
|
||||
#include "misc.h"
|
||||
#include "syscall64.h"
|
||||
#include "get_syscall64_ids.h"
|
||||
|
||||
|
||||
BOOL file_test();
|
||||
void WINAPI RtlInitUnicodeString(unsigned char* target, PCWSTR source);
|
||||
|
||||
#define PRINTF_PP(string, ...) printf(string, NARG(__VA_ARGS__), __VA_ARGS__)
|
||||
|
||||
int main()
|
||||
{
|
||||
print_os_info();
|
||||
|
||||
if(!initalize_ID_table())
|
||||
return 0;
|
||||
|
||||
file_test();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user