Add find_interface sig for linux (#15)
* Add find_interface sig for linux * Shorten signature
This commit is contained in:
parent
94514c32a1
commit
1aa3cfe750
@ -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<InterfaceReg ***>(module_name, "8B 35 ? ? ? ? 57 85 F6 74 38", 2);
|
||||
} else if constexpr (doghook_platform::linux()) {
|
||||
interface_reg_head = **signature::find_pattern<InterfaceReg ***>(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()) {
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user