debug test for rng

This commit is contained in:
van Hauser
2020-07-20 12:08:31 +02:00
parent 9151cb9ba2
commit 6c163910ee
2 changed files with 7 additions and 1 deletions

View File

@ -1048,6 +1048,12 @@ int main(int argc, char **argv_orig, char **envp) {
}
#ifdef RAND_TEST_VALUES
u32 counter;
for (counter = 0; counter < 100000; counter++)
printf("DEBUG: rand %06d is %u\n", counter, rand_below(afl, 65536));
#endif
setup_custom_mutators(afl);
setup_cmdline_file(afl, argv + optind);