GitPedia

LinuxDetours

A function intercept library for Linux applications

From unknownv2·Updated May 2, 2026·View on GitHub·

The [Microsoft Detours](https://github.com/Microsoft/Detours) library combined with the [EasyHook](https://github.com/EasyHook/EasyHook) C module thread barrier implementation and modified to work on Linux with support for X64, ARM (supports both ARM32 and Thumb instructions), and ARM64 architectures. The project is written primarily in C++, distributed under the MIT License license, first published in 2018. Key topics include: arm, arm32, arm64, detours, hook-functions.

Linux Detours

License

The Microsoft Detours library combined with the EasyHook C module thread barrier implementation and modified to work on Linux with support for X64, ARM (supports both ARM32 and Thumb instructions), and ARM64 architectures.

Dependencies

Google Logging Module - glog

You can install it by running:

sudo apt-get install libgoogle-glog-dev

Build

LinuxDetours - Application

You can use Visual Studio to build the LinuxDetours application after configuring the project to connect to your Linux system.

libdetours - Shared Library (*.so, *.dylib)

You can use the makefile to build the shared library. The makefile outputs libdetours32 for ARM and libdetours64 for X64 and ARM64 in the LinuxDetours source directory.

git clone https://github.com/unknownv2/LinuxDetours.git
cd LinuxDetours
make -C LinuxDetours

Contributors

Showing top 1 contributor by commit count.

View all contributors on GitHub →

This article is auto-generated from unknownv2/LinuxDetours via the GitHub API.Last fetched: 6/22/2026