mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-23 11:29:46 +00:00
02034dac31
In the KCSAN config, enable KCSAN_VERBOSE to generate better reports, that include the locks held and the IRQ trace events for each thread. The option requires PROVE_LOCKING, which comes with some performance cost. |
||
---|---|---|
.. | ||
android | ||
distros | ||
overlays | ||
akaros.config | ||
bits-kcsan.config | ||
bits-kmsan.config | ||
bits-syzbot-aux-debug.config | ||
bits-syzbot.config | ||
freebsd-syz-ci-service.sh | ||
generate-config-kcsan-from-kasan.sh | ||
generate-config-kmsan-from-kasan.sh | ||
generate-config-usb.sh | ||
kconfiglib-merge-usb-configs.py | ||
netbsd-kasan.config | ||
netbsd-kmsan.config | ||
netbsd-kubsan.config | ||
openbsd-syzkaller.mp | ||
openbsd-syzkaller.sp | ||
README.md | ||
upstream-apparmor.cmdline | ||
upstream-kasan.config | ||
upstream-kcsan.config | ||
upstream-kmsan.config | ||
upstream-leak.config | ||
upstream-selinux.cmdline | ||
upstream-smack.cmdline | ||
upstream-usb.config | ||
upstream.sysctl | ||
util.sh |
This dir contains kernel configs used by syzbot.
Updating Linux configs
To update the main linux config upstream-kasan.config used by syzbot
:
- Check out latest
linux-next
(we tend to uselinux-next
as it contains the most latest features in a single tree). - Copy the config into kernel tree as
.config
. - Run
make olddefconfig
. - Make any additional changes to the config you want to do (e.g. enable/disable some configs with
make menuconfig
). - Build and boot the kernel. Ensure there are no bugs during boot (in particular,
WARNING
's andLOCKDEP
reports). - Copy back the custom configs into the
.config
(see comments there). - For compiler you need to use a recent gcc (8+). Some of the debugging configs may be disabled due to old/different compiler, in particular
CONFIG_KCOV_ENABLE_COMPARISONS
. You may also restore the compiler info part just to reduce the diff size. - Copy the config back as
upstream-kasan.config
and send a PR. It will be deployed tosyzbot
within a day after merging.