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

types: add fuzzers #1225

Merged
merged 1 commit into from Dec 9, 2022
Merged

types: add fuzzers #1225

merged 1 commit into from Dec 9, 2022

Conversation

AdamKorcz
Copy link
Contributor

@AdamKorcz AdamKorcz commented Dec 2, 2022

Signed-off-by: AdamKorcz adam@adalogics.com

Summary

Adds fuzzers for the following types:

  • helm
  • intoto
  • rekord
  • rfc3161
  • rpm
  • tuf

The purpose of this PR is to get coverage of the types with initial simple fuzzers.

Each fuzzer targets the CreateProposedEntry and UnmarshalEntry method of the type.

Release Note

Documentation

@AdamKorcz AdamKorcz requested review from bobcallaway and a team as code owners December 2, 2022 20:49
@codecov-commenter
Copy link

Codecov Report

Merging #1225 (9d7b28a) into main (d0f9242) will decrease coverage by 22.21%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #1225       +/-   ##
===========================================
- Coverage   64.26%   42.04%   -22.22%     
===========================================
  Files          82       74        -8     
  Lines        7628     7209      -419     
===========================================
- Hits         4902     3031     -1871     
- Misses       2098     3870     +1772     
+ Partials      628      308      -320     
Flag Coverage Δ
e2etests ?
unittests 42.04% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/api/metrics.go 0.00% <0.00%> (-100.00%) ⬇️
cmd/rekor-cli/app/useragent.go 0.00% <0.00%> (-100.00%) ⬇️
pkg/api/trillian_client.go 0.00% <0.00%> (-66.31%) ⬇️
pkg/api/api.go 0.00% <0.00%> (-64.29%) ⬇️
pkg/api/entries.go 0.00% <0.00%> (-64.00%) ⬇️
pkg/types/types.go 0.00% <0.00%> (-63.64%) ⬇️
pkg/types/versionmap.go 0.00% <0.00%> (-63.42%) ⬇️
pkg/api/error.go 0.00% <0.00%> (-59.78%) ⬇️
cmd/rekor-cli/app/verify.go 2.47% <0.00%> (-53.72%) ⬇️
cmd/rekor-cli/app/log_info.go 2.50% <0.00%> (-52.50%) ⬇️
... and 45 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@AdamKorcz AdamKorcz force-pushed the intoto branch 3 times, most recently from f374137 to 161ce20 Compare December 2, 2022 21:04
@AdamKorcz AdamKorcz requested a review from asraa as a code owner December 2, 2022 21:04
@AdamKorcz AdamKorcz force-pushed the intoto branch 3 times, most recently from 2026aa8 to 42ae95c Compare December 2, 2022 21:11
@AdamKorcz AdamKorcz changed the title intoto: add fuzzer types: add fuzzers Dec 2, 2022
Signed-off-by: AdamKorcz <adam@adalogics.com>
@bobcallaway bobcallaway merged commit 59178e5 into sigstore:main Dec 9, 2022
@github-actions github-actions bot added this to the v1.1.0 milestone Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants