Update safetyhook
This commit is contained in:
parent
247d13778f
commit
2d9f253cc8
@ -16,62 +16,3 @@
|
||||
+ link_with: safetyhook_lib,
|
||||
+ include_directories: safetyhook_inc,
|
||||
+)
|
||||
--- safetyhook/safetyhook.cpp
|
||||
+++ safetyhook/safetyhook.cpp
|
||||
@@ -14,7 +14,7 @@
|
||||
#include <limits>
|
||||
|
||||
#define NOMINMAX
|
||||
-#include <Windows.h>
|
||||
+#include <windows.h>
|
||||
|
||||
|
||||
namespace safetyhook {
|
||||
@@ -324,7 +324,7 @@ VmtHook create_vmt(void* object) {
|
||||
|
||||
#include <iterator>
|
||||
|
||||
-#include <Windows.h>
|
||||
+#include <windows.h>
|
||||
|
||||
#if __has_include(<Zydis/Zydis.h>)
|
||||
#include <Zydis/Zydis.h>
|
||||
@@ -858,7 +858,7 @@ std::expected<void, MidHook::Error> MidHook::setup(
|
||||
// Source file: thread_freezer.cpp
|
||||
//
|
||||
|
||||
-#include <Windows.h>
|
||||
+#include <windows.h>
|
||||
#include <winternl.h>
|
||||
|
||||
|
||||
@@ -992,7 +992,7 @@ void fix_ip(CONTEXT& ctx, uint8_t* old_ip, uint8_t* new_ip) {
|
||||
// Source file: utility.cpp
|
||||
//
|
||||
|
||||
-#include <Windows.h>
|
||||
+#include <windows.h>
|
||||
|
||||
|
||||
namespace safetyhook {
|
||||
@@ -1046,7 +1046,7 @@ bool is_executable(uint8_t* address) {
|
||||
// Source file: vmt_hook.cpp
|
||||
//
|
||||
|
||||
-#include <Windows.h>
|
||||
+#include <windows.h>
|
||||
|
||||
|
||||
|
||||
--- safetyhook/safetyhook.hpp
|
||||
+++ safetyhook/safetyhook.hpp
|
||||
@@ -898,7 +898,7 @@ namespace safetyhook {
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
|
||||
-#include <Windows.h>
|
||||
+#include <windows.h>
|
||||
|
||||
namespace safetyhook {
|
||||
/// @brief Executes a function while all other threads are frozen. Also allows for visiting each frozen thread and
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
[wrap-file]
|
||||
directory = safetyhook
|
||||
source_url = https://github.com/cursey/safetyhook/releases/download/v0.1.3/safetyhook-amalgamated-zydis.zip
|
||||
source_filename = safetyhook-amalgamated-zydis.zip
|
||||
source_hash = 5d02299eb9b3fef3f936fba441ad44ec08f049de4cd9125092dd63e1f1f24cfe
|
||||
lead_directory_missing = yes
|
||||
diff_files = safetyhook.patch
|
||||
|
||||
[provide]
|
||||
libsafetyhook = safetyhook_dep
|
||||
[wrap-file]
|
||||
directory = safetyhook
|
||||
source_url = https://github.com/cursey/safetyhook/releases/download/v0.3.0/safetyhook-amalgamated-zydis.zip
|
||||
source_filename = safetyhook-amalgamated-zydis.zip
|
||||
source_hash = 274450d7baf6caee459752235d783ec24bd699b221b10c3df0fcce2a4e8e2ac8
|
||||
lead_directory_missing = yes
|
||||
diff_files = safetyhook.patch
|
||||
|
||||
[provide]
|
||||
libsafetyhook = safetyhook_dep
|
||||
|
Loading…
x
Reference in New Issue
Block a user