Microsoft-Detours port to arm64 macOS - a modern mach_override
Find a file
Lysann Tranvouez 701d6c78f2 do not optimize the test lib
else localFunction in test_local_function is likely inlined and the tests fail
2025-11-21 13:16:01 +01:00
.idea
docs even more docs 2025-10-04 00:20:05 +02:00
include add detour_free_unused_regions 2025-10-03 22:32:08 +02:00
lib
sample even more docs 2025-10-04 00:20:05 +02:00
src even more docs 2025-10-04 00:20:05 +02:00
tests do not optimize the test lib 2025-11-21 13:16:01 +01:00
.gitmodules
CMakeLists.txt
LICENSE.md formatting 2025-10-04 00:25:19 +02:00
README.md even more docs 2025-10-04 00:20:05 +02:00

mach-detours

An instrumentation library for modern arm64 macOS.

mach_override is no longer maintained and doesn't run on arm64 or modern macOS with tightened security.
Microsoft-Detours is Windows only but supports arm64.
mach-detours is based on Microsoft-Detours, but adapted to macOS (using mach/mach.h system functions), and limited to only arm64.

Tested on M4 Pro running macOS 15.1.

For technical documentation, see the documentation overview.