https://github.com/google/kmsan
Revision d352c10a90edc7ea29a80b3f0ddbfa1c687d25a9 authored by Alexander Potapenko on 30 November 2018, 10:43:16 UTC, committed by Alexander Potapenko on 24 September 2021, 14:36:23 UTC
Instrumenting some files with KMSAN will result in kernel being unable to link, boot or crashing at runtime for various reasons (e.g. infinite recursion caused by instrumentation hooks calling instrumented code again). Disable KMSAN in the following places: - arch/x86/boot and arch/x86/realmode/rm, as KMSAN doesn't work for i386; - arch/x86/entry/vdso, which isn't linked with KMSAN runtime; - three files in arch/x86/kernel - boot problems; - arch/x86/mm/cpu_entry_area.c - recursion; - EFI stub - build failures; - kcov, stackdepot, lockdep - recursion. Signed-off-by: Alexander Potapenko <glider@google.com> --- v4: - fix lockdep support by not instrumenting lockdep.c - unified comments with KCSAN v6: - rebase after KCSAN merge Link: https://linux-review.googlesource.com/id/Id5e5c4a9f9d53c24a35ebb633b814c414628d81b
1 parent 8f08827
Tip revision: d352c10a90edc7ea29a80b3f0ddbfa1c687d25a9 authored by Alexander Potapenko on 30 November 2018, 10:43:16 UTC
kmsan: disable KMSAN instrumentation for certain kernel parts
kmsan: disable KMSAN instrumentation for certain kernel parts
Tip revision: d352c10
File | Mode | Size |
---|---|---|
Documentation | ||
LICENSES | ||
arch | ||
block | ||
certs | ||
crypto | ||
drivers | ||
fs | ||
include | ||
init | ||
ipc | ||
kernel | ||
lib | ||
mm | ||
net | ||
samples | ||
scripts | ||
security | ||
sound | ||
tools | ||
usr | ||
virt | ||
.clang-format | -rw-r--r-- | 16.6 KB |
.cocciconfig | -rw-r--r-- | 59 bytes |
.config.example | -rw-r--r-- | 148.6 KB |
.config.extended | -rw-r--r-- | 133.2 KB |
.get_maintainer.ignore | -rw-r--r-- | 71 bytes |
.gitattributes | -rw-r--r-- | 62 bytes |
.gitignore | -rw-r--r-- | 1.9 KB |
.mailmap | -rw-r--r-- | 19.8 KB |
COPYING | -rw-r--r-- | 496 bytes |
CREDITS | -rw-r--r-- | 98.6 KB |
Kbuild | -rw-r--r-- | 1.3 KB |
Kconfig | -rw-r--r-- | 555 bytes |
MAINTAINERS | -rw-r--r-- | 605.7 KB |
Makefile | -rw-r--r-- | 64.1 KB |
README | -rw-r--r-- | 727 bytes |
README.md | -rw-r--r-- | 1.9 KB |
SECURITY.md | -rw-r--r-- | 283 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...