aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-02-11 17:13:09 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2026-02-11 17:13:09 +0100
commit394ccffc5a3f7a6fb791eaa87767cf1bba34199c (patch)
tree590ed442c9f34d084b8282e4f10ad12e17d4262c /crates
parent6894b01b22e848b5fdbb2fafae88e9459232ced2 (diff)
downloadtools.nes-394ccffc5a3f7a6fb791eaa87767cf1bba34199c.tar.gz
tools.nes-394ccffc5a3f7a6fb791eaa87767cf1bba34199c.zip
asan: Fix validation on indirect jumps
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à <mssola@mssola.com>
Diffstat (limited to 'crates')
0 files changed, 0 insertions, 0 deletions