1
0
mirror of https://github.com/UzixLS/KernelEx.git synced 2025-07-19 07:21:20 +03:00

import KernelEx-4.0-Final

This commit is contained in:
UzixLS
2018-11-03 16:20:02 +03:00
parent 339353cce8
commit 30df122aba
339 changed files with 11011 additions and 1945 deletions

11
core/resolver.h Executable file → Normal file
View File

@ -51,7 +51,8 @@ struct IMTE_KEX : public IMTE
class redir_stub
{
public:
redir_stub(unsigned long target) : c_eax(0xb8), v_eax(target), c_jmp(0xe0ff) {}
redir_stub(unsigned long target, bool make_call = false) : c_eax(0xb8),
v_eax(target), c_jmp(make_call ? 0xd0ff : 0xe0ff) {}
private:
unsigned char c_eax;
@ -59,6 +60,14 @@ private:
unsigned short c_jmp;
};
struct config_params
{
ApiConfiguration* apiconf;
#ifdef _DEBUG
bool log_apis;
#endif
};
#pragma pack(pop)
DWORD encode_address(DWORD addr, const ApiLibrary* apilib);