Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Made ARM patch alignment 0x4 so copy from kernel to user works | Yifan Lu | 2016-11-03 | 2 | -2/+4 |
| | |||||
* | Fixed extraction for BL/BLX thumb2 | Yifan Lu | 2016-11-03 | 1 | -4/+4 |
| | |||||
* | Bad handling of t2 BL/BLX | Yifan Lu | 2016-11-03 | 1 | -2/+2 |
| | | | | Fixes #1 | ||||
* | Fixed warning about unused function | Yifan Lu | 2016-10-23 | 1 | -1/+1 |
| | | | | Fixed warning about incompatible types | ||||
* | A number of critical fixes painstakingly discovered in the slowest way possible. | comex | 2015-03-01 | 4 | -9/+15 |
| | |||||
* | Add unaligned read/write functions. | comex | 2015-02-24 | 4 | -4/+4 |
| | | | | | | | 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. | ||||
* | Ban calls within transform regions in threadsafe mode. | comex | 2015-02-23 | 4 | -13/+36 |
| | |||||
* | various fixes | comex | 2015-02-18 | 1 | -0/+1 |
| | |||||
* | Trampoline fixes. | comex | 2015-02-14 | 1 | -0/+4 |
| | | | | | | | | | | | | | 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). | ||||
* | call vs. branch fixes on ARM (though really I should just ignore calls) | comex | 2015-02-09 | 1 | -3/+1 |
| | |||||
* | Fix a broken bit test. | comex | 2015-02-09 | 1 | -1/+3 |
| | |||||
* | more | comex | 2015-02-09 | 2 | -26/+34 |
| | |||||
* | Fix other architectures compiling - haven't tried *running* anything.. | comex | 2015-02-08 | 4 | -42/+52 |
| | |||||
* | Refactor disassembly so x86 works, and add x86 transform-dis. | comex | 2015-02-08 | 4 | -57/+61 |
| | | | | | | | | | | 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. | ||||
* | starting x86 support | comex | 2015-02-08 | 2 | -3/+4 |
| | |||||
* | Make the ARM branches actually go to the right place. I need automated ↵ | comex | 2015-02-03 | 2 | -3/+4 |
| | | | | tests before stable. | ||||
* | whoops, don't mean to always jump to thumb mode | comex | 2015-02-01 | 1 | -1/+1 |
| | |||||
* | fix my utter failure to handle branches/conditionals correctly (on ARM) | comex | 2015-02-01 | 7 | -55/+213 |
| | |||||
* | fixes | comex | 2015-01-25 | 1 | -2/+0 |
| | |||||
* | it compiles... | comex | 2015-01-24 | 4 | -57/+64 |
| | |||||
* | ... | comex | 2015-01-24 | 4 | -97/+129 |
| | |||||
* | minor cleanup - stop caring about thumb outside of arch-specific code | comex | 2015-01-21 | 3 | -9/+12 |
| | | | | | (and fix makefile bug where files whose names contained 'arm' would always be ldid'd) | ||||
* | some reorganization | comex | 2015-01-19 | 6 | -0/+690 |