aboutsummaryrefslogtreecommitdiff
path: root/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Changes to reflect older changes in mergeYifan Lu2016-11-232-6/+7
|
* Fixed defination of CC_CBXZ collides with other bitsYifan Lu2016-11-237-13/+41
| | | | | | | | | Fixed incorrect pc value in tdctx_to_actx Fixed ARM32 handling of CC_CBXZ (uses incorrect field in ctx->base) Fixed ARM32 transform_dis_branch incorrectly trashing LR for non-call based jumps Fixed ARM32 make_jump_patch not updated to use new assemble_ctx Added new option SUBSTITUTE_RELAXED to relax the disassembly engine Currently SUBSTITUTE_RELAXED only disables TRANSFORM_DIS_REL_JUMPS so jumps at the beginning of functions are allowed
* Merge branch 'master' of https://github.com/comex/substituteYifan Lu2016-11-235-24/+41
|\
| * avoid UBcomex2016-11-151-2/+2
| |
| * fix some ARM stuff including calls, and test itcomex2016-11-154-15/+39
| | | | | | | | wow this code sucks
| * Fixed extraction for BL/BLX thumb2Yifan Lu2016-11-031-4/+4
| |
| * Bad handling of t2 BL/BLXYifan Lu2016-11-031-2/+2
| | | | | | | | Fixes #1
* | Fixed proper encoding of PUSH (STMDB) as ARM manual was wrong...Yifan Lu2016-11-131-1/+1
| |
* | Added ARM PUSH multi instruction assemblyYifan Lu2016-11-032-1/+8
| |
* | Implemented call rewrite support, fixes #3Yifan Lu2016-11-032-1/+16
| |
* | Made ARM patch alignment 0x4 so copy from kernel to user worksYifan Lu2016-11-032-2/+4
| |
* | Fixed extraction for BL/BLX thumb2Yifan Lu2016-11-031-4/+4
| |
* | Bad handling of t2 BL/BLXYifan Lu2016-11-031-2/+2
| | | | | | | | Fixes #1
* | Flush cache for mirror tooYifan Lu2016-11-011-1/+2
| |
* | Added passing of the opt data to recordsYifan Lu2016-10-262-2/+6
| |
* | Vita: Added logging and changed cache flush nameYifan Lu2016-10-241-2/+10
| |
* | Set outro pointer to use mirrored addressYifan Lu2016-10-241-1/+2
| |
* | Forgot NULL pointer checkYifan Lu2016-10-231-4/+6
| |
* | Moved cache flushing to an exportYifan Lu2016-10-231-7/+3
| |
* | Fixed warning about unused functionYifan Lu2016-10-232-2/+2
| | | | | | | | Fixed warning about incompatible types
* | Added execmem foreign write for VitaYifan Lu2016-10-181-1/+16
| |
* | Added exemem for VitaYifan Lu2016-10-183-6/+36
| | | | | | | | Removed unneeded field for hooks
* | Moved slab allocator out of substituteYifan Lu2016-10-093-428/+6
| |
* | Getting the mirror address from Vita exec slabYifan Lu2016-10-092-0/+14
| |
* | Added basic hook removal supportYifan Lu2016-10-092-2/+58
| |
* | Slab allocation mirroring for VitaYifan Lu2016-10-096-27/+32
| |
* | Added slab allocator for trampoline in Vita platformYifan Lu2016-10-086-20/+491
| | | | | | | | Added support for smaller (non-page) allocations for trampoline
* | Added support for platform specific aux data to execmemYifan Lu2016-10-085-19/+28
| |
* | Support using a different VMA for the hook destYifan Lu2016-10-052-1/+4
| |
* | Changed malloc in substitute_hook_functions to allocaYifan Lu2016-10-051-2/+2
| |
* | execmem_alloc_unsealed now outputs a separate pointer for exec and writing ↵Yifan Lu2016-10-054-21/+33
| | | | | | | | to allow for mirrored writes
* | Fixed missing trampoline_size_left decrement for making initial trampoline jumpYifan Lu2016-10-052-0/+25
| | | | | | | | Added comment about min exec page size requirement
* | Added option to removed pthread dependencyYifan Lu2016-10-043-2/+12
|/ | | | | Added option to remove dynamic linker stuff Fixed a reference in strerror.c that depends on __APPLE__ being defined
* 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
* commentcomex2016-04-191-1/+2
|
* commentcomex2016-04-191-1/+1
|
* Fix incorrect handling if there is no local symbol info in the cache.comex2016-01-271-1/+4
|
* stuffcomex2015-08-175-3/+87
|
* formattingcomex2015-08-072-93/+94
|
* add VEC_STORAGE_INIT_STATIC to match the HTAB onecomex2015-08-071-0/+5
|
* fix vec.h bugcomex2015-08-072-3/+3
|
* future proofingcomex2015-07-181-1/+2
|
* formattingcomex2015-07-171-1/+1
|
* 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.
* Add options field to struct substitute_{function,import}_hook.comex2015-07-161-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)
* style policecomex2015-07-1612-45/+94
|
* work around (incorrect, since it's not code) alignment warningcomex2015-07-161-1/+1
|