Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | A number of critical fixes painstakingly discovered in the slowest way possible. | comex | 2015-03-01 | 1 | -1/+1 |
| | |||||
* | Ban calls within transform regions in threadsafe mode. | comex | 2015-02-23 | 1 | -7/+2 |
| | |||||
* | fix some i386 stuff | comex | 2015-02-23 | 1 | -38/+46 |
| | |||||
* | more fixes | comex | 2015-02-15 | 1 | -6/+21 |
| | |||||
* | fix test cases | comex | 2015-02-14 | 1 | -1/+1 |
| | |||||
* | Trampoline fixes. | comex | 2015-02-14 | 1 | -7/+14 |
| | | | | | | | | | | | | | 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). | ||||
* | theoretically support x86 PIC | comex | 2015-02-09 | 1 | -14/+46 |
| | |||||
* | add transform-dis-{i386,x86_64} to makefile - fix a missing UNUSED | comex | 2015-02-09 | 1 | -0/+1 |
| | |||||
* | Refactor disassembly so x86 works, and add x86 transform-dis. | comex | 2015-02-08 | 1 | -0/+58 |
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. |