aboutsummaryrefslogtreecommitdiff
path: root/test/test-hook-functions.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add extra argument to substitute_hook_functions and interpose_imports for ↵comex2015-02-281-1/+2
| | | | | | | | | | 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 vm_remap, of trouble with which the previous diagnosis was completely ↵comex2015-02-231-0/+11
| | | | | | | | | | | incorrect. It's actually the fact that no vm_map_server actually exists on the kernel side - even though the otherwise useless function vm_remap exists in the kernel source, and mig generates server code for it, apparently that server code isn't built or linked into the kobject table. Bizarre. Anyway, switch to mach_vm_remap, which is what vm_remap in userspace calls into.
* various fixescomex2015-02-181-1/+1
|
* fix substrate-compat; check in testcomex2015-01-251-0/+62