diff options
| author | Alexey Kardashevskiy <aik@linux.ibm.com> | 2021-07-06 14:01:49 +1000 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-07-07 13:39:53 +0200 |
| commit | 95793bce7d3eaa26fe814335010d7514e9da46fa (patch) | |
| tree | 20e362dd9469dddb45da91e4e7667890489b9429 /tools/syz-trace2syz | |
| parent | bbe0b1e942b7610fb168fbc9edd333b3f4bc4b27 (diff) | |
pkg: update generated files to go 1.17
"make generate" produces this diff when go 1.17 (go1.17-c95464f0ea3f==upstream)
is used. Seems compatible with >=1.16.
https://github.com/golang/go/commit/4d2d89ff42ca documents the syntax.
https://github.com/golang/go/commit/eeadce2d8713 enforces "ignore" for
unsatisfiable tags hence the pkg/csource/gen.go change.
Signed-off-by: Alexey Kardashevskiy <aik@linux.ibm.com>
Diffstat (limited to 'tools/syz-trace2syz')
| -rw-r--r-- | tools/syz-trace2syz/parser/lex.go | 1 | ||||
| -rw-r--r-- | tools/syz-trace2syz/parser/parser.go | 1 | ||||
| -rw-r--r-- | tools/syz-trace2syz/parser/parser_test.go | 1 | ||||
| -rw-r--r-- | tools/syz-trace2syz/parser/strace.go | 1 | ||||
| -rw-r--r-- | tools/syz-trace2syz/proggen/fuzz.go | 1 | ||||
| -rw-r--r-- | tools/syz-trace2syz/proggen/generate_unions.go | 1 | ||||
| -rw-r--r-- | tools/syz-trace2syz/proggen/proggen.go | 1 | ||||
| -rw-r--r-- | tools/syz-trace2syz/proggen/proggen_test.go | 1 | ||||
| -rw-r--r-- | tools/syz-trace2syz/trace2syz.go | 1 |
9 files changed, 9 insertions, 0 deletions
diff --git a/tools/syz-trace2syz/parser/lex.go b/tools/syz-trace2syz/parser/lex.go index ddffeda04..e200463c1 100644 --- a/tools/syz-trace2syz/parser/lex.go +++ b/tools/syz-trace2syz/parser/lex.go @@ -2,6 +2,7 @@ // Copyright 2018 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. +//go:build !codeanalysis // +build !codeanalysis package parser diff --git a/tools/syz-trace2syz/parser/parser.go b/tools/syz-trace2syz/parser/parser.go index a246acdc1..d7df4536b 100644 --- a/tools/syz-trace2syz/parser/parser.go +++ b/tools/syz-trace2syz/parser/parser.go @@ -1,6 +1,7 @@ // Copyright 2018 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. +//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 c689c8bd9..c08712d3a 100644 --- a/tools/syz-trace2syz/parser/parser_test.go +++ b/tools/syz-trace2syz/parser/parser_test.go @@ -1,6 +1,7 @@ // Copyright 2018 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. +//go:build !codeanalysis // +build !codeanalysis package parser diff --git a/tools/syz-trace2syz/parser/strace.go b/tools/syz-trace2syz/parser/strace.go index 25a2bb284..47ace7fba 100644 --- a/tools/syz-trace2syz/parser/strace.go +++ b/tools/syz-trace2syz/parser/strace.go @@ -4,6 +4,7 @@ // Copyright 2018 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. +//go:build !codeanalysis // +build !codeanalysis package parser diff --git a/tools/syz-trace2syz/proggen/fuzz.go b/tools/syz-trace2syz/proggen/fuzz.go index da4fae7bb..656e8adbe 100644 --- a/tools/syz-trace2syz/proggen/fuzz.go +++ b/tools/syz-trace2syz/proggen/fuzz.go @@ -1,6 +1,7 @@ // Copyright 2018 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. +//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 d4f50a570..d3caa7bf0 100644 --- a/tools/syz-trace2syz/proggen/generate_unions.go +++ b/tools/syz-trace2syz/proggen/generate_unions.go @@ -1,6 +1,7 @@ // Copyright 2018 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. +//go:build !codeanalysis // +build !codeanalysis package proggen diff --git a/tools/syz-trace2syz/proggen/proggen.go b/tools/syz-trace2syz/proggen/proggen.go index 697c09893..866dfbba0 100644 --- a/tools/syz-trace2syz/proggen/proggen.go +++ b/tools/syz-trace2syz/proggen/proggen.go @@ -1,6 +1,7 @@ // Copyright 2018 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. +//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 5f0531971..06703df0e 100644 --- a/tools/syz-trace2syz/proggen/proggen_test.go +++ b/tools/syz-trace2syz/proggen/proggen_test.go @@ -1,6 +1,7 @@ // Copyright 2018 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. +//go:build !codeanalysis // +build !codeanalysis package proggen diff --git a/tools/syz-trace2syz/trace2syz.go b/tools/syz-trace2syz/trace2syz.go index 89081d57c..b30cc471c 100644 --- a/tools/syz-trace2syz/trace2syz.go +++ b/tools/syz-trace2syz/trace2syz.go @@ -1,6 +1,7 @@ // Copyright 2018 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. +//go:build !codeanalysis // +build !codeanalysis // syz-trace2syz converts strace traces to syzkaller programs. |
