aboutsummaryrefslogtreecommitdiff
path: root/lib/darwin/substrate-compat.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-07-16style policecomex1-3/+5
2015-02-28Add extra argument to substitute_hook_functions and interpose_imports for ↵comex1-1/+1
use with unhooking. I think we'll need to explicitly record trampoline locations to avoid the possibility of stomping on someone else's stuff if the function was re-patched... Also, document substitute_hook_functions.
2015-02-24fix "panic" in substrate-compat.ccomex1-4/+4
2015-02-18Fix hook-function:comex1-1/+1
- Thread stoppage is now complemented by sigaction to catch injected threads (sigaction is not used exclusively because the rest of the program could be trying to use sigaction itself in the meantime - this is a real thing, ask Dolphin) - mprotect is no longer used due to max_protection possibly getting in the way; instead, a copy is created and mapped onto the original.
2015-01-29add SUBSTITUTE_DONT_STOP_THREADS for substrate compat - substrate doesn't do ↵comex1-1/+1
this, and they might not be on the main thread. though that would be gross.
2015-01-25fix substrate-compat; check in testcomex1-3/+8
2015-01-21add substitute_strerrorcomex1-6/+10
2015-01-20progress on injectioncomex1-3/+3
2015-01-19more reorganization - move OS X/iOS specific stuff into its own directorycomex1-0/+0
2015-01-10fixescomex1-1/+1
2015-01-10substratecomex1-0/+55