aboutsummaryrefslogtreecommitdiff
path: root/test/test-hook-functions.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-02-28Add extra argument to substitute_hook_functions and interpose_imports for ↵comex1-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.
2015-02-23Fix vm_remap, of trouble with which the previous diagnosis was completely ↵comex1-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.
2015-02-18various fixescomex1-1/+1
2015-01-25fix substrate-compat; check in testcomex1-0/+62