aboutsummaryrefslogtreecommitdiff
path: root/lib/darwin/execmem.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* replace broken gen-manual-mach.sh with a Python versioncomex2016-07-121-2/+0
| | | | | it was dropping the #pragma pack(4) declarations, rendering it broken for like most of the last year
* style policecomex2015-07-161-1/+2
|
* fix arm64/armv7 ishcomex2015-02-241-2/+2
|
* fix i386 manual syscall, mmap return checkcomex2015-02-231-3/+4
|
* Fix vm_remap, of trouble with which the previous diagnosis was completely ↵comex2015-02-231-10/+12
| | | | | | | | | | | 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.
* remove old commentcomex2015-02-231-5/+0
|
* and avoid call to pthreadscomex2015-02-231-1/+5
|
* Redo manual syscalls, and use them for hooking.. And fix mmap, which now ↵comex2015-02-231-36/+72
| | | | makes the whole thing slightly broken, because vm_remap into the middle of the shared region apparently silently does nothing.
* various fixescomex2015-02-181-3/+11
|
* er, don't unnecessarily spam thread start/resume.comex2015-02-181-27/+34
|
* Fix hook-function:comex2015-02-181-44/+388
| | | | | | | | | | - 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.
* this is dumbcomex2015-01-251-2/+2
|
* it compiles...comex2015-01-241-0/+19
|
* Add function to deal with mprotecting RW and back. A bit more complex than ↵comex2015-01-241-0/+57
the minimum would be... (and minor build fixes)