Skip to content

Instantly share code, notes, and snippets.

View wulfgarpro's full-sized avatar
🤘

James Fraser wulfgarpro

🤘
View GitHub Profile
@wulfgarpro
wulfgarpro / LowUtilities.cpp
Created November 22, 2023 02:32 — forked from D4stiny/LowUtilities.cpp
A dependency-less implementation of GetModuleHandle and GetProcAddress.
//
// An implementation of GetModuleHandle and GetProcAddress that works with manually mapped modules, forwarded exports,
// without a CRT standard library, and uses no Windows API or dependencies.
//
// Author: Bill Demirkapi
// License: MIT, appended at the bottom of this document if you care about licensing and want to credit me in your own project.
//
#include <Windows.h>
#include <winternl.h>