Closed MattWindsor91 closed 4 years ago
Per the syntax sketch for #159, I'd be tempted to add some noise words to the syntax here:
set flag type.bool to 0
set flag type.bool to 1
set flag type.bool with ratio 1:2
where the parser can omit to
, or with
(but probably not ratio
).
This is implemented now.
Pursuant to #133, I think the fuzzer will eventually need some notion of tunable flag weights. These would have the possibility of being randomly generated (eg as part of the payload generator) with some control over the odds of true vs odds of false.
Here's a sketch of some possible syntax:
Eventually we might be able to generalise this syntax to support per-action weightings:
Another eventual possibility might be generalising to arbitrary integers etc., but working out how we'd specify probability distributions for them in the config file seems a bit difficult!