From 6894b01b22e848b5fdbb2fafae88e9459232ced2 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 5 Feb 2026 18:53:20 +0100 Subject: asan: don't complain on arithmetic with addresses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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à --- tests/expected/bare_accesses.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/expected/bare_accesses.txt') diff --git a/tests/expected/bare_accesses.txt b/tests/expected/bare_accesses.txt index 0eab60f..676723f 100644 --- a/tests/expected/bare_accesses.txt +++ b/tests/expected/bare_accesses.txt @@ -1,5 +1,5 @@ warning: accessing a memory region without using a variable (bare_accesses.s: line 22) warning: accessing a memory region without a proper name ('whatever') (bare_accesses.s: line 23) -warning: accessing a memory region without using a variable (bare_accesses.s: line 40) +warning: accessing a memory region without using a variable (bare_accesses.s: line 41) error: out of bounds memory access for 'zp_used' ($00-$01) (bare_accesses.s: line 27) error: out of bounds memory access for 'zp_used' ($00-$01) (bare_accesses.s: line 28) -- cgit v1.2.3