diff --git a/snappy-fox.c b/snappy-fox.c index ad2ae79..93f8e48 100644 --- a/snappy-fox.c +++ b/snappy-fox.c @@ -692,7 +692,7 @@ int main(int argc, char **argv) { } #ifdef __AFL_LOOP - while (__AFL_LOOP(1000)) { + while (__AFL_LOOP(UINT32_MAX)) { #endif in = open_read_file(argv[optind]); if (in == NULL) { @@ -701,6 +701,10 @@ int main(int argc, char **argv) { goto exit_point; } +#ifdef __AFL_LOOP + ftell(in); +#endif + out = open_write_file(argv[optind + 1]); if (out == NULL) { perror("fopen write");