From 6f58e4ab8d90166cac4e4da269a77c5134f12f1e Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 9 Jul 2026 22:07:47 +0200 Subject: Add support for the asan:fixed-segments comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This magic comment allows for the definition of segments that are fixed and for which references are always safe. This goes in tandem with the asan:safe comment, which can then be used more sporadically. Signed-off-by: Miquel Sabaté Solà --- tests/expected/fixed-segments.nes | Bin 0 -> 131088 bytes tests/expected/fixed-segments.txt | 1 + 2 files changed, 1 insertion(+) create mode 100644 tests/expected/fixed-segments.nes create mode 100644 tests/expected/fixed-segments.txt (limited to 'tests/expected') diff --git a/tests/expected/fixed-segments.nes b/tests/expected/fixed-segments.nes new file mode 100644 index 0000000..06959e0 Binary files /dev/null and b/tests/expected/fixed-segments.nes differ diff --git a/tests/expected/fixed-segments.txt b/tests/expected/fixed-segments.txt new file mode 100644 index 0000000..9a93bf4 --- /dev/null +++ b/tests/expected/fixed-segments.txt @@ -0,0 +1 @@ +warning: referencing 'hello_bank1' from 'FIXED', which belongs to the 'BANK1' segment (fixed-segments.s: line 114) -- cgit v1.2.3