Microsoft-Detours port to arm64 macOS - a modern mach_override
Find a file
2025-10-04 00:25:19 +02:00
.idea copy disasm for internal_detour_copy_instruction 2025-09-29 23:36:09 +02:00
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 add catch2 2025-10-01 23:04:46 +02:00
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 make tests less flaky 2025-10-03 22:51:20 +02:00
.gitmodules add catch2 2025-10-01 23:04:46 +02:00
CMakeLists.txt reorganize cmakelists 2025-10-01 23:07:06 +02:00
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.