# fuzzing: implement limited fuzzing · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/0feacc2b81679514c0168a6ba4c0decafeb2e43e)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 0feacc2b81679514c0168a6ba4c0decafeb2e43e

Requested commit: 0feacc2b81679514c0168a6ba4c0decafeb2e43e

Commit: 0feacc2b81679514c0168a6ba4c0decafeb2e43e

Tree: ecd0b572273020af3b27f3d2e1ae65e07c39f12d

Author: Loris Cro

Committer: Loris Cro

## Message

```
fuzzing: implement limited fuzzing

Adds the limit option to `--fuzz=[limit]`. the limit expresses a number
of iterations that *each fuzz test* will perform at maximum before
exiting. The limit argument supports also 'K', 'M', and 'G' suffixeds
(e.g. '10K').

Does not imply `--web-ui` (like unlimited fuzzing does) and prints a
fuzzing report at the end.

Closes #22900 but does not implement the time based limit, as after
internal discussions we concluded to be problematic to both implement
and use correctly.

```

## Parents

- [26825e95066c104585d248787c0e56ce4e8413e0](https://git.cafe/gitcafe/zig/commit/26825e95066c104585d248787c0e56ce4e8413e0?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/0feacc2b81679514c0168a6ba4c0decafeb2e43e?format=markdown)
