-
Notifications
You must be signed in to change notification settings - Fork 14
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
How do I produce an initial corpus? #88
Comments
That is a good question. I will look into that. |
Hello. I also am curious about this. My use case is that I am fuzzing an API based on its OpenAPI schema, and I am transforming each schema into a Go struct. Then, I want to create some random objects of those struct types, by providing the corpus with the Here is a snippet of my OpenAPI spec: Category:
type: object
properties:
id:
type: integer
format: int64
example: 1
name:
type: string
example: Dogs In this case I would like to pass |
What about an interface like this? Bytes(...any) []byte Encode each passed in parameter equally to how you would decode it with a Maybe add a |
Go's documentation's example of a fuzz test is:
I want to use go-fuzz-headers and I want to add seed corpus values that correspond to meaningful struct values. How do I do that?
The text was updated successfully, but these errors were encountered: