test overriding a local function
This commit is contained in:
parent
4947fb5553
commit
5e76138b53
7 changed files with 81 additions and 1 deletions
|
|
@ -1,6 +1,11 @@
|
|||
# Copyright (c) Lysann Tranvouez. All rights reserved.
|
||||
|
||||
add_executable(mach_detours_tests
|
||||
test.cpp)
|
||||
|
||||
# The target function must be in a shared library because otherwise it might be in the same code page as the test.cpp functions.
|
||||
# Between attach and commit the target function's code page is not executable, which can mean our test driver code would not
|
||||
# be executable.
|
||||
add_library(mach_detours_test_func SHARED
|
||||
test_func.c
|
||||
test_func.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue