aboutsummaryrefslogtreecommitdiff
path: root/test/transform-dis-cases-i386.S (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-11-15fix some ARM stuff including calls, and test itcomex1-6/+4
wow this code sucks
2015-02-23Ban calls within transform regions in threadsafe mode.comex1-0/+12
2015-02-14fix test casescomex1-4/+6
2015-02-14Trampoline fixes.comex1-5/+6
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-09test harnesscomex1-0/+16