aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-bisect
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-07-19 14:14:10 +0200
committerAleksandr Nogikh <nogikh@google.com>2023-07-20 07:33:29 +0000
commitd922ca7efda29b23dfb85abe37aee1641c4fbe05 (patch)
tree7c7d78500ef5536f36717c45de2e0adeb1a62a33 /tools/syz-bisect
parent37668e463d42d68846539559443ec458c9b05acb (diff)
syz-ci: specify per-manager bisection backports
It might be the case that the kernels that are being fuzzed on syz-ci require their own backports to build/test older revisions during bisection. Let users specify it in the syz-ci config.
Diffstat (limited to 'tools/syz-bisect')
-rw-r--r--tools/syz-bisect/bisect.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/syz-bisect/bisect.go b/tools/syz-bisect/bisect.go
index e9b5f1b49..b74cf6fd8 100644
--- a/tools/syz-bisect/bisect.go
+++ b/tools/syz-bisect/bisect.go
@@ -62,9 +62,10 @@ type Config struct {
// Sysctl/cmdline files used to build the image which was used to crash the kernel, e.g. see:
// dashboard/config/upstream.sysctl
// dashboard/config/upstream-selinux.cmdline
- Sysctl string `json:"sysctl"`
- Cmdline string `json:"cmdline"`
- CrossTree bool `json:"cross_tree"`
+ Sysctl string `json:"sysctl"`
+ Cmdline string `json:"cmdline"`
+ CrossTree bool `json:"cross_tree"`
+ Backports []vcs.BackportCommit `json:"backports"`
KernelConfig string `json:"kernel_config"`
KernelBaselineConfig string `json:"kernel_baseline_config"`
@@ -114,6 +115,7 @@ func main() {
Userspace: mycfg.Userspace,
Sysctl: mycfg.Sysctl,
Cmdline: mycfg.Cmdline,
+ Backports: mycfg.Backports,
},
Syzkaller: bisect.SyzkallerConfig{
Repo: mycfg.SyzkallerRepo,