<feed xmlns='http://www.w3.org/2005/Atom'>
<title>substitute/lib/x86, branch master</title>
<subtitle>Runtime hooking library</subtitle>
<link rel='alternate' type='text/html' href='http://git.shotatoshounenwachigau.moe/vita/substitute/'/>
<entry>
<title>A number of critical fixes painstakingly discovered in the slowest way possible.</title>
<updated>2015-03-02T04:07:15+00:00</updated>
<author>
<name>comex</name>
</author>
<published>2015-03-02T04:07:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.shotatoshounenwachigau.moe/vita/substitute/commit/?id=7f24621bec0b0a5b3cab9ec2dfc68929a2d49d25'/>
<id>7f24621bec0b0a5b3cab9ec2dfc68929a2d49d25</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Ban calls within transform regions in threadsafe mode.</title>
<updated>2015-02-23T05:54:13+00:00</updated>
<author>
<name>comex</name>
</author>
<published>2015-02-23T05:41:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.shotatoshounenwachigau.moe/vita/substitute/commit/?id=b63f1dff9dc736f7fa66f04976436f1f3fe2ac5d'/>
<id>b63f1dff9dc736f7fa66f04976436f1f3fe2ac5d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix some i386 stuff</title>
<updated>2015-02-23T05:54:13+00:00</updated>
<author>
<name>comex</name>
</author>
<published>2015-02-23T04:28:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.shotatoshounenwachigau.moe/vita/substitute/commit/?id=6080774f1af3103be688941beb43174d69d60483'/>
<id>6080774f1af3103be688941beb43174d69d60483</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>various fixes</title>
<updated>2015-02-18T07:57:08+00:00</updated>
<author>
<name>comex</name>
</author>
<published>2015-02-18T07:57:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.shotatoshounenwachigau.moe/vita/substitute/commit/?id=ce8cffd7cba9925779163fa4380f98b2f70f5a7b'/>
<id>ce8cffd7cba9925779163fa4380f98b2f70f5a7b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>more fixes</title>
<updated>2015-02-15T05:24:51+00:00</updated>
<author>
<name>comex</name>
</author>
<published>2015-02-15T05:24:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.shotatoshounenwachigau.moe/vita/substitute/commit/?id=769b00952c8b2fd1f7ddaf1313ee7c38b8081cc6'/>
<id>769b00952c8b2fd1f7ddaf1313ee7c38b8081cc6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix test cases</title>
<updated>2015-02-15T04:50:30+00:00</updated>
<author>
<name>comex</name>
</author>
<published>2015-02-15T04:50:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.shotatoshounenwachigau.moe/vita/substitute/commit/?id=7dd3043eed8d9bac9ce48765335fdbe52b907b42'/>
<id>7dd3043eed8d9bac9ce48765335fdbe52b907b42</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Trampoline fixes.</title>
<updated>2015-02-15T04:41:06+00:00</updated>
<author>
<name>comex</name>
</author>
<published>2015-02-15T04:14:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.shotatoshounenwachigau.moe/vita/substitute/commit/?id=67ebaf0d22fefa885d29c3c697fbe61956d18354'/>
<id>67ebaf0d22fefa885d29c3c697fbe61956d18354</id>
<content type='text'>
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).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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).
</pre>
</div>
</content>
</entry>
<entry>
<title>theoretically support x86 PIC</title>
<updated>2015-02-09T05:39:51+00:00</updated>
<author>
<name>comex</name>
</author>
<published>2015-02-09T05:39:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.shotatoshounenwachigau.moe/vita/substitute/commit/?id=1164b0c9e0d746d26f935cd420974f557bba9c69'/>
<id>1164b0c9e0d746d26f935cd420974f557bba9c69</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add transform-dis-{i386,x86_64} to makefile - fix a missing UNUSED</title>
<updated>2015-02-09T05:12:19+00:00</updated>
<author>
<name>comex</name>
</author>
<published>2015-02-09T05:12:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.shotatoshounenwachigau.moe/vita/substitute/commit/?id=65650e18a12ab80aa12b57e388fc27046d9c793d'/>
<id>65650e18a12ab80aa12b57e388fc27046d9c793d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor disassembly so x86 works, and add x86 transform-dis.</title>
<updated>2015-02-09T04:45:24+00:00</updated>
<author>
<name>comex</name>
</author>
<published>2015-02-09T04:45:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.shotatoshounenwachigau.moe/vita/substitute/commit/?id=eb93cee2a22cde812ccd6b9bd418d36185c058f5'/>
<id>eb93cee2a22cde812ccd6b9bd418d36185c058f5</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
</feed>
