-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Copy fuzzers from github.com/cncf/cncf-fuzzing #7123
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
Conversation
|
Skipping CI for Draft Pull Request. |
7628922 to
fe4ba1c
Compare
|
@AdamKorcz Please take a look. |
|
@AdamKorcz Is it possible to measure the efficiency (e.g. # of lines covered / iterations?) of a fuzzer? I'm wondering about https://github.com/cncf/cncf-fuzzing/blob/c402ef33d7a399d1c00c009d51df910e30dfe00a/projects/containerd/containerd_import_structured_fuzzer.go#L73-L79. Does it make sense to have both
|
The simplest test is to run these fuzzers over a defined time (for example 2 hours) and observe its coverage. As far as I remember, the structured fuzzer outperforms the non-structured one significantly. However, there might be value in having a fuzzer that generates more random input than the structured one, for example if the structured one does not reach all code. |
Signed-off-by: Kazuyoshi Kato <[email protected]>
This commit copies the fuzzers from the repository except for containerd_import_structured_fuzzer.go. Signed-off-by: Kazuyoshi Kato <[email protected]>
|
This one is ready for review. I will work on containerd_import_structured_fuzzer.go in a different PR since this PR is already big. |
estesp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
They are copied to containerd's repos in containerd/containerd#7123. Signed-off-by: Kazuyoshi Kato <[email protected]>
This commit copies the fuzzers from the repository except for
containerd_import_structured_fuzzer.go.
Signed-off-by: Kazuyoshi Kato [email protected]