aboutsummaryrefslogtreecommitdiff
path: root/lib/substitute.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Changes to reflect older changes in mergeYifan Lu2016-11-231-4/+4
|
* Fixed defination of CC_CBXZ collides with other bitsYifan Lu2016-11-231-0/+4
| | | | | | | | | 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
* Added passing of the opt data to recordsYifan Lu2016-10-261-1/+4
|
* Added exemem for VitaYifan Lu2016-10-181-2/+0
| | | | Removed unneeded field for hooks
* Added basic hook removal supportYifan Lu2016-10-091-2/+22
|
* Added support for platform specific aux data to execmemYifan Lu2016-10-081-0/+2
|
* Support using a different VMA for the hook destYifan Lu2016-10-051-0/+2
|
* Added option to removed pthread dependencyYifan Lu2016-10-041-2/+4
| | | | | Added option to remove dynamic linker stuff Fixed a reference in strerror.c that depends on __APPLE__ being defined
* 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-161-1/+2
|
* stuff!comex2015-07-101-2/+2
|
* fixes for compiling on older OS Xcomex2015-03-031-0/+1
|
* Add extra argument to substitute_hook_functions and interpose_imports for ↵comex2015-02-281-9/+55
| | | | | | | | | | 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 (and make more robust) strerror.ccomex2015-02-241-12/+14
|
* Ban calls within transform regions in threadsafe mode.comex2015-02-231-0/+8
|
* Fix hook-function:comex2015-02-181-5/+4
| | | | | | | | | | - 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.
* some more stuff compilescomex2015-01-281-3/+3
|
* fix strerrorcomex2015-01-251-1/+1
|
* fixescomex2015-01-251-0/+8
|
* ...comex2015-01-241-1/+5
|
* Add function to deal with mprotecting RW and back. A bit more complex than ↵comex2015-01-241-0/+1
| | | | | | the minimum would be... (and minor build fixes)
* stopping other threads.comex2015-01-211-0/+14
|
* add substitute_strerrorcomex2015-01-211-0/+3
|
* progress on injectioncomex2015-01-201-5/+6
|
* fixes and test - both tests work on all archscomex2015-01-171-3/+5
|
* imp forwarding workscomex2015-01-171-8/+13
|
* and now for something completely different: assembly maybestret-IMPLcomex2015-01-161-0/+32
| | | | forwarding functions for atomicity
* interpose (based on %c based on data) compiles...comex2015-01-161-13/+99
|
* add licensingcomex2015-01-101-1/+2
|
* substratecomex2015-01-101-2/+9
|
* private syms starting to look goodcomex2015-01-101-6/+38
|
* simplifycomex2015-01-101-8/+15
|
* nah - this is nice looking but nonportablecomex2015-01-101-0/+39