Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fuzz: Refactor Fuzzers based on Go native fuzzing #432

Merged
merged 1 commit into from
Sep 9, 2022

Conversation

pjbgf
Copy link
Member

@pjbgf pjbgf commented Sep 8, 2022

The existing fuzzers were converted into the Go native format. Based on how the code was structured on this project, the fuzzers can be quite effective, allowing for entire E2E fuzzing in some cases, but with very low execution cost.

The previous controller fuzzer was converted but will need to be refactored once the controller has been rewritten. Note that due to the libgit2 dependencies a copy of compile_native_go_fuzzer had to be made and modified so that we can inject libgit2 during the linking process.

Relates to fluxcd/flux2#2417.

@pjbgf pjbgf added the area/ci CI related issues and pull requests label Sep 8, 2022
@pjbgf pjbgf added this to the GA milestone Sep 8, 2022
The existing fuzzers were converted into the Go native format.
Based on how the code was structured on this project, the fuzzers
can be quite effective, allowing for entire E2E fuzzing in some
cases, but with very low execution cost.

The previous controller fuzzer was converted but will need
to be refactored once the controller has been rewritten.
Note that due to the libgit2 dependencies a copy of
compile_native_go_fuzzer had to be made and modified so
that we can inject libgit2 during the linking process.

Signed-off-by: Paulo Gomes <[email protected]>
@stefanprodan stefanprodan merged commit 25ef3c0 into fluxcd:main Sep 9, 2022
@pjbgf pjbgf deleted the fuzz-native branch October 3, 2022 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci CI related issues and pull requests
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants