aboutsummaryrefslogtreecommitdiff
path: root/lib/darwin/substrate-compat.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* style policecomex2015-07-161-3/+5
|
* Add extra argument to substitute_hook_functions and interpose_imports for ↵comex2015-02-281-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.
* fix "panic" in substrate-compat.ccomex2015-02-241-4/+4
|
* Fix hook-function:comex2015-02-181-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.
* add SUBSTITUTE_DONT_STOP_THREADS for substrate compat - substrate doesn't do ↵comex2015-01-291-1/+1
| | | | this, and they might not be on the main thread. though that would be gross.
* fix substrate-compat; check in testcomex2015-01-251-3/+8
|
* add substitute_strerrorcomex2015-01-211-6/+10
|
* progress on injectioncomex2015-01-201-3/+3
|
* more reorganization - move OS X/iOS specific stuff into its own directorycomex2015-01-191-0/+55