kustomize-controller/tests/fuzz
Hidde Beydals 182ddbf837 sops/age: tidy and test keysource implementation
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-04-04 23:57:46 +02:00
..
Dockerfile.builder Refactor fuzzing 2022-01-14 15:38:24 +00:00
README.md Refactor fuzzing 2022-01-14 15:38:24 +00:00
age_fuzzer.go sops/age: tidy and test keysource implementation 2022-04-04 23:57:46 +02:00
controllers_fuzzer.go Use new standardized meta and runtime pkgs 2022-03-18 12:04:39 +01:00
go.mod Use new standardized meta and runtime pkgs 2022-03-18 12:04:39 +01:00
oss_fuzz_build.sh align fuzzing deps as per task 3 flux2 issue 2552 2022-03-28 11:28:03 +01:00
oss_fuzz_run.sh Refactor fuzzing 2022-01-14 15:38:24 +00:00
pgp_fuzzer.go Refactor fuzzing 2022-01-14 15:38:24 +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