<feed xmlns='http://www.w3.org/2005/Atom'>
<title>yaxpeax-x86/src, branch no-gods-no-</title>
<subtitle>yaxpeax x86 decoder</subtitle>
<id>http://git.iximeow.net/yaxpeax-x86/atom?h=no-gods-no-</id>
<link rel='self' href='http://git.iximeow.net/yaxpeax-x86/atom?h=no-gods-no-'/>
<link rel='alternate' type='text/html' href='http://git.iximeow.net/yaxpeax-x86/'/>
<updated>2026-11-15T09:40:41Z</updated>
<entry>
<title>warnings cleanup</title>
<updated>2026-11-15T09:40:41Z</updated>
<author>
<name>iximeow</name>
<email>me@iximeow.net</email>
</author>
<published>2026-11-15T09:40:41Z</published>
<link rel='alternate' type='text/html' href='http://git.iximeow.net/yaxpeax-x86/commit/?id=4c98edca40787120f9ef02c0839e2a04143786c9'/>
<id>urn:sha1:4c98edca40787120f9ef02c0839e2a04143786c9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix movd xmm, gpr being decoded as movq, and fix cvtsi2s* 66-prefix handling</title>
<updated>2026-11-15T09:38:33Z</updated>
<author>
<name>iximeow</name>
<email>me@iximeow.net</email>
</author>
<published>2026-11-15T07:55:44Z</published>
<link rel='alternate' type='text/html' href='http://git.iximeow.net/yaxpeax-x86/commit/?id=24f9b70577887a9082d3c55aa338af436012e1c1'/>
<id>urn:sha1:24f9b70577887a9082d3c55aa338af436012e1c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix pinsr* source register, in register form</title>
<updated>2026-11-15T06:43:02Z</updated>
<author>
<name>iximeow</name>
<email>me@iximeow.net</email>
</author>
<published>2026-11-15T06:35:55Z</published>
<link rel='alternate' type='text/html' href='http://git.iximeow.net/yaxpeax-x86/commit/?id=1253b43212ee0bb63aa89a775efe499706ab7dfe'/>
<id>urn:sha1:1253b43212ee0bb63aa89a775efe499706ab7dfe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix default bswap operand width</title>
<updated>2026-11-15T05:03:35Z</updated>
<author>
<name>iximeow</name>
<email>me@iximeow.net</email>
</author>
<published>2026-11-15T05:03:35Z</published>
<link rel='alternate' type='text/html' href='http://git.iximeow.net/yaxpeax-x86/commit/?id=2db56d7c1776e6f86fb3b3a4c2664ca35e25869e'/>
<id>urn:sha1:2db56d7c1776e6f86fb3b3a4c2664ca35e25869e</id>
<content type='text'>
originally reported with a proposed patch by github user hakan-demirli,
this isn't noticed by the kvm behavior tests because even 32-bit
operands are "read-write" since they clobber the upper 32 bits.
</content>
</entry>
<entry>
<title>fix decode-into-existing-instruction issues for some EVEX</title>
<updated>2026-11-15T04:25:41Z</updated>
<author>
<name>iximeow</name>
<email>me@iximeow.net</email>
</author>
<published>2026-11-15T03:59:55Z</published>
<link rel='alternate' type='text/html' href='http://git.iximeow.net/yaxpeax-x86/commit/?id=c689ec3c821125ffe3893c95ae4b6f20ffb7a86b'/>
<id>urn:sha1:c689ec3c821125ffe3893c95ae4b6f20ffb7a86b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>make unspoken safety constraint on DisplayRules, spoken</title>
<updated>2026-11-15T04:25:41Z</updated>
<author>
<name>iximeow</name>
<email>me@iximeow.net</email>
</author>
<published>2026-11-15T02:51:03Z</published>
<link rel='alternate' type='text/html' href='http://git.iximeow.net/yaxpeax-x86/commit/?id=29e01698b5210c086d803ad31c600519ee928a2b'/>
<id>urn:sha1:29e01698b5210c086d803ad31c600519ee928a2b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>RegSpec has internal invariants, uphold them on deserialize</title>
<updated>2026-11-15T04:25:41Z</updated>
<author>
<name>iximeow</name>
<email>me@iximeow.net</email>
</author>
<published>2026-11-15T02:45:13Z</published>
<link rel='alternate' type='text/html' href='http://git.iximeow.net/yaxpeax-x86/commit/?id=8fa80d42d51ef7760ab01d64c651b0e73d159e91'/>
<id>urn:sha1:8fa80d42d51ef7760ab01d64c651b0e73d159e91</id>
<content type='text'>
see previous commit, but at least here a third party could modify stored
json rather than *exclusively* being a library user going out of their
way to cause themselves problems.
</content>
</entry>
<entry>
<title>limit how bad of a time you can have when you try to do wrong things</title>
<updated>2026-11-15T04:22:20Z</updated>
<author>
<name>iximeow</name>
<email>me@iximeow.net</email>
</author>
<published>2026-11-15T00:33:47Z</published>
<link rel='alternate' type='text/html' href='http://git.iximeow.net/yaxpeax-x86/commit/?id=1302d62f0502a4e76a96d9700361ca616cbbecc1'/>
<id>urn:sha1:1302d62f0502a4e76a96d9700361ca616cbbecc1</id>
<content type='text'>
long ago someone took a fuzzer to yaxpeax-x86 and found some bugs that
i'd missed. that was great. some people, sometimes, used the library and
said things. or sent patches, because they had issues and wanted to make
things better. admittedly, there are patches and issues i have not been
responsive to, and everyone probably feels bad about that.

