aboutsummaryrefslogtreecommitdiff
path: root/lib/darwin (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-11-15avoid UBcomex1-2/+2
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
2016-01-27Fix incorrect handling if there is no local symbol info in the cache.comex1-1/+4
2015-07-18future proofingcomex1-1/+2
2015-07-16baton fixcomex1-2/+9
2015-07-16optimizationcomex1-2/+5
2015-07-16fix idiotic mistake from the <redacted> symbols commitcomex1-1/+1
2015-07-16Revert <stdatomic.h> dependency.comex1-10/+8
it was added in the otherwise cosmetic dfd16cc1f759a103707ebd27743abc621486e131 because I didn't change the generated code at all - just switched to the standard aliases of the functions I was already using. But I forgot that <stdatomic.h> isn't present in relatively recent Xcode, so I'm switching back for now.
2015-07-16style policecomex7-33/+69
2015-07-16work around (incorrect, since it's not code) alignment warningcomex1-1/+1
2015-07-16fix accidentally exported symbolscomex2-2/+2
2015-07-16typocomex1-1/+1
2015-07-16orderingcomex1-8/+8
2015-07-16Import some code to handle <redacted> syms.comex1-11/+197
2015-07-13hook up the list of dylibscomex1-0/+2
2015-07-12fixescomex1-0/+4
2015-07-12redo crash reporting - untested (but it compiles)comex1-0/+8
2015-07-12how did that style violation get in there? must have been tiredcomex1-4/+8
2015-07-11working on safetycomex1-5/+18
2015-07-11fix anti-noisecomex1-0/+66
2015-04-15fix for compiling objc-asm.S on ARM with newer Apple compilercomex1-1/+1
2015-03-03fixes for compiling on older OS Xcomex1-1/+5
2015-03-01fix stack alignmentcomex1-3/+6
2015-02-28Add extra argument to substitute_hook_functions and interpose_imports for ↵comex2-2/+7
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-28fix accidental usage of panic() from mach/mach.h instead of substitute_paniccomex2-7/+9
2015-02-28Add substituted and fix things up to use it. Still untested.comex1-0/+5
2015-02-28Rename ios-bootstrap to darwin-bootstrap; cleanup posixspawn-hook and ↵comex1-145/+0
unrestrict. Not tested yet.
2015-02-24fix armv7 syscall registers :ocomex1-1/+6
2015-02-24fix "panic" in substrate-compat.ccomex1-4/+4
2015-02-24fix arm64/armv7 ishcomex2-3/+10
2015-02-23fix i386 manual syscall, mmap return checkcomex2-5/+9
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 ↵comex4-84/+114
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:comex5-249/+414
- 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-29...comex1-48/+2
2015-01-29a bunch of stuff that should have been committed separatelycomex2-13/+22
2015-01-29add SUBSTITUTE_DONT_STOP_THREADS for substrate compat - substrate doesn't do ↵comex1-1/+1
this, and they might not be on the main thread. though that would be gross.
2015-01-29misc. fixescomex1-1/+0
2015-01-29get rid of the unnecessary CoreFoundation dependencycomex1-40/+42
2015-01-29port some old codecomex1-1/+2
2015-01-28***yawn***comex2-10/+13
2015-01-28sortacomex1-7/+26