aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-04-26 12:19:46 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-04-26 11:42:18 +0000
commitcfe9478196eef8736a3c0bb2eccda826263420ea (patch)
treec8a86f8e19cb1903d7a821ccc03c0dd697c248ad /tools
parentb599b68132cf873c8cd21c722ce8e1f72dbd2fb1 (diff)
all: go fix everything
Diffstat (limited to 'tools')
-rw-r--r--tools/syz-imagegen/imagegen.go1
-rw-r--r--tools/syz-trace2syz/parser/lex.go1
-rw-r--r--tools/syz-trace2syz/parser/parser.go1
-rw-r--r--tools/syz-trace2syz/parser/parser_test.go1
-rw-r--r--tools/syz-trace2syz/parser/strace.go1
-rw-r--r--tools/syz-trace2syz/proggen/fuzz.go1
-rw-r--r--tools/syz-trace2syz/proggen/generate_unions.go1
-rw-r--r--tools/syz-trace2syz/proggen/proggen.go1
-rw-r--r--tools/syz-trace2syz/proggen/proggen_test.go1
-rw-r--r--tools/syz-trace2syz/trace2syz.go1
10 files changed, 0 insertions, 10 deletions
diff --git a/tools/syz-imagegen/imagegen.go b/tools/syz-imagegen/imagegen.go
index af64f77aa..3d3d16d60 100644
--- a/tools/syz-imagegen/imagegen.go
+++ b/tools/syz-imagegen/imagegen.go
@@ -3,7 +3,6 @@
// As we use syscall package:
//go:build linux
-// +build linux
// syz-imagegen generates sys/linux/test/syz_mount_image_* test files.
// It requires the following packages to be installed:
diff --git a/tools/syz-trace2syz/parser/lex.go b/tools/syz-trace2syz/parser/lex.go
index e200463c1..96801b8d8 100644
--- a/tools/syz-trace2syz/parser/lex.go
+++ b/tools/syz-trace2syz/parser/lex.go
@@ -3,7 +3,6 @@
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
//go:build !codeanalysis
-// +build !codeanalysis
package parser
diff --git a/tools/syz-trace2syz/parser/parser.go b/tools/syz-trace2syz/parser/parser.go
index b91f3ac29..91add1a38 100644
--- a/tools/syz-trace2syz/parser/parser.go
+++ b/tools/syz-trace2syz/parser/parser.go
@@ -2,7 +2,6 @@
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
//go:build !codeanalysis
-// +build !codeanalysis
package parser
diff --git a/tools/syz-trace2syz/parser/parser_test.go b/tools/syz-trace2syz/parser/parser_test.go
index c08712d3a..f30329520 100644
--- a/tools/syz-trace2syz/parser/parser_test.go
+++ b/tools/syz-trace2syz/parser/parser_test.go
@@ -2,7 +2,6 @@
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
//go:build !codeanalysis
-// +build !codeanalysis
package parser
diff --git a/tools/syz-trace2syz/parser/strace.go b/tools/syz-trace2syz/parser/strace.go
index 47ace7fba..68d791874 100644
--- a/tools/syz-trace2syz/parser/strace.go
+++ b/tools/syz-trace2syz/parser/strace.go
@@ -5,7 +5,6 @@
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
//go:build !codeanalysis
-// +build !codeanalysis
package parser
diff --git a/tools/syz-trace2syz/proggen/fuzz.go b/tools/syz-trace2syz/proggen/fuzz.go
index 656e8adbe..dac2a9ef0 100644
--- a/tools/syz-trace2syz/proggen/fuzz.go
+++ b/tools/syz-trace2syz/proggen/fuzz.go
@@ -2,7 +2,6 @@
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
//go:build !codeanalysis
-// +build !codeanalysis
package proggen
diff --git a/tools/syz-trace2syz/proggen/generate_unions.go b/tools/syz-trace2syz/proggen/generate_unions.go
index d3caa7bf0..b7e2d8a96 100644
--- a/tools/syz-trace2syz/proggen/generate_unions.go
+++ b/tools/syz-trace2syz/proggen/generate_unions.go
@@ -2,7 +2,6 @@
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
//go:build !codeanalysis
-// +build !codeanalysis
package proggen
diff --git a/tools/syz-trace2syz/proggen/proggen.go b/tools/syz-trace2syz/proggen/proggen.go
index f06fe61ae..4fc8240c8 100644
--- a/tools/syz-trace2syz/proggen/proggen.go
+++ b/tools/syz-trace2syz/proggen/proggen.go
@@ -2,7 +2,6 @@
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
//go:build !codeanalysis
-// +build !codeanalysis
package proggen
diff --git a/tools/syz-trace2syz/proggen/proggen_test.go b/tools/syz-trace2syz/proggen/proggen_test.go
index 06703df0e..bb2e62e9d 100644
--- a/tools/syz-trace2syz/proggen/proggen_test.go
+++ b/tools/syz-trace2syz/proggen/proggen_test.go
@@ -2,7 +2,6 @@
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
//go:build !codeanalysis
-// +build !codeanalysis
package proggen
diff --git a/tools/syz-trace2syz/trace2syz.go b/tools/syz-trace2syz/trace2syz.go
index 500152d52..0a0a70952 100644
--- a/tools/syz-trace2syz/trace2syz.go
+++ b/tools/syz-trace2syz/trace2syz.go
@@ -2,7 +2,6 @@
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
//go:build !codeanalysis
-// +build !codeanalysis
// syz-trace2syz converts strace traces to syzkaller programs.
//