containerd icon indicating copy to clipboard operation
containerd copied to clipboard

Fuzzing: Add fuzzer for API definitions

Open AdamKorcz opened this issue 4 years ago • 4 comments

Adds a fuzzer for the marshaling and unmarshaling routines of the API definitions.

An internal function is added for every single API definition and a single fuzzer calls these internal functions.

FuzzApiMarshaling implements the fuzzer. checkData implements a helper that is used in every internal function. From line 365 the internal functions of the API definition are found. The only way they differ from one another is in the API definition they target. Each function targets a single Containerd API.

AdamKorcz avatar Oct 12 '21 09:10 AdamKorcz

Hi @AdamKorcz. Thanks for your PR.

I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar Oct 12 '21 09:10 k8s-ci-robot

Build succeeded.

theopenlab-ci[bot] avatar Oct 12 '21 10:10 theopenlab-ci[bot]

Not directly related to this PR, but given that Go 1.18 got native fuzzing, should we eventually migrate to Go's one?

mxpv avatar Apr 01 '22 23:04 mxpv

This PR is stale because it has been open 90 days with no activity. This PR will be closed in 7 days unless new comments are made or the stale label is removed.

github-actions[bot] avatar May 26 '24 00:05 github-actions[bot]

This PR was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Jun 02 '24 00:06 github-actions[bot]