Skip to content

GaiBrutman/adhook

Repository files navigation

ad-hook

ad-hook is an advanced, cross-architecture hooking framework, for you and your family.

Build Instructions

As of this version, an ARCH variable is required when building.

cmake -S . -B build -DARCH=$ARCH
cmake --build build

Running Unit Tests

To build the unit tests, the BUILD_TESTING flag must be set to ON.

... -DBUILD_TESTING=ON
cd build
ctest

Features

Multiple handlers per hook

Multiple handlers can subscribe to a single hook, than be called sequentially. Each handler can either yield, or continue to the next handle via call_next()

Implementation independent functionality

The hooking logic is independent of the actual patching logic. That is, more patching methods can be implemented using the core hooking logic.

Supported Patching methods

  • jumpto patching
  • address table overriding

Supported architectures

  • i386
  • x86_64
  • arm32le
  • arm32be
  • arm64le
  • arm64be
  • mipsbe
  • mipsle

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published