copy disasm for internal_detour_copy_instruction

This commit is contained in:
Lysann Tranvouez 2025-09-29 23:36:09 +02:00
parent 4963fbc33c
commit e04585377a
5 changed files with 702 additions and 4 deletions

View file

@ -1,14 +1,18 @@
cmake_minimum_required(VERSION 4.0)
project(mach_detours C)
project(mach_detours C CXX)
set(CMAKE_C_STANDARD 23)
set(CMAKE_CXX_STANDARD 23)
add_library(mach_detours SHARED
include/mach_detours.h
src/mach_detours.c
src/detours_internal.h
src/detours_disasm.h
src/mach_detours.c
src/arm64/detours_arm64.h
src/arm64/detours_arm64_disasm.cpp
)
target_include_directories(mach_detours