diff options
| author | Marco Elver <elver@google.com> | 2019-10-04 13:43:02 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-10-04 13:44:09 +0200 |
| commit | b2f369e56e13dc135d57c53210ea7ab38b239e94 (patch) | |
| tree | f740d97da76dbe3c9b1e2de6409e4e6f94c1e375 /tools | |
| parent | fc17ba4941e5e2cae9663b84e13627981c29d381 (diff) | |
executor, host, csource: Add support to enable KCSAN
By default, the current KCSAN .config does not enable KCSAN during boot,
since we encounter races during boot which would prevent syzkaller from
ever executing.
This adds support to detect if KCSAN is available, and enables it on the
fuzzer host.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/syz-prog2c/prog2c.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/syz-prog2c/prog2c.go b/tools/syz-prog2c/prog2c.go index 0628468e5..de704b353 100644 --- a/tools/syz-prog2c/prog2c.go +++ b/tools/syz-prog2c/prog2c.go @@ -87,6 +87,7 @@ func main() { EnableCgroups: features["cgroups"].Enabled, EnableBinfmtMisc: features["binfmt_misc"].Enabled, EnableCloseFds: features["close_fds"].Enabled, + EnableKCSAN: features["kcsan"].Enabled, UseTmpDir: *flagUseTmpDir, HandleSegv: *flagHandleSegv, Repro: false, |
