aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2021-09-14 18:29:27 +0000
committerMark Johnston <markj@FreeBSD.org>2021-09-14 18:29:27 +0000
commitcf4670fe0b1049863ed3150a6ffb0b80dad151b2 (patch)
tree1787fd5449c3a285f2eeff618e7b43250ac97b00 /sys/netinet
parent272c4a4dc5fbe3d82d735c5b9a3b6faab052808b (diff)
downloadsrc-cf4670fe0b1049863ed3150a6ffb0b80dad151b2.tar.gz
src-cf4670fe0b1049863ed3150a6ffb0b80dad151b2.zip
kcov: Integrate with KMSAN
- kern_kcov.c needs to be compiled with -fsanitize=kernel-memory when KMSAN is configured since it calls into various other subsystems. - Disable address and memory sanitizers in kcov(4)'s coverage sanitizer callbacks, as they do not provide useful checking. Moreover, with KMSAN we may otherwise get false positives since the caller (coverage sanitizer runtime) is not instrumented. - Disable KASAN and KMSAN interceptors in subr_coverage.c, as they do not provide any benefit but do introduce overhead when fuzzing. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/netinet')
0 files changed, 0 insertions, 0 deletions