linuxboot / linuxboot/contest

Add fuzz tests

Open
#19 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
20
Forks
17
PR merge metrics
No merged PRs in 30d

Description

**Issue by [xaionaro](https://github.com/xaionaro)**
_Tuesday Mar 03, 2020 at 16:46 GMT_
_Originally opened as https://github.com/facebookincubator/contest/issues/61_

----

I guess we should also add [fuzz](https://github.com/dvyukov/go-fuzz) tests to all methods of the [`api.API`](https://github.com/facebookincubator/contest/blob/196aef7471263ca4d06eab68324df5bbdc6d2f95/pkg/api/api.go#L29). It may help to improve both:
* Security.
* Reliability.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with pkg/api/api.go and review the api.API methods referenced by the issue. Check the go-fuzz documentation and the repository's existing test setup before determining how each method can be fuzzed. Done means fuzz tests cover all api.API methods and provide useful security or reliability coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
security, testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.