|
|
|
@ -58,7 +58,7 @@ int __cdecl main(int argc, const char* argv[]) {
|
|
|
|
|
|
|
|
|
|
// only support 64bit executables...
|
|
|
|
|
auto img = reinterpret_cast<win::image_t<>*>(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;
|
|
|
|
|
}
|
|
|
|
|