comparison dbrandom.c @ 1357:08f4fa4dc6a0 fuzz

closer to working
author Matt Johnston <matt@ucc.asn.au>
date Sat, 20 May 2017 13:23:16 +0800
parents 3fdd8c5a0195
children 6b89eb92f872
comparison
equal deleted inserted replaced
1356:3677a510f545 1357:08f4fa4dc6a0
26 #include "buffer.h" 26 #include "buffer.h"
27 #include "dbutil.h" 27 #include "dbutil.h"
28 #include "bignum.h" 28 #include "bignum.h"
29 #include "dbrandom.h" 29 #include "dbrandom.h"
30 #include "runopts.h" 30 #include "runopts.h"
31 #include "fuzz.h"
32
33 31
34 /* this is used to generate unique output from the same hashpool */ 32 /* this is used to generate unique output from the same hashpool */
35 static uint32_t counter = 0; 33 static uint32_t counter = 0;
36 /* the max value for the counter, so it won't integer overflow */ 34 /* the max value for the counter, so it won't integer overflow */
37 #define MAX_COUNTER (1<<30) 35 #define MAX_COUNTER (1<<30)