TNO-S3 / WuppieFuzz

A coverage-guided REST API fuzzer developed on top of LibAFL
Apache License 2.0
93 stars 4 forks source link

Parameter key 'examples' is not yet used when generating a corpus #39

Open grebnetiew opened 3 weeks ago

grebnetiew commented 3 weeks ago

Describe the bug In openapi/example.rs, for instance line 208, the example field of a parameter is used to generate a value for the corpus. There is also an examples field (plural) where one can specify multiple examples, but we don't attempt to read it.

Versions:

To Reproduce Add an examples field to a parameter in your API and generate a corpus.

Expected behavior The examples are used in the generated corpus.

Additional context See #37