Skip to content

Commit 2b60770

Browse files
author
Kazuyoshi Kato
committed
Move container_fuzzer.go under integration/client/
Signed-off-by: Kazuyoshi Kato <[email protected]>
1 parent 66cc0fc commit 2b60770

3 files changed

Lines changed: 5 additions & 11 deletions

File tree

contrib/fuzz/oss_fuzz_build.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,8 @@ rm /root/go/pkg/mod/github.com/cilium/[email protected]/internal/btf/fuzz.go
5353
cd "$(dirname "${BASH_SOURCE[0]}")"
5454
cd ../../
5555

56-
# Move all fuzzers that don't have the "fuzz" package out of this dir
57-
mv contrib/fuzz/container_fuzzer.go integration/client/
58-
5956
rm -r vendor
6057

61-
6258
# Change path of socket since OSS-fuzz does not grant access to /run
6359
sed -i 's/\/run\/containerd/\/tmp\/containerd/g' $SRC/containerd/defaults/defaults_unix.go
6460

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,20 @@
33

44
/*
55
Copyright The containerd Authors.
6+
67
Licensed under the Apache License, Version 2.0 (the "License");
78
you may not use this file except in compliance with the License.
89
You may obtain a copy of the License at
10+
911
http://www.apache.org/licenses/LICENSE-2.0
12+
1013
Unless required by applicable law or agreed to in writing, software
1114
distributed under the License is distributed on an "AS IS" BASIS,
1215
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1316
See the License for the specific language governing permissions and
1417
limitations under the License.
1518
*/
1619

17-
/*
18-
To run this fuzzer, it must first be moved to
19-
integration/client. OSS-fuzz does this automatically
20-
everytime it builds the fuzzers.
21-
*/
22-
2320
package client
2421

2522
import (

integration/client/go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ require (
1919
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a
2020
)
2121

22+
require github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8
23+
2224
require (
23-
github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8 // indirect
2425
github.com/Microsoft/go-winio v0.5.2 // indirect
2526
github.com/blang/semver v3.5.1+incompatible // indirect
2627
github.com/cilium/ebpf v0.7.0 // indirect

0 commit comments

Comments
 (0)