aboutsummaryrefslogtreecommitdiff
path: root/lib/arm64 (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-07-16style policecomex1-1/+2
2015-03-01A number of critical fixes painstakingly discovered in the slowest way possible.comex2-3/+4
2015-02-24Add unaligned read/write functions.comex1-1/+1
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 arm64/armv7 ishcomex1-1/+1
2015-02-23Add transform-dis-cases-arm64.S and fix a serious bug thus discovered.comex1-3/+3
Commit transform-dis-cases-x86_64.S, which I forgot to earlier.
2015-02-23Ban calls within transform regions in threadsafe mode.comex3-9/+11
2015-02-18various fixescomex1-4/+1
2015-02-14Trampoline fixes.comex2-2/+7
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).
2015-02-09call vs. branch fixes on ARM (though really I should just ignore calls)comex1-1/+1
2015-02-09morecomex2-13/+15
2015-02-08Fix other architectures compiling - haven't tried *running* anything..comex1-21/+21
2015-02-08Refactor disassembly so x86 works, and add x86 transform-dis.comex4-36/+40
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.
2015-02-08starting x86 supportcomex2-2/+3
2015-02-03fix ARM64 too, theoreticallycomex5-20/+87
2015-02-01formattingcomex2-11/+19
2015-02-01fix my utter failure to handle branches/conditionals correctly (on ARM)comex3-1/+17
2015-01-25fixescomex2-8/+9
2015-01-24it compiles...comex3-4/+14
2015-01-24...comex4-42/+80
2015-01-19some reorganizationcomex3-0/+107