diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-09-03 21:31:31 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-09-03 21:40:46 +0200 |
| commit | e0b1faf993bab97288540769f6f5f7955b3e0996 (patch) | |
| tree | 862130ab64adefc17b7796eb6ed53dcdd581c065 /tests/expected | |
| parent | 9dcbf460ff692c049e4d327afcbdbc39ba4e8c65 (diff) | |
| download | tools.nes-e0b1faf993bab97288540769f6f5f7955b3e0996.tar.gz tools.nes-e0b1faf993bab97288540769f6f5f7955b3e0996.zip | |
Add a check for variable names
This check ensures that asan-friendly names actually match their
expected scope.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'tests/expected')
| -rw-r--r-- | tests/expected/variable_names.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/expected/variable_names.txt b/tests/expected/variable_names.txt new file mode 100644 index 0000000..416ca69 --- /dev/null +++ b/tests/expected/variable_names.txt @@ -0,0 +1,4 @@ +warning: you are assigning the zero-page variable 'zp_bad' ($0300) to something outside of zero page (variable_names.s: line 11) +warning: you are assigning the variable 'm_bad' ($02) to something in zero page (variable_names.s: line 13) +warning: you are assigning the variable 'wr_bad' ($01) to something in zero page (variable_names.s: line 14) +warning: you are assigning the variable 'wr_out' ($0400) to something outside of Working RAM (variable_names.s: line 16) |
