1
0
mirror of https://github.com/momo5502/hypervisor.git synced 2025-07-05 18:51:53 +00:00

Create include file

This commit is contained in:
Maurice Heumann
2022-12-28 09:19:39 +01:00
parent 8b4c277f11
commit 083e67e1d7
11 changed files with 74 additions and 76 deletions

View File

@ -1,17 +1,13 @@
#include "std_include.hpp"
#include <iostream>
#include <vector>
#include <conio.h>
#include <set>
#include <optional>
#include <stdexcept>
#include "resource.hpp"
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
extern "C" __declspec(dllimport)
int hyperhook_initialize();
#include <hyperhook.h>
extern "C" __declspec(dllimport)
int hyperhook_write(unsigned int process_id, unsigned long long address, const void* data,
unsigned long long size);
bool patch_data(const uint32_t process_id, const uint64_t address, const void* buffer,
const size_t length)