From c26fb06b75e80ff45e13dc5cc575c8490c44411d Mon Sep 17 00:00:00 2001 From: Marco Elver Date: Mon, 22 Feb 2021 11:54:25 +0100 Subject: pkg/report: ignore kcsan_setup_watchpoint in reports kcsan_setup_watchpoint() reads the value before and after the delay to check for value changes. If the memory location is inaccessible, do not report the bug in kcsan_setup_watchpoint() but instead in the caller. This also allows properly deduplicating related reports from non-KCSAN configs. --- pkg/report/linux.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/report/linux.go') diff --git a/pkg/report/linux.go b/pkg/report/linux.go index ec3f74dfa..2b29b2154 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -740,6 +740,7 @@ var linuxStackParams = &stackParams{ "kasan", "__msan", "kmsan", + "kcsan_setup_watchpoint", "check_memory_region", "read_word_at_a_time", "print_address_description", -- cgit mrf-deployment