mirror of
https://github.com/UzixLS/KernelEx.git
synced 2025-07-19 07:21:20 +03:00
import KernelEx-4.0-RC2
This commit is contained in:
12
core/resolver.h
Normal file → Executable file
12
core/resolver.h
Normal file → Executable file
@ -47,6 +47,18 @@ struct IMTE_KEX : public IMTE
|
||||
* 0 - not checked, 0xffff - not an overridden module */
|
||||
};
|
||||
|
||||
/* Creates a stub that calls address specified in the constructor. */
|
||||
class redir_stub
|
||||
{
|
||||
public:
|
||||
redir_stub(unsigned long target) : c_eax(0xb8), v_eax(target), c_jmp(0xe0ff) {}
|
||||
|
||||
private:
|
||||
unsigned char c_eax;
|
||||
unsigned long v_eax;
|
||||
unsigned short c_jmp;
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
DWORD encode_address(DWORD addr, const ApiLibrary* apilib);
|
||||
|
Reference in New Issue
Block a user