https://github.com/google/kmsan
Revision ccc1418bc441ab54ef1ebd5f82c452d7bdce2d5c authored by Alexander Potapenko on 04 April 2018, 14:06:54 UTC, committed by Alexander Potapenko on 28 August 2018, 10:29:14 UTC
This is a hotfix for syzbot.
The current Clang version dies with the following error message:

  1.      <eof> parser at end of file
  2.      Code generation
  3.      Running pass 'Function Pass Manager' on module 'arch/x86/mm/cpu_entry_area.c'.
  4.      Running pass 'X86 DAG->DAG Instruction Selection' on function '@setup_cpu_entry_areas'
  clang-7: error: unable to execute command: Aborted

when attempting to build the kernel with extended stack size (see
0f35ce79c491cbf0).
This can be fixed in the compiler, but for now it's faster to disable
instrumentation for arch/x86/kernel/setup_percpu.c and arch/x86/mm/cpu_entry_area.c
1 parent 8e1e7ab
History
Tip revision: ccc1418bc441ab54ef1ebd5f82c452d7bdce2d5c authored by Alexander Potapenko on 04 April 2018, 14:06:54 UTC
kmsan: don't instrument big percpu arrays (temporary workaround)
Tip revision: ccc1418
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 12.8 KB
.cocciconfig -rw-r--r-- 59 bytes
.config.example -rw-r--r-- 120.8 KB
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.5 KB
.mailmap -rw-r--r-- 9.7 KB
COPYING -rw-r--r-- 423 bytes
CREDITS -rw-r--r-- 96.4 KB
Kbuild -rw-r--r-- 2.2 KB
Kconfig -rw-r--r-- 563 bytes
MAINTAINERS -rw-r--r-- 458.4 KB
Makefile -rw-r--r-- 59.0 KB
README -rw-r--r-- 800 bytes
README.md -rw-r--r-- 2.1 KB
false-kmsan-cfq_init_cfqq.txt -rw-r--r-- 6.3 KB
kmsan-cfq_init_cfqq.txt -rw-r--r-- 6.0 KB
kmsan-clang.patch -rw-r--r-- 9.1 KB
kmsan-epoll_ctl.txt -rw-r--r-- 3.2 KB
kmsan-first-bug-writeup.txt -rw-r--r-- 8.1 KB
kmsan-llvm.patch -rw-r--r-- 34.8 KB
kmsan-packet_bind_spkt.txt -rw-r--r-- 4.4 KB
kmsan-radix_tree_insert.txt -rw-r--r-- 6.3 KB

README.md

back to top