From f8885dc4ce82fa10a22671a0b33dc1ee34cde388 Mon Sep 17 00:00:00 2001 From: Jouni Hogander Date: Sun, 12 Apr 2020 11:24:12 +0300 Subject: pkg/bisect: Implement config bisection Implement Linux kernel configuration bisection. Use bisected minimalistic configuration in commit bisection. Utilizes config_bisect.pl script from Linux kernel tree in bisection. Modify syz-bisect to read in kernel.baseline_config. This is used as a "good" configuration when bisection is run. --- pkg/vcs/testdata/linux/merge_config.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 pkg/vcs/testdata/linux/merge_config.sh (limited to 'pkg/vcs/testdata/linux/merge_config.sh') diff --git a/pkg/vcs/testdata/linux/merge_config.sh b/pkg/vcs/testdata/linux/merge_config.sh new file mode 100755 index 000000000..1ab10d379 --- /dev/null +++ b/pkg/vcs/testdata/linux/merge_config.sh @@ -0,0 +1,11 @@ +#!/bin/bash +# Copyright 2020 syzkaller project authors. All rights reserved. +# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +# merge_config.sh -m -O outdir baseline kernelAdditionsConfig +OUTDIR=$3 + +echo `cat $4` > $OUTDIR/.config +echo `cat $5` >> $OUTDIR/.config + +exit 0 -- cgit mrf-deployment