aboutsummaryrefslogtreecommitdiff
path: root/lib (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-11-03Fixed extraction for BL/BLX thumb2Yifan Lu1-4/+4
2016-11-03Bad handling of t2 BL/BLXYifan Lu1-2/+2
Fixes #1
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-04-19commentcomex1-1/+2
2016-04-19commentcomex1-1/+1
2016-01-27Fix incorrect handling if there is no local symbol info in the cache.comex1-1/+4
2015-08-17stuffcomex5-3/+87
2015-08-07formattingcomex2-93/+94
2015-08-07add VEC_STORAGE_INIT_STATIC to match the HTAB onecomex1-0/+5
2015-08-07fix vec.h bugcomex2-3/+3
2015-07-18future proofingcomex1-1/+2
2015-07-17formattingcomex1-1/+1
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-16Add options field to struct substitute_{function,import}_hook.comex1-2/+12
I will probably need to add an option to deal with GCC 5.2's new optimization - to not save caller-saved registers if the called function is known not to use them, which would break with hooked functions. Don't want to emit the required stub by default because it will likely be slow. I need to verify that Clang doesn't currently have such an optimization... (ABI break - need to avoid this once it gets widely distributed Soon, obviously)
2015-07-16style policecomex12-45/+94
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.comex2-11/+199
2015-07-13hook up the list of dylibscomex2-0/+9
2015-07-12don't be n^2 for removal, lol. i should probably switch to rust's robin ↵comex1-21/+12
hood hashing - it isn't that much code and supposedly performs much better when the table gets full. *however*, it requires checking the hash of every entry in the chain during insert, which basically means storing it, which means more memory usage ... but by allowing fuller tables it could decrease memory usage. but if you have a big table anyway to avoid copying, you don't want *extra*... and storing the hash twice in the simple case is so dumb feeling. dunno.
2015-07-12fix my hash table algorithm - arghcomex1-14/+35
2015-07-12fixescomex1-0/+4
2015-07-12redo crash reporting - untested (but it compiles)comex2-21/+41
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-1/+4
2015-07-10stuff!comex3-5/+6
2015-07-07redo all the things with xpc - not tested yetcomex1-0/+63
2015-07-07testscomex1-0/+4
2015-04-15fix for compiling objc-asm.S on ARM with newer Apple compilercomex1-1/+1
2015-03-03fixes for compiling on older OS Xcomex2-1/+6
2015-03-01A number of critical fixes painstakingly discovered in the slowest way possible.comex12-23/+39
2015-03-01fix stack alignmentcomex1-3/+6
2015-03-01Let's get hacky!comex1-3/+16
2015-03-01make jump-dis use a vec as a stack, rather than a hacky queuecomex2-26/+18
2015-03-01add veccomex4-9/+156
2015-02-28Add extra argument to substitute_hook_functions and interpose_imports for ↵comex4-12/+68
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 (and make more robust) strerror.ccomex3-14/+20
2015-02-24Add unaligned read/write functions.comex7-8/+34
I thought I could get away without since I wasn't (presently) targeting systems without hardware support for unaligned accesses, but on armv7 clang insists on optimizing into the one ARM instruction that requires alignment anyway - LDM/STM. Oops. Damnit, clang.
2015-02-24fix armv7 syscall registers :ocomex1-1/+6
2015-02-24fix "panic" in substrate-compat.ccomex1-4/+4
2015-02-24fix arm64/armv7 ishcomex5-6/+13