Commit Graph

6 Commits

Author SHA1 Message Date
AdamKorcz 63c99caae9
Refactor infra of Go 1.18 fuzzers (#8937)
`go-118-fuzz-build` is undergoing refactoring to fix some runtime issues
affecting Rekor and other projects. Currently none of Rekors fuzzers
run. This PR has been tested on all of Rekors fuzzers that will run with
this PR.

This PR modifies the infra OSS-Fuzz build script to adapt to the
upstream changes.

Cloning the `dev` branch of `go-118-fuzz-build` is a temporary solution
until it gets merged into `main` upstream.
Cloning go-118-fuzz-build in each build script is also a temporary
measure until `dev` gets merged into `main`.

Signed-off-by: AdamKorcz <adam@adalogics.com>

Signed-off-by: AdamKorcz <adam@adalogics.com>
2022-11-21 17:55:11 +00:00
John Howard 880dba286e
Always add `testing` package usage in native_go_fuzzer (#8546)
This fixes an issue where the `testing.F` is replaced with a new
package; if this was the only usage of `testing` in the file then we end
up with `testing` being an unused import. A workaround for this is to
just always use `testing` via some placeholder variable.
2022-09-21 10:49:21 -07:00
Paulo Gomes 0b416da224
native go fuzzing: Restrict fuzzer lookup to `*.go` (#8238)
native go fuzzing: Restrict fuzzer lookup to *.go
Projects containing words starting with Fuzz in non-go
files break compile_native_go_fuzzer with the error:
sed: -e expression #1, char 15: unknown option to 's'

Signed-off-by: Paulo Gomes <pjbgf@linux.com>

Signed-off-by: Paulo Gomes <pjbgf@linux.com>
2022-08-16 20:03:34 -07:00
Navidem ae83c88a54
Upgrade infra and projects to go1.18 (#7791)
* Replace go get with go install in the scritp

* Remove go get from projects

* Replace gotip with go

* Fix CI

* Add missing dependency for cryptofuzz
2022-06-06 11:31:04 +10:00
AdamKorcz ad659bfa2f
native go fuzzing: Remove installation of dependencies (#7259) 2022-02-10 11:50:37 +00:00
AdamKorcz 4fdde05cff
[draft] Integrate native go fuzzing (#7055) 2022-02-09 06:57:00 +11:00