1.0.1.0
This commit is contained in:
@@ -11,15 +11,12 @@
|
||||
#include <phnt_windows.h>
|
||||
#include <phnt.h>
|
||||
|
||||
|
||||
|
||||
// TODO: reference additional headers your program requires here
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <time.h>
|
||||
#include <share.h>
|
||||
|
||||
#include <strsafe.h>
|
||||
#include <shellapi.h>
|
||||
@@ -27,6 +24,10 @@
|
||||
#include <Psapi.h>
|
||||
#include <TlHelp32.h>
|
||||
|
||||
#include "asprintf.h"
|
||||
#include "logger.h"
|
||||
|
||||
extern IMAGE_DOS_HEADER __ImageBase;
|
||||
#define PIMAGEBASE ((HMODULE)&__ImageBase)
|
||||
#define OffsetToPointer(Base, Offset) ((void *)(((uint8_t *)(Base)) + ((ptrdiff_t)(Offset))))
|
||||
#define PointerToOffset(Base, Pointer) ((ptrdiff_t)(((uint8_t *)(Pointer)) - ((uint8_t *)(Base))))
|
||||
|
Reference in New Issue
Block a user