Skip to content

Instantly share code, notes, and snippets.

View D4stiny's full-sized avatar
🏠
Working from home

Bill Demirkapi D4stiny

🏠
Working from home
View GitHub Profile
f5229314179a5ff063b5ae32c9bd6bc14e831cc68089b2991ced784981483ac2
@D4stiny
D4stiny / LowUtilities.cpp
Last active November 22, 2023 02:32
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>