From 1aa3cfe750c15a899bf5a99a59c3977da6c31189 Mon Sep 17 00:00:00 2001 From: F1ssi0N Date: Thu, 15 Mar 2018 18:32:59 +0000 Subject: [PATCH] Add find_interface sig for linux (#15) * Add find_interface sig for linux * Shorten signature --- src/sdk/interface.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sdk/interface.cc b/src/sdk/interface.cc index 3d2aa19..9d818fb 100644 --- a/src/sdk/interface.cc +++ b/src/sdk/interface.cc @@ -25,6 +25,7 @@ void *interface_helpers::find_interface(const char *module_name, const char *int if constexpr (doghook_platform::windows()) { interface_reg_head = **signature::find_pattern(module_name, "8B 35 ? ? ? ? 57 85 F6 74 38", 2); } else if constexpr (doghook_platform::linux()) { + interface_reg_head = **signature::find_pattern(module_name, "8B 1D ? ? ? ? 8B 75 08 8B 7D 0C 85 DB 75 0E EB 35 90 8D 74 26 00 8B 5B 08 85 DB 74 29 89 74 24 04 8B 43 04", 2); } else if constexpr (doghook_platform::osx()) { }