Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fix test cases | comex | 2015-02-14 | 2 | -2/+2 | |
| | ||||||
* | Trampoline fixes. | comex | 2015-02-14 | 10 | -48/+86 | |
| | | | | | | | | | | | | | 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 | |
| | ||||||
* | call vs. branch fixes on ARM (though really I should just ignore calls) | comex | 2015-02-09 | 2 | -4/+2 | |
| | ||||||
* | add transform-dis-{i386,x86_64} to makefile - fix a missing UNUSED | comex | 2015-02-09 | 1 | -0/+1 | |
| | ||||||
* | Fix a broken bit test. | comex | 2015-02-09 | 1 | -1/+3 | |
| | ||||||
* | more | comex | 2015-02-09 | 5 | -40/+51 | |
| | ||||||
* | Fix other architectures compiling - haven't tried *running* anything.. | comex | 2015-02-08 | 6 | -74/+85 | |
| | ||||||
* | Refactor disassembly so x86 works, and add x86 transform-dis. | comex | 2015-02-08 | 20 | -197/+298 | |
| | | | | | | | | | | 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. | |||||
* | formatting | comex | 2015-02-08 | 1 | -11/+17 | |
| | ||||||
* | starting x86 support | comex | 2015-02-08 | 10 | -129/+341 | |
| | ||||||
* | right, going to bed | comex | 2015-02-05 | 2 | -18/+78 | |
| | ||||||
* | starting dis-tables.h | comex | 2015-02-05 | 1 | -0/+79 | |
| | ||||||
* | Make the ARM branches actually go to the right place. I need automated ↵ | comex | 2015-02-03 | 2 | -3/+4 | |
| | | | | tests before stable. | |||||
* | fix ARM64 too, theoretically | comex | 2015-02-03 | 8 | -36/+107 | |
| | ||||||
* | whoops, don't mean to always jump to thumb mode | comex | 2015-02-01 | 1 | -1/+1 | |
| | ||||||
* | formatting | comex | 2015-02-01 | 2 | -11/+19 | |
| | ||||||
* | fix my utter failure to handle branches/conditionals correctly (on ARM) | comex | 2015-02-01 | 15 | -82/+276 | |
| | ||||||
* | remove GNU-isms from cbit | comex | 2015-01-30 | 1 | -11/+30 | |
| | ||||||
* | add README (and note to self to fix something) | comex | 2015-01-30 | 1 | -0/+2 | |
| | ||||||
* | ... | comex | 2015-01-29 | 2 | -49/+3 | |
| | ||||||
* | a bunch of stuff that should have been committed separately | comex | 2015-01-29 | 2 | -13/+22 | |
| | ||||||
* | add SUBSTITUTE_DONT_STOP_THREADS for substrate compat - substrate doesn't do ↵ | comex | 2015-01-29 | 1 | -1/+1 | |
| | | | | this, and they might not be on the main thread. though that would be gross. | |||||
* | misc. fixes | comex | 2015-01-29 | 1 | -1/+0 | |
| | ||||||
* | get rid of the unnecessary CoreFoundation dependency | comex | 2015-01-29 | 2 | -45/+56 | |
| | ||||||
* | port some old code | comex | 2015-01-29 | 3 | -1/+301 | |
| | ||||||
* | ***yawn*** | comex | 2015-01-28 | 2 | -10/+13 | |
| | ||||||
* | sorta | comex | 2015-01-28 | 2 | -8/+27 | |
| | ||||||
* | some more stuff compiles | comex | 2015-01-28 | 7 | -36/+202 | |
| | ||||||
* | right, fix cleanup. (compared to the old system, this avoids busywaiting, ↵ | comex | 2015-01-25 | 2 | -6/+49 | |
| | | | | and properly frees the thread resources) | |||||
* | this is dumb | comex | 2015-01-25 | 5 | -103/+272 | |
| | ||||||
* | fix strerror | comex | 2015-01-25 | 3 | -2/+8 | |
| | ||||||
* | fix substrate-compat; check in test | comex | 2015-01-25 | 1 | -3/+8 | |
| | ||||||
* | fixes | comex | 2015-01-25 | 6 | -21/+39 | |
| | ||||||
* | fixes | comex | 2015-01-24 | 1 | -4/+7 | |
| | ||||||
* | it compiles... | comex | 2015-01-24 | 9 | -101/+138 | |
| | ||||||
* | ... | comex | 2015-01-24 | 14 | -157/+474 | |
| | ||||||
* | Add function to deal with mprotecting RW and back. A bit more complex than ↵ | comex | 2015-01-24 | 8 | -65/+130 | |
| | | | | | | the minimum would be... (and minor build fixes) | |||||
* | stopping other threads. | comex | 2015-01-21 | 6 | -23/+234 | |
| | ||||||
* | add substitute_strerror | comex | 2015-01-21 | 3 | -6/+35 | |
| | ||||||
* | minor cleanup - stop caring about thumb outside of arch-specific code | comex | 2015-01-21 | 7 | -18/+21 | |
| | | | | | (and fix makefile bug where files whose names contained 'arm' would always be ldid'd) | |||||
* | pointless optimization | comex | 2015-01-21 | 1 | -27/+64 | |
| | ||||||
* | Some cleanup. | comex | 2015-01-21 | 4 | -33/+25 | |
| | ||||||
* | woo, inject seems to work on all platforms | comex | 2015-01-21 | 4 | -129/+272 | |
| | ||||||
* | ... | comex | 2015-01-20 | 5 | -55/+408 | |
| | ||||||
* | revert THAT WHOLE THING because we can't actually use it for inject | comex | 2015-01-20 | 2 | -85/+37 | |
| | ||||||
* | progress on injection | comex | 2015-01-20 | 6 | -35/+286 | |
| | ||||||
* | more reorganization - move OS X/iOS specific stuff into its own directory | comex | 2015-01-19 | 6 | -0/+0 | |
| | ||||||
* | some reorganization | comex | 2015-01-19 | 13 | -32/+26 | |
| | ||||||
* | ldrd/strd fix - we definitely need to know that in ldrd r0, r1, [pc], we ↵ | comex | 2015-01-17 | 4 | -19/+37 | |
| | | | | can't use r1 as scratch |