aboutsummaryrefslogtreecommitdiff
path: root/lib/darwin/execmem.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-10-09Slab allocation mirroring for VitaYifan Lu1-2/+2
2016-10-08Added slab allocator for trampoline in Vita platformYifan Lu1-2/+2
Added support for smaller (non-page) allocations for trampoline
2016-10-08Added support for platform specific aux data to execmemYifan Lu1-3/+4
2016-10-05execmem_alloc_unsealed now outputs a separate pointer for exec and writing ↵Yifan Lu1-1/+2
to allow for mirrored writes
2016-07-12replace broken gen-manual-mach.sh with a Python versioncomex1-2/+0
it was dropping the #pragma pack(4) declarations, rendering it broken for like most of the last year
2015-07-16style policecomex1-1/+2
2015-02-24fix arm64/armv7 ishcomex1-2/+2
2015-02-23fix i386 manual syscall, mmap return checkcomex1-3/+4
2015-02-23Fix vm_remap, of trouble with which the previous diagnosis was completely ↵comex1-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.
2015-02-23remove old commentcomex1-5/+0
2015-02-23and avoid call to pthreadscomex1-1/+5
2015-02-23Redo manual syscalls, and use them for hooking.. And fix mmap, which now ↵comex1-36/+72
makes the whole thing slightly broken, because vm_remap into the middle of the shared region apparently silently does nothing.
2015-02-18various fixescomex1-3/+11
2015-02-18er, don't unnecessarily spam thread start/resume.comex1-27/+34
2015-02-18Fix hook-function:comex1-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.
2015-01-25this is dumbcomex1-2/+2
2015-01-24it compiles...comex1-0/+19
2015-01-24Add function to deal with mprotecting RW and back. A bit more complex than ↵comex1-0/+57
the minimum would be... (and minor build fixes)