From 72649b50f89e41c421480ea9d1146c8a5808ae31 Mon Sep 17 00:00:00 2001 From: _xeroxz <_xeroxz@back.engineer> Date: Sat, 13 May 2023 14:01:58 -0700 Subject: [PATCH] fixed arm64 --> amd64 --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 877ad09..c3ee1c6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -58,7 +58,7 @@ int __cdecl main(int argc, const char* argv[]) { // only support 64bit executables... auto img = reinterpret_cast*>(module_data.data()); - if (img->get_nt_headers()->file_header.machine != win::machine_id::arm64) { + if (img->get_nt_headers()->file_header.machine != win::machine_id::amd64) { std::printf("[!] only 64bit executables are supported...\n"); return -1; }