Reloaded-Project / Reloaded.Hooks

Advanced native function hooks for x86, x64. Welcome to the next level!
GNU Lesser General Public License v3.0
213 stars 33 forks source link
api-hooking csharp detours game-hacking hooks reverse-engineering trampolines x64 x86-32 x86-64

Project Reloaded: Hooking



WTF You can unit test function hooks!?

Coverage NuGet

Introduction

Reloaded.Hooks is a library for intercepting and modifying existing binary functions on x86 and x64 machines. It is most often used to either intercept Win32 API calls (e.g. NtCreateFile to find out what files the current process is loading) or to patch existing functions within a program; e.g. patching software at runtime.

If this concept is unfamiliar to you; I would suggest to research the term Hooking while reading the documentation.

Reloaded.Hooks is a managed alternative to native libraries such as MinHook and Detours, targeted at tackling more advanced/difficult use cases; such as when functions do not use standard calling conventions.

Feature Highlights

Documentation

As advanced as the library may sound, in reality using the library is super simple. Please visit the dedicated documentation site for getting started.

In addition, feel free to look through Reloaded.Hooks.Tests for some ideas 😉.

Contributions

As with the standard for all of the Reloaded-Project, repositories; contributions are very welcome and encouraged.

Feel free to implement new features, make bug fixes or suggestions so long as they are accompanied by an issue with a clear description of the pull request.

If you are implementing new features, please do provide the appropriate unit tests to cover the new features you have implemented; try to keep the coverage high 😊.

Authors & Contributions

Legacy