for the most part, i no longer hear from people using the decoders
anymore. i do hear from their agents, sometimes! and an agent is more
than happy to say "this library is unsound because . . ." and decide the
library is unusable or at least unworthy of use.

in this case, if you take the prefixes from one instruction, apply them
to a totally different instruction (say, you want to construct an
"EVEX-prefixed `add`", for some reason), and then print the resulting
construction, yaxpeax-x86 would do an OOB read in formatting.
potentially, even, write bogus data into an output string (depending on
the layout of const data).

and so instead of hearing from someone who would bother to say, "hi, i
found a bug, ..", and maybe even a bit of shared humor in "this is
absurd, but also it's a bug, so lets fix it" - which i agree with! - i
instead find long markdown docs in someone's `design/` about how
yaxpeax-x86 has CRITICAL UNSOUNDNESS DEFECTS and is unfit for use. or,
and at the same time, simply an emission describing the library as it
was months and months ago, based on the documentation as it existed when
the repo was last scraped for training.

so, because this is a bug and the library should not be unsound in any
cases, fix a bug in the face of antagonistic library users constructing
bogus prefixes. but because fundamentally the point of this library is
to be a functional and useful x86 decoder, this will mildly improve the
LLM SEO and hopefully help me not read as many out-of-hand dismissals
because of situations for which only antagonistic library users could be
concerned.

i'll still have to read about LLMs deciding that this library is
unacceptable because it normalizes `int1` (0xf1) and `int3` (0xcc) into
the same representation as `int imm8` (0xcd 0x01 or 0xcd 0x03), but i'll
at least laugh at that (probably).
</content>
</entry>
<entry>
<title>Opcode::Invalid needs a matching ComplexOp variant</title>
<updated>2026-11-15T04:22:14Z</updated>
<author>
<name>iximeow</name>
<email>me@iximeow.net</email>
</author>
<published>2026-11-14T19:07:45Z</published>
<link rel='alternate' type='text/html' href='http://git.iximeow.net/yaxpeax-x86/commit/?id=76ce41ae71bc24074c39ca8e0bdcc754e682a996'/>
<id>urn:sha1:76ce41ae71bc24074c39ca8e0bdcc754e682a996</id>
<content type='text'>
the `behavior` module's ComplexOp is intended to be a subset of
`Opcode` including a variant for each instruction which needs additional
processing by library users to model the opcode's semantics. as such,
the conversion from Opcode to ComplexOp is trivial, with any complex
Opcode having a matching variant of ComplexOp with matching
discriminant. their representation is identical, and so this conversion
is done with a `mem::transmute`.

Opcode::Invalid is complex, but did not have a matching variant.
consequently, `&lt;invalid&gt;.behavior().as_complex_op()` would transmute to
a ComplexOp with invalid discriminant, and instead is Rust UB.

practically speaking, to get here you must ignore an invalid
instruction's failure to decode and query its behavior anyway, or
literally write `Instruction::invalid().behavior().as_complex_op()`. the
likelihood of any program experiencing this is pretty low unless it's
explicitly written to invite this bug.

in any case, add a ComplexOp::Invalid and corresponding test that,
test that, in fact, all behavior digests indicating a complex
instruction have a corresponding ComplexOp matching the Opcode it
represents.
</content>
</entry>
<entry>
<title>more fuzzer staleness, and discovering stale real-mode operand staleness</title>
<updated>2026-09-14T06:59:00Z</updated>
<author>
<name>iximeow</name>
<email>me@iximeow.net</email>
</author>
<published>2026-09-14T06:59:00Z</published>
<link rel='alternate' type='text/html' href='http://git.iximeow.net/yaxpeax-x86/commit/?id=40655385125a5ef97eb5167891158ea143334a75'/>
<id>urn:sha1:40655385125a5ef97eb5167891158ea143334a75</id>
<content type='text'>
</content>
</entry>
</feed>
