go.mod: update fuzz-headers and fuzz-build
Slowly chipping away non-tagged golang.org/x/ packages diffs: -b2031950a3...5330a85ea6
-3345c89a7c...d395f97c48
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
12f30e6524
commit
ce4ea26953
4
go.mod
4
go.mod
@ -3,8 +3,8 @@ module github.com/containerd/containerd
|
|||||||
go 1.18
|
go 1.18
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/AdaLogics/go-fuzz-headers v0.0.0-20221118232415-3345c89a7c72
|
github.com/AdaLogics/go-fuzz-headers v0.0.0-20221206110420-d395f97c4830
|
||||||
github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20221121202950-b2031950a318
|
github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20221215162035-5330a85ea652
|
||||||
github.com/Microsoft/go-winio v0.6.0
|
github.com/Microsoft/go-winio v0.6.0
|
||||||
github.com/Microsoft/hcsshim v0.10.0-rc.1
|
github.com/Microsoft/hcsshim v0.10.0-rc.1
|
||||||
github.com/container-orchestrated-devices/container-device-interface v0.5.1
|
github.com/container-orchestrated-devices/container-device-interface v0.5.1
|
||||||
|
8
go.sum
8
go.sum
@ -44,10 +44,10 @@ cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RX
|
|||||||
cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
|
cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
|
||||||
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
|
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
|
||||||
github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg=
|
github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg=
|
||||||
github.com/AdaLogics/go-fuzz-headers v0.0.0-20221118232415-3345c89a7c72 h1:kq78byqmxX6R9uk4uN3HD2F5tkZJAZMauuLSkNPS8to=
|
github.com/AdaLogics/go-fuzz-headers v0.0.0-20221206110420-d395f97c4830 h1:u8scGKApGy+gXpYDw2f+nh60R0FqCfrpDRIQki+5o3U=
|
||||||
github.com/AdaLogics/go-fuzz-headers v0.0.0-20221118232415-3345c89a7c72/go.mod h1:VzwV+t+dZ9j/H867F1M2ziD+yLHtB46oM35FxxMJ4d0=
|
github.com/AdaLogics/go-fuzz-headers v0.0.0-20221206110420-d395f97c4830/go.mod h1:VzwV+t+dZ9j/H867F1M2ziD+yLHtB46oM35FxxMJ4d0=
|
||||||
github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20221121202950-b2031950a318 h1:nAwmBy/KN2j/RJDzBskqjIPCDS9TBVVJQ7FEfDBI5wY=
|
github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20221215162035-5330a85ea652 h1:+vTEFqeoeur6XSq06bs+roX3YiT49gUniJK7Zky7Xjg=
|
||||||
github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20221121202950-b2031950a318/go.mod h1:pXIs8t4wo19ehhsffZsAZxSQ+oPUF41iiDrUaIDWKFU=
|
github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20221215162035-5330a85ea652/go.mod h1:OahwfttHWG6eJ0clwcfBAHoDI6X/LV/15hx/wlMZSrU=
|
||||||
github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
|
github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
|
||||||
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8=
|
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8=
|
||||||
github.com/Azure/go-ansiterm v0.0.0-20210608223527-2377c96fe795/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8=
|
github.com/Azure/go-ansiterm v0.0.0-20210608223527-2377c96fe795/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8=
|
||||||
|
@ -3,7 +3,7 @@ module github.com/containerd/containerd/integration/client
|
|||||||
go 1.18
|
go 1.18
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/AdaLogics/go-fuzz-headers v0.0.0-20221118232415-3345c89a7c72
|
github.com/AdaLogics/go-fuzz-headers v0.0.0-20221206110420-d395f97c4830
|
||||||
github.com/Microsoft/hcsshim v0.10.0-rc.1
|
github.com/Microsoft/hcsshim v0.10.0-rc.1
|
||||||
github.com/Microsoft/hcsshim/test v0.0.0-20210408205431-da33ecd607e1
|
github.com/Microsoft/hcsshim/test v0.0.0-20210408205431-da33ecd607e1
|
||||||
github.com/containerd/cgroups/v3 v3.0.0-20221112182753-e8802a182774
|
github.com/containerd/cgroups/v3 v3.0.0-20221112182753-e8802a182774
|
||||||
@ -20,7 +20,7 @@ require (
|
|||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20221121202950-b2031950a318 // indirect
|
github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20221215162035-5330a85ea652 // indirect
|
||||||
github.com/Microsoft/go-winio v0.6.0 // indirect
|
github.com/Microsoft/go-winio v0.6.0 // indirect
|
||||||
github.com/cilium/ebpf v0.9.1 // indirect
|
github.com/cilium/ebpf v0.9.1 // indirect
|
||||||
github.com/containerd/cgroups v1.0.4 // indirect
|
github.com/containerd/cgroups v1.0.4 // indirect
|
||||||
|
@ -377,11 +377,10 @@ cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoIS
|
|||||||
cloud.google.com/go/workflows v1.8.0/go.mod h1:ysGhmEajwZxGn1OhGOGKsTXc5PyxOc0vfKf5Af+to4M=
|
cloud.google.com/go/workflows v1.8.0/go.mod h1:ysGhmEajwZxGn1OhGOGKsTXc5PyxOc0vfKf5Af+to4M=
|
||||||
cloud.google.com/go/workflows v1.9.0/go.mod h1:ZGkj1aFIOd9c8Gerkjjq7OW7I5+l6cSvT3ujaO/WwSA=
|
cloud.google.com/go/workflows v1.9.0/go.mod h1:ZGkj1aFIOd9c8Gerkjjq7OW7I5+l6cSvT3ujaO/WwSA=
|
||||||
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
|
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
|
||||||
github.com/AdaLogics/go-fuzz-headers v0.0.0-20220824214621-3c06a36a6952/go.mod h1:i9fr2JpcEcY/IHEvzCM3qXUZYOQHgR89dt4es1CgMhc=
|
github.com/AdaLogics/go-fuzz-headers v0.0.0-20221206110420-d395f97c4830 h1:u8scGKApGy+gXpYDw2f+nh60R0FqCfrpDRIQki+5o3U=
|
||||||
github.com/AdaLogics/go-fuzz-headers v0.0.0-20221118232415-3345c89a7c72 h1:kq78byqmxX6R9uk4uN3HD2F5tkZJAZMauuLSkNPS8to=
|
github.com/AdaLogics/go-fuzz-headers v0.0.0-20221206110420-d395f97c4830/go.mod h1:VzwV+t+dZ9j/H867F1M2ziD+yLHtB46oM35FxxMJ4d0=
|
||||||
github.com/AdaLogics/go-fuzz-headers v0.0.0-20221118232415-3345c89a7c72/go.mod h1:VzwV+t+dZ9j/H867F1M2ziD+yLHtB46oM35FxxMJ4d0=
|
github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20221215162035-5330a85ea652 h1:+vTEFqeoeur6XSq06bs+roX3YiT49gUniJK7Zky7Xjg=
|
||||||
github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20221121202950-b2031950a318 h1:nAwmBy/KN2j/RJDzBskqjIPCDS9TBVVJQ7FEfDBI5wY=
|
github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20221215162035-5330a85ea652/go.mod h1:OahwfttHWG6eJ0clwcfBAHoDI6X/LV/15hx/wlMZSrU=
|
||||||
github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20221121202950-b2031950a318/go.mod h1:pXIs8t4wo19ehhsffZsAZxSQ+oPUF41iiDrUaIDWKFU=
|
|
||||||
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8=
|
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8=
|
||||||
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E=
|
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E=
|
||||||
github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24=
|
github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24=
|
||||||
@ -1495,7 +1494,6 @@ golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
|
|||||||
golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
|
golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
|
||||||
golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E=
|
golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E=
|
||||||
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
|
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
|
||||||
golang.org/x/tools v0.1.13-0.20221007141809-02bef08ac854/go.mod h1:VsjNM1dMo+Ofkp5d7y7fOdQZD8MTXSQ4w3EPk65AvKU=
|
|
||||||
golang.org/x/tools v0.2.0 h1:G6AHpWxTMGY1KyEYoAQ5WTtIekUUvDNjan3ugu60JvE=
|
golang.org/x/tools v0.2.0 h1:G6AHpWxTMGY1KyEYoAQ5WTtIekUUvDNjan3ugu60JvE=
|
||||||
golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA=
|
golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA=
|
||||||
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||||
|
46
vendor/github.com/AdaLogics/go-fuzz-headers/consumer.go
generated
vendored
46
vendor/github.com/AdaLogics/go-fuzz-headers/consumer.go
generated
vendored
@ -546,12 +546,58 @@ func setTarHeaderTypeflag(hdr *tar.Header, f *ConsumeFuzzer) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func tooSmallFileBody(length uint32) bool {
|
||||||
|
if length < 100 {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
if length < 500 {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
if length < 1000 {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
if length < 2000 {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
if length < 4000 {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
if length < 8000 {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
if length < 16000 {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
if length < 32000 {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
if length < 64000 {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
if length < 128000 {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
if length < 264000 {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
func (f *ConsumeFuzzer) createTarFileBody() ([]byte, error) {
|
func (f *ConsumeFuzzer) createTarFileBody() ([]byte, error) {
|
||||||
length, err := f.GetUint32()
|
length, err := f.GetUint32()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errors.New("not enough bytes to create byte array")
|
return nil, errors.New("not enough bytes to create byte array")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
shouldUseLargeFileBody, err := f.GetBool()
|
||||||
|
if err != nil {
|
||||||
|
return nil, errors.New("not enough bytes to check long file body")
|
||||||
|
}
|
||||||
|
|
||||||
|
if shouldUseLargeFileBody && tooSmallFileBody(length) {
|
||||||
|
return nil, errors.New("File body was too small")
|
||||||
|
}
|
||||||
|
|
||||||
// A bit of optimization to attempt to create a file body
|
// A bit of optimization to attempt to create a file body
|
||||||
// when we don't have as many bytes left as "length"
|
// when we don't have as many bytes left as "length"
|
||||||
remainingBytes := f.dataTotal - f.position
|
remainingBytes := f.dataTotal - f.position
|
||||||
|
20
vendor/github.com/AdamKorcz/go-118-fuzz-build/testing/f.go
generated
vendored
20
vendor/github.com/AdamKorcz/go-118-fuzz-build/testing/f.go
generated
vendored
@ -3,6 +3,7 @@ package testing
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
fuzz "github.com/AdaLogics/go-fuzz-headers"
|
fuzz "github.com/AdaLogics/go-fuzz-headers"
|
||||||
|
"os"
|
||||||
"reflect"
|
"reflect"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -12,6 +13,10 @@ type F struct {
|
|||||||
FuzzFunc func(*T, any)
|
FuzzFunc func(*T, any)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (f *F) CleanupTempDirs() {
|
||||||
|
f.T.CleanupTempDirs()
|
||||||
|
}
|
||||||
|
|
||||||
func (f *F) Add(args ...any) {}
|
func (f *F) Add(args ...any) {}
|
||||||
func (c *F) Cleanup(f func()) {}
|
func (c *F) Cleanup(f func()) {}
|
||||||
func (c *F) Error(args ...any) {}
|
func (c *F) Error(args ...any) {}
|
||||||
@ -173,10 +178,10 @@ func (f *F) Fuzz(ff any) {
|
|||||||
}
|
}
|
||||||
func (f *F) Helper() {}
|
func (f *F) Helper() {}
|
||||||
func (c *F) Log(args ...any) {
|
func (c *F) Log(args ...any) {
|
||||||
fmt.Println(args)
|
fmt.Println(args...)
|
||||||
}
|
}
|
||||||
func (c *F) Logf(format string, args ...any) {
|
func (c *F) Logf(format string, args ...any) {
|
||||||
fmt.Println(format, args, "\n")
|
fmt.Println(format, args)
|
||||||
}
|
}
|
||||||
func (c *F) Name() string { return "libFuzzer" }
|
func (c *F) Name() string { return "libFuzzer" }
|
||||||
func (c *F) Setenv(key, value string) {}
|
func (c *F) Setenv(key, value string) {}
|
||||||
@ -190,6 +195,13 @@ func (c *F) Skipf(format string, args ...any) {
|
|||||||
panic("GO-FUZZ-BUILD-PANIC")
|
panic("GO-FUZZ-BUILD-PANIC")
|
||||||
}
|
}
|
||||||
func (f *F) Skipped() bool { return false }
|
func (f *F) Skipped() bool { return false }
|
||||||
func (c *F) TempDir() string {
|
|
||||||
panic("TempDir() is not supported")
|
func (f *F) TempDir() string {
|
||||||
|
dir, err := os.MkdirTemp("", "fuzzdir-")
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
f.T.TempDirs = append(f.T.TempDirs, dir)
|
||||||
|
|
||||||
|
return dir
|
||||||
}
|
}
|
||||||
|
34
vendor/github.com/AdamKorcz/go-118-fuzz-build/testing/t.go
generated
vendored
34
vendor/github.com/AdamKorcz/go-118-fuzz-build/testing/t.go
generated
vendored
@ -2,6 +2,7 @@ package testing
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
@ -11,6 +12,12 @@ import (
|
|||||||
// panic with the text "GO-FUZZ-BUILD-PANIC" and the fuzzer
|
// panic with the text "GO-FUZZ-BUILD-PANIC" and the fuzzer
|
||||||
// will recover.
|
// will recover.
|
||||||
type T struct {
|
type T struct {
|
||||||
|
TempDirs []string
|
||||||
|
}
|
||||||
|
|
||||||
|
func NewT() *T {
|
||||||
|
tempDirs := make([]string, 0)
|
||||||
|
return &T{TempDirs: tempDirs}
|
||||||
}
|
}
|
||||||
|
|
||||||
func unsupportedApi(name string) string {
|
func unsupportedApi(name string) string {
|
||||||
@ -35,8 +42,7 @@ func (t *T) Error(args ...any) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (t *T) Errorf(format string, args ...any) {
|
func (t *T) Errorf(format string, args ...any) {
|
||||||
fmt.Println(format)
|
fmt.Printf(format+"\n", args...)
|
||||||
fmt.Println(args...)
|
|
||||||
panic("errorf")
|
panic("errorf")
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -58,11 +64,11 @@ func (t *T) Fatal(args ...any) {
|
|||||||
panic("fatal")
|
panic("fatal")
|
||||||
}
|
}
|
||||||
func (t *T) Fatalf(format string, args ...any) {
|
func (t *T) Fatalf(format string, args ...any) {
|
||||||
fmt.Println(format, args)
|
fmt.Printf(format+"\n", args...)
|
||||||
panic("fatal")
|
panic("fatal")
|
||||||
}
|
}
|
||||||
func (t *T) Helper() {
|
func (t *T) Helper() {
|
||||||
panic(unsupportedApi("t.Failed()"))
|
// We can't support it, but it also just impacts how failures are reported, so we can ignore it
|
||||||
}
|
}
|
||||||
func (t *T) Log(args ...any) {
|
func (t *T) Log(args ...any) {
|
||||||
fmt.Println(args...)
|
fmt.Println(args...)
|
||||||
@ -78,10 +84,10 @@ func (t *T) Name() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (t *T) Parallel() {
|
func (t *T) Parallel() {
|
||||||
panic(unsupportedApi("t.Failed()"))
|
panic(unsupportedApi("t.Parallel()"))
|
||||||
}
|
}
|
||||||
func (t *T) Run(name string, f func(t *T)) bool {
|
func (t *T) Run(name string, f func(t *T)) bool {
|
||||||
panic(unsupportedApi("t.Run()."))
|
panic(unsupportedApi("t.Run()"))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *T) Setenv(key, value string) {
|
func (t *T) Setenv(key, value string) {
|
||||||
@ -105,5 +111,19 @@ func (t *T) Skipped() bool {
|
|||||||
panic(unsupportedApi("t.Skipped()"))
|
panic(unsupportedApi("t.Skipped()"))
|
||||||
}
|
}
|
||||||
func (t *T) TempDir() string {
|
func (t *T) TempDir() string {
|
||||||
panic(unsupportedApi("t.TempDir()"))
|
dir, err := os.MkdirTemp("", "fuzzdir-")
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
t.TempDirs = append(t.TempDirs, dir)
|
||||||
|
|
||||||
|
return dir
|
||||||
|
}
|
||||||
|
|
||||||
|
func (t *T) CleanupTempDirs() {
|
||||||
|
if len(t.TempDirs) > 0 {
|
||||||
|
for _, tempDir := range t.TempDirs {
|
||||||
|
os.RemoveAll(tempDir)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
4
vendor/modules.txt
vendored
4
vendor/modules.txt
vendored
@ -1,9 +1,9 @@
|
|||||||
# cloud.google.com/go/compute/metadata v0.2.1
|
# cloud.google.com/go/compute/metadata v0.2.1
|
||||||
## explicit; go 1.19
|
## explicit; go 1.19
|
||||||
# github.com/AdaLogics/go-fuzz-headers v0.0.0-20221118232415-3345c89a7c72
|
# github.com/AdaLogics/go-fuzz-headers v0.0.0-20221206110420-d395f97c4830
|
||||||
## explicit; go 1.18
|
## explicit; go 1.18
|
||||||
github.com/AdaLogics/go-fuzz-headers
|
github.com/AdaLogics/go-fuzz-headers
|
||||||
# github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20221121202950-b2031950a318
|
# github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20221215162035-5330a85ea652
|
||||||
## explicit; go 1.18
|
## explicit; go 1.18
|
||||||
github.com/AdamKorcz/go-118-fuzz-build/testing
|
github.com/AdamKorcz/go-118-fuzz-build/testing
|
||||||
# github.com/Microsoft/go-winio v0.6.0
|
# github.com/Microsoft/go-winio v0.6.0
|
||||||
|
Loading…
Reference in New Issue
Block a user