This library allows you to get the syscall ID of functions exported by any module with the typical syscall prefix, without using any windows api or even linking against crt <3.
what this shit does:
- access peb/module headers to diy GetProcAddress and GetModuleHandleW
- read the syscall id directly
- common sense (not sold seperately)
- brain (sold seperately)
- if you're too lazy to read example.cpp:
#include "SysThatCode.h"
#include <iostream>
int main()
{
std::string ModuleName = "ntdll.dll";
std::string funcName = "NtOpenProcess";
DWORD syscallID = GetSyscallIDX(ModuleName,funcName);
std::cout << "Syscall index: " << syscallID << std::endl;
return 0;
}