aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-06-12 18:44:31 +0200
committerDmitry Vyukov <dvyukov@google.com>2023-06-15 09:24:29 +0200
commitff5fb3046c399ee921d31b80e8ec86c73c7d7553 (patch)
tree95c5a9c4ed14907d4a4e93884205c02efba24311
parentee64538c9ffd9061beed35146e37813a1e26a152 (diff)
tools/syz-bisect: support Linker parameter
-rw-r--r--tools/syz-bisect/bisect.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/syz-bisect/bisect.go b/tools/syz-bisect/bisect.go
index 00c1afb6e..b0a28fab0 100644
--- a/tools/syz-bisect/bisect.go
+++ b/tools/syz-bisect/bisect.go
@@ -51,6 +51,7 @@ type Config struct {
// older versions of the kernel. For linux, it needs to include several
// compiler versions.
BinDir string `json:"bin_dir"`
+ Linker string `json:"linker"`
Ccache string `json:"ccache"`
KernelRepo string `json:"kernel_repo"`
KernelBranch string `json:"kernel_branch"`
@@ -100,6 +101,7 @@ func main() {
Fix: *flagFix,
DefaultCompiler: mycfg.Compiler,
CompilerType: mycfg.CompilerType,
+ Linker: mycfg.Linker,
BinDir: mycfg.BinDir,
Ccache: mycfg.Ccache,
Kernel: bisect.KernelConfig{