Initial commit

This commit is contained in:
drof
2026-11-05 02:19:09 +01:00
commit 13f8503697
125 changed files with 17029 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#include <include.h>
void* instr::system_call_t::stub() noexcept
{
auto length = sizeof(*this);
auto* result = win_api::rebuilt::virtual_alloc(nullptr, length, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);
if (result)
{
memset(result, 0, length);
memcpy(result, this, length);
}
return result;
}