aboutsummaryrefslogtreecommitdiff
path: root/tests/expected/defines-undefined.nes
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2025-12-15 22:15:09 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2025-12-15 22:15:09 +0100
commitec935330d4518829d01bbdf5670c4569fa07a567 (patch)
tree2ee487e1796d461b296e61791b7fdff43b14529d /tests/expected/defines-undefined.nes
parentb7645c842f6c3fd718debe8de3e32ae346b17567 (diff)
downloadtools.nes-ec935330d4518829d01bbdf5670c4569fa07a567.tar.gz
tools.nes-ec935330d4518829d01bbdf5670c4569fa07a567.zip
Allow constants in asan:reserve statements
This way, if you define a constant like: MY_BUFFER_LEN_IN_BYTES = $10 You can then declare your buffer like so: zp_buffer = $00 ; asan:reserve MY_BUFFER_LEN_IN_BYTES And then further in the code you can rely on just using the constant for bound checking, and then the address sanitizer will check on bound checks via static analysis as well. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'tests/expected/defines-undefined.nes')
0 files changed, 0 insertions, 0 deletions