<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools.nes/tests/expected/bare_accesses.txt, branch main</title>
<subtitle>Tools for NES/Famicom development.
</subtitle>
<id>https://git.mssola.com/nes/tools.nes/atom?h=main</id>
<link rel='self' href='https://git.mssola.com/nes/tools.nes/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/'/>
<updated>2026-02-11T16:13:09Z</updated>
<entry>
<title>asan: Fix validation on indirect jumps</title>
<updated>2026-02-11T16:13:09Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-02-11T16:13:09Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=394ccffc5a3f7a6fb791eaa87767cf1bba34199c'/>
<id>urn:sha1:394ccffc5a3f7a6fb791eaa87767cf1bba34199c</id>
<content type='text'>
There were two bugs involved at the same time. First, for some reason,
the "matches" clause was negated, which defeats the purpose of the
check. This even resulted in a bad test run which was accepted because I
just did not caught it before.

Second, pure indirect addressing mode is only available for the "jmp"
instruction. Hence, there's no need for that "matches" at all, and even
less to filter that based on "jsr" which doesn't even implement this
addressing mode.

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>asan: don't complain on arithmetic with addresses</title>
<updated>2026-02-06T13:05:37Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-02-05T17:53:20Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=6894b01b22e848b5fdbb2fafae88e9459232ced2'/>
<id>urn:sha1:6894b01b22e848b5fdbb2fafae88e9459232ced2</id>
<content type='text'>
This was already the case for plain addresses, but it was not being
considered in the case of an arithmetic operation.

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>asan: Add fixes on absolute/indirect addressing</title>
<updated>2025-09-03T21:16:54Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mikisabate@gmail.com</email>
</author>
<published>2025-09-03T21:16:54Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=90fecaa84ff317e30c3339d3edb17b13211e3e64'/>
<id>urn:sha1:90fecaa84ff317e30c3339d3edb17b13211e3e64</id>
<content type='text'>
The check was not being applied on certain conditions.

Signed-off-by: Miquel Sabaté Solà &lt;mikisabate@gmail.com&gt;
</content>
</entry>
<entry>
<title>Validate that memory access is done via variables</title>
<updated>2025-09-03T18:45:54Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mikisabate@gmail.com</email>
</author>
<published>2025-09-03T17:08:05Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=9dcbf460ff692c049e4d327afcbdbc39ba4e8c65'/>
<id>urn:sha1:9dcbf460ff692c049e4d327afcbdbc39ba4e8c65</id>
<content type='text'>
The address sanitizer is now able to detect whenever in an instruction a
memory access is done without using variables. This is now detected for
all instructions except for branching, which falls outside of this
scope.

Moreover, simple arithmetics is allowed and bounds are checked for
simple cases. That being said, more involved bound checks should be done
with other tools (e.g. emulators).

Signed-off-by: Miquel Sabaté Solà &lt;mikisabate@gmail.com&gt;
</content>
</entry>
</feed>
