aboutsummaryrefslogtreecommitdiff
path: root/lib (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-12-26Updated Vita platform to support renamed functionsYifan Lu1-4/+4
2016-11-25Fix uninitialized variable in ARM32 transform_dis_branchYifan Lu1-0/+2
2016-11-23Changes to reflect older changes in mergeYifan Lu2-6/+7
2016-11-23Fixed defination of CC_CBXZ collides with other bitsYifan Lu7-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
2016-11-15avoid UBcomex1-2/+2
2016-11-15fix some ARM stuff including calls, and test itcomex4-15/+39
wow this code sucks
2016-11-13Fixed proper encoding of PUSH (STMDB) as ARM manual was wrong...Yifan Lu1-1/+1
2016-11-03Added ARM PUSH multi instruction assemblyYifan Lu2-1/+8
2016-11-03Fixed extraction for BL/BLX thumb2Yifan Lu1-4/+4
2016-11-03Implemented call rewrite support, fixes #3Yifan Lu2-1/+16
2016-11-03Made ARM patch alignment 0x4 so copy from kernel to user worksYifan Lu2-2/+4
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-11-03Bad handling of t2 BL/BLXYifan Lu1-2/+2
Fixes #1
2016-11-01Flush cache for mirror tooYifan Lu1-1/+2
2016-10-26Added passing of the opt data to recordsYifan Lu2-2/+6
2016-10-24Vita: Added logging and changed cache flush nameYifan Lu1-2/+10
2016-10-24Set outro pointer to use mirrored addressYifan Lu1-1/+2
2016-10-23Forgot NULL pointer checkYifan Lu1-4/+6
2016-10-23Moved cache flushing to an exportYifan Lu1-7/+3
2016-10-23Fixed warning about unused functionYifan Lu2-2/+2
Fixed warning about incompatible types
2016-10-18Added execmem foreign write for VitaYifan Lu1-1/+16
2016-10-18Added exemem for VitaYifan Lu3-6/+36
Removed unneeded field for hooks
2016-10-09Moved slab allocator out of substituteYifan Lu3-428/+6
2016-10-09Getting the mirror address from Vita exec slabYifan Lu2-0/+14
2016-10-09Added basic hook removal supportYifan Lu2-2/+58
2016-10-09Slab allocation mirroring for VitaYifan Lu6-27/+32
2016-10-08Added slab allocator for trampoline in Vita platformYifan Lu6-20/+491
Added support for smaller (non-page) allocations for trampoline
2016-10-08Added support for platform specific aux data to execmemYifan Lu5-19/+28
2016-10-05Support using a different VMA for the hook destYifan Lu2-1/+4
2016-10-05Changed malloc in substitute_hook_functions to allocaYifan Lu1-2/+2
2016-10-05execmem_alloc_unsealed now outputs a separate pointer for exec and writing ↵Yifan Lu4-21/+33
to allow for mirrored writes
2016-10-05Fixed missing trampoline_size_left decrement for making initial trampoline jumpYifan Lu2-0/+25
Added comment about min exec page size requirement
2016-10-04Added option to removed pthread dependencyYifan Lu3-2/+12
Added option to remove dynamic linker stuff Fixed a reference in strerror.c that depends on __APPLE__ being defined
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