aboutsummaryrefslogtreecommitdiff
path: root/lib/transform-dis.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove dead code for Vita: pc_callbackReiko Asakura2021-03-211-1/+0
|
* Fixed defination of CC_CBXZ collides with other bitsYifan Lu2016-11-231-0/+1
| | | | | | | | | 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
* fix arm64/armv7 ishcomex2015-02-241-1/+1
|
* Ban calls within transform regions in threadsafe mode.comex2015-02-231-1/+4
|
* Trampoline fixes.comex2015-02-141-0/+1
| | | | | | | | | | | | | The transformed code was incorrect because it assumed the pointer it was writing to was where the code would execute, but it was actually 'rewritten_temp'. Changed transform_dis_main to take a pc_trampoline pointer, which also helps the test harness. However, this means that it has to be called after the trampoline has been allocated, while before the trampoline allocation depended on the generated size; this change doesn't bother to use two passes or anything, but just allocates a new code buffer if the maximum possible size isn't available - not the end of the world, since trampoline_ptr will still only be increased by the actual size before the next hook in the series (if any).
* Refactor disassembly so x86 works, and add x86 transform-dis.comex2015-02-081-2/+3
| | | | | | | | | | This patch is a monolithic mess, because I was too lazy to do the refactor first (that would require some stash fun, since I wasn't actually sure before doing x86 transform-dis what would be needed). Anyway, the resulting code should be cleaner - less duplication. This breaks ARM/ARM64.
* fix ARM64 too, theoreticallycomex2015-02-031-2/+2
|
* fix my utter failure to handle branches/conditionals correctly (on ARM)comex2015-02-011-1/+1
|
* minor cleanup - stop caring about thumb outside of arch-specific codecomex2015-01-211-1/+1
| | | | | (and fix makefile bug where files whose names contained 'arm' would always be ldid'd)
* improve test; thumb2 fixescomex2015-01-171-0/+10