aboutsummaryrefslogtreecommitdiff
path: root/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Trampoline fixes.comex2015-02-1410-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 PICcomex2015-02-091-14/+46
|
* call vs. branch fixes on ARM (though really I should just ignore calls)comex2015-02-092-4/+2
|
* add transform-dis-{i386,x86_64} to makefile - fix a missing UNUSEDcomex2015-02-091-0/+1
|
* Fix a broken bit test.comex2015-02-091-1/+3
|
* morecomex2015-02-095-40/+51
|
* Fix other architectures compiling - haven't tried *running* anything..comex2015-02-086-74/+85
|
* Refactor disassembly so x86 works, and add x86 transform-dis.comex2015-02-0820-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.
* formattingcomex2015-02-081-11/+17
|
* starting x86 supportcomex2015-02-0810-129/+341
|
* right, going to bedcomex2015-02-052-18/+78
|
* starting dis-tables.hcomex2015-02-051-0/+79
|
* Make the ARM branches actually go to the right place. I need automated ↵comex2015-02-032-3/+4
| | | | tests before stable.
* fix ARM64 too, theoreticallycomex2015-02-038-36/+107
|
* whoops, don't mean to always jump to thumb modecomex2015-02-011-1/+1
|
* formattingcomex2015-02-012-11/+19
|
* fix my utter failure to handle branches/conditionals correctly (on ARM)comex2015-02-0115-82/+276
|
* remove GNU-isms from cbitcomex2015-01-301-11/+30
|
* add README (and note to self to fix something)comex2015-01-301-0/+2
|
* ...comex2015-01-292-49/+3
|
* a bunch of stuff that should have been committed separatelycomex2015-01-292-13/+22
|
* add SUBSTITUTE_DONT_STOP_THREADS for substrate compat - substrate doesn't do ↵comex2015-01-291-1/+1
| | | | this, and they might not be on the main thread. though that would be gross.
* misc. fixescomex2015-01-291-1/+0
|
* get rid of the unnecessary CoreFoundation dependencycomex2015-01-292-45/+56
|
* port some old codecomex2015-01-293-1/+301
|
* ***yawn***comex2015-01-282-10/+13
|
* sortacomex2015-01-282-8/+27
|
* some more stuff compilescomex2015-01-287-36/+202
|
* right, fix cleanup. (compared to the old system, this avoids busywaiting, ↵comex2015-01-252-6/+49
| | | | and properly frees the thread resources)
* this is dumbcomex2015-01-255-103/+272
|
* fix strerrorcomex2015-01-253-2/+8
|
* fix substrate-compat; check in testcomex2015-01-251-3/+8
|
* fixescomex2015-01-256-21/+39
|
* fixescomex2015-01-241-4/+7
|
* it compiles...comex2015-01-249-101/+138
|
* ...comex2015-01-2414-157/+474
|
* Add function to deal with mprotecting RW and back. A bit more complex than ↵comex2015-01-248-65/+130
| | | | | | the minimum would be... (and minor build fixes)
* stopping other threads.comex2015-01-216-23/+234
|
* add substitute_strerrorcomex2015-01-213-6/+35
|
* minor cleanup - stop caring about thumb outside of arch-specific codecomex2015-01-217-18/+21
| | | | | (and fix makefile bug where files whose names contained 'arm' would always be ldid'd)
* pointless optimizationcomex2015-01-211-27/+64
|
* Some cleanup.comex2015-01-214-33/+25
|
* woo, inject seems to work on all platformscomex2015-01-214-129/+272
|
* ...comex2015-01-205-55/+408
|
* revert THAT WHOLE THING because we can't actually use it for injectcomex2015-01-202-85/+37
|
* progress on injectioncomex2015-01-206-35/+286
|
* more reorganization - move OS X/iOS specific stuff into its own directorycomex2015-01-196-0/+0
|
* some reorganizationcomex2015-01-1913-32/+26
|
* ldrd/strd fix - we definitely need to know that in ldrd r0, r1, [pc], we ↵comex2015-01-174-19/+37
| | | | can't use r1 as scratch
* improve test; thumb2 fixescomex2015-01-176-19/+77
|