fuzzgen: add -n / --iterations flag to fuzz
In a stressed CI environment, fuzzing for a specific time is
randomized by system resources.
In order to make fuzz runs comparable, add --iterations <N>
(short: -n) to the outer fuzz CLI and --iterations / -i to the
generated fuzzer binary. The loop stops when N iterations have been
executed.
-t and -n may be combined; the loop stops when either limit is reached.
When only -n is specified (no -t), the default 30-second time limit is
dropped and the parent's safety alarm is raised to 24 h.
Note: -i is already used by the outer fuzz CLI for --input-file, so the
short form there is -n. The generated binary has no such conflict and
accepts both -i and --iterations.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Change-Id: I7d6f97fe8aa2a77c7593ae4ecfd7f96acbac2fbe
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>