mirror of
https://github.com/momo5502/hypervisor.git
synced 2025-09-04 16:07:25 +00:00
Create include file
This commit is contained in:
@@ -6,10 +6,6 @@ add_executable(runner #WIN32
|
||||
${runner_headers}
|
||||
)
|
||||
|
||||
target_precompile_headers(runner PRIVATE
|
||||
std_include.hpp
|
||||
)
|
||||
|
||||
set_property(TARGET runner APPEND_STRING PROPERTY LINK_FLAGS " /MANIFESTUAC:\"level='requireAdministrator'\"")
|
||||
|
||||
target_link_libraries(runner PRIVATE
|
||||
|
@@ -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)
|
||||
|
@@ -1 +0,0 @@
|
||||
#pragma once
|
@@ -8,7 +8,6 @@
|
||||
// Generated from the TEXTINCLUDE 2 resource.
|
||||
//
|
||||
#include "windows.h"
|
||||
#include "resource.hpp"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
@@ -1,14 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <mutex>
|
||||
#include <filesystem>
|
||||
#include <functional>
|
||||
|
||||
#include <Windows.h>
|
||||
#include <Shlwapi.h>
|
||||
#include <ShlObj.h>
|
||||
#include <Psapi.h>
|
||||
|
||||
#pragma comment(lib, "Shlwapi.lib")
|
Reference in New Issue
Block a user