image-reflector-controller/tests/fuzz
Stefan Prodan 86c1d8514e
fuzz: fix dependency issue
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-06-08 12:39:22 +03:00
..
Dockerfile.builder Refactor fuzzing 2022-01-18 11:13:44 +00:00
README.md Refactor fuzzing 2022-01-18 11:13:44 +00:00
fuzz_controllers.go Refactor registry test code 2022-02-15 12:37:46 +00:00
go.mod use new standardized runtime and meta package 2022-03-18 00:10:18 +05:30
oss_fuzz_build.sh fuzz: fix dependency issue 2022-06-08 12:39:22 +03:00
oss_fuzz_run.sh Refactor fuzzing 2022-01-18 11:13:44 +00:00

README.md

fuzz testing

Flux is part of Google's oss fuzz program which provides continuous fuzzing for open source projects.

The long running fuzzing execution is configured in the oss-fuzz repository. Shorter executions are done on a per-PR basis, configured as a github workflow.

For fuzzers to be called, they must be compiled within oss_fuzz_build.sh.

Testing locally

Build fuzzers:

make fuzz-build

All fuzzers will be built into ./build/fuzz/out.

Smoke test fuzzers:

make fuzz-smoketest

The smoke test runs each fuzzer once to ensure they are fully functional.

Run fuzzer locally:

./build/fuzz/out/fuzz_conditions_match

Run fuzzer inside a container:

	docker run --rm -ti \
		-v "$(pwd)/build/fuzz/out":/out \
		gcr.io/oss-fuzz/fluxcd \
		/out/fuzz_conditions_match