aboutsummaryrefslogtreecommitdiff
path: root/lib/darwin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of https://github.com/comex/substituteYifan Lu2016-11-231-2/+2
|\
| * avoid UBcomex2016-11-151-2/+2
| |
* | Slab allocation mirroring for VitaYifan Lu2016-10-091-2/+2
| |
* | Added slab allocator for trampoline in Vita platformYifan Lu2016-10-081-2/+2
| | | | | | | | Added support for smaller (non-page) allocations for trampoline
* | Added support for platform specific aux data to execmemYifan Lu2016-10-081-3/+4
| |
* | execmem_alloc_unsealed now outputs a separate pointer for exec and writing ↵Yifan Lu2016-10-051-1/+2
|/ | | | to allow for mirrored writes
* 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
* Fix incorrect handling if there is no local symbol info in the cache.comex2016-01-271-1/+4
|
* future proofingcomex2015-07-181-1/+2
|
* baton fixcomex2015-07-161-2/+9
|
* optimizationcomex2015-07-161-2/+5
|
* fix idiotic mistake from the <redacted> symbols commitcomex2015-07-161-1/+1
|
* Revert <stdatomic.h> dependency.comex2015-07-161-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.
* style policecomex2015-07-167-33/+69
|
* work around (incorrect, since it's not code) alignment warningcomex2015-07-161-1/+1
|
* fix accidentally exported symbolscomex2015-07-162-2/+2
|
* typocomex2015-07-161-1/+1
|
* orderingcomex2015-07-161-8/+8
|
* Import some code to handle <redacted> syms.comex2015-07-161-11/+197
|
* hook up the list of dylibscomex2015-07-131-0/+2
|
* fixescomex2015-07-121-0/+4
|
* redo crash reporting - untested (but it compiles)comex2015-07-121-0/+8
|
* how did that style violation get in there? must have been tiredcomex2015-07-121-4/+8
|
* working on safetycomex2015-07-111-5/+18
|
* fix anti-noisecomex2015-07-111-0/+66
|
* fix for compiling objc-asm.S on ARM with newer Apple compilercomex2015-04-151-1/+1
|
* fixes for compiling on older OS Xcomex2015-03-031-1/+5
|
* fix stack alignmentcomex2015-03-011-3/+6
|
* Add extra argument to substitute_hook_functions and interpose_imports for ↵comex2015-02-282-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.
* fix accidental usage of panic() from mach/mach.h instead of substitute_paniccomex2015-02-282-7/+9
|
* Add substituted and fix things up to use it. Still untested.comex2015-02-281-0/+5
|
* Rename ios-bootstrap to darwin-bootstrap; cleanup posixspawn-hook and ↵comex2015-02-281-145/+0
| | | | | | unrestrict. Not tested yet.
* fix armv7 syscall registers :ocomex2015-02-241-1/+6
|
* fix "panic" in substrate-compat.ccomex2015-02-241-4/+4
|
* fix arm64/armv7 ishcomex2015-02-242-3/+10
|
* fix i386 manual syscall, mmap return checkcomex2015-02-232-5/+9
|
* 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-234-84/+114
| | | | 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-185-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.
* ...comex2015-01-291-48/+2
|
* a bunch of stuff that should have been committed separatelycomex2015-01-292-13/+22
|
* add SUBSTITUTE_DONT_STOP_THREADS for substrate compat - substrate doesn't do ↵comex2015-01-291-1/+1
| | | | this, and they might not be on the main thread. though that would be gross.
* misc. fixescomex2015-01-291-1/+0
|
* get rid of the unnecessary CoreFoundation dependencycomex2015-01-291-40/+42
|
* port some old codecomex2015-01-291-1/+2
|
* ***yawn***comex2015-01-282-10/+13
|