|
|
@3633
|
12 years |
Sam Hocevar |
Allow fromlen == NULL in the recvfrom() wrapper.
|
|
|
@3632
|
12 years |
Sam Hocevar |
lib-mem.c: undefine various feature macros before redefining them.
|
|
|
@3631
|
12 years |
Sam Hocevar |
zzuf.c: use LT_OBJDIR instead of hardcoding ".libs/".
|
|
|
@3408
|
12 years |
Sam Hocevar |
lib-fd.c: accept() may accept NULL as the addrlen argument. Do not …
|
|
|
@3001
|
12 years |
Sam Hocevar |
Rename --max-cpu into --max-cputime to avoid confusion (fixes #44).
|
|
|
@2818
|
12 years |
Sam Hocevar |
* zzuf.c: use atol() instead of atoi() for the --seed flag.
|
|
|
@2817
|
12 years |
Sam Hocevar |
* zzuf.c: allow the use of -r=0 in addition to -r 0, and likewise for
…
|
|
|
@2584
|
13 years |
Sam Hocevar |
* Hack around to get HP-UX tools to work. It still fails the most …
|
|
|
@2583
|
13 years |
Sam Hocevar |
* zzuf.c: make the -B flag (max bytes) also work when fuzzing the …
|
|
|
@2577
|
13 years |
Sam Hocevar |
* configure.ac: add a check for the printf function attribute.
|
|
|
@2575
|
13 years |
Sam Hocevar |
* fuzz.c: activate the fuzz() debug message, it may be verbose but I …
|
|
|
@2574
|
13 years |
Sam Hocevar |
* lib-mem.c: with all the preprocessor crap that we now have in C …
|
|
|
@2572
|
13 years |
Sam Hocevar |
* lib-stream.c: since srefill is far more powerful than srget, we …
|
|
|
@2571
|
13 years |
Sam Hocevar |
* lib-stream.c: fix a bug in the OS X srefill implementation.
|
|
|
@2570
|
13 years |
Sam Hocevar |
* lib-stream.c: the BSDs' refill function is slightly different from …
|
|
|
@2569
|
13 years |
Sam Hocevar |
* Implement srget on FreeBSD, which is yet another version of srefill.
|
|
|
@2568
|
13 years |
Sam Hocevar |
* lib-stream.c: fix the fread() implementation on FreeBSD 7.0.
|
|
|
@2566
|
13 years |
Sam Hocevar |
* lib-stream.c: only use the srefill trick on OS X. HP-UX is too …
|
|
|
@2565
|
13 years |
Sam Hocevar |
* lib-mem.c: fix FreeBSD 7.0 build by including <sys/cdefs.h> earlier on.
|
|
|
@2562
|
13 years |
Sam Hocevar |
* Better check for the func keyword that does not rely on …
|
|
|
@2559
|
13 years |
Sam Hocevar |
* Support fsetpos64 on Linux.
|
|
|
@2557
|
13 years |
Sam Hocevar |
* lib-mem.c: add pre-include macro to get getc_unlocked() on OpenSolaris?.
|
|
|
@2556
|
13 years |
Sam Hocevar |
* lib-mem.c: add pre-include macros to get mmap and valloc on OpenSolaris?.
|
|
|
@2555
|
13 years |
Sam Hocevar |
* zzuf.c: rename sig2str to sig2name; the former is a Solaris libc symbol.
|
|
|
@2554
|
13 years |
Sam Hocevar |
* Another fucked commit... synchronise config.h and lib-stream.c.
|
|
|
@2553
|
13 years |
Sam Hocevar |
* lib-stream.c: try to make the filbuf() implementation portable …
|
|
|
@2552
|
13 years |
Sam Hocevar |
* Implement freopen64, fsetpos64 and fseeko64 for OpenSolaris?.
|
|
|
@2544
|
13 years |
Sam Hocevar |
* mygetopt.c: fix a parsing issue with short options.
|
|
|
@2542
|
13 years |
Sam Hocevar |
* Fix a few HP-UX warnings caused by missing headers.
|
|
|
@2534
|
13 years |
Sam Hocevar |
* zzuf.c: retrieve library object name from libtool's .la file so we …
|
|
|
@2533
|
13 years |
Sam Hocevar |
* Implement srefill() for full HP-UX support on parisc-gcc.
|
|
|
@2530
|
13 years |
Sam Hocevar |
* Add a few _INCLUDE_POSIX_SOURCE defines here and there so that we …
|
|
|
@2528
|
13 years |
Sam Hocevar |
* Implement additional functions required on HP-UX: fopen64, …
|
|
|
@2527
|
13 years |
Sam Hocevar |
* Build on HP-UX systems: disable unsupported warning flags, define
…
|
|
|
@2525
|
13 years |
Sam Hocevar |
* zzuf.c: reformated the licensing information for zzuf -V.
|
|
|
@2524
|
13 years |
Sam Hocevar |
* lib-stream.c: remove an unused variable.
|
|
|
@2523
|
13 years |
Sam Hocevar |
* Fix a compilation issue on FreeBSD by defining _BSD_SOURCE and …
|
|
|
@2521
|
13 years |
Sam Hocevar |
* Set a default maximum memory usage value to avoid excessive swapping.
|
|
|
@2461
|
13 years |
Sam Hocevar |
* Avoid a potential shared library attack by never looking for libzzuf …
|
|
|
@2355
|
13 years |
Sam Hocevar |
* Fix a crash in the realloc() wrapper occurring when dlsym() or …
|
|
|
@2354
|
13 years |
Sam Hocevar |
* Do not try to free() on buffers that have been allocated with the …
|
|
|
@2345
|
13 years |
Sam Hocevar |
* Change -M to mean mebibytes instead of megabytes, because I'm a …
|
|
|
@2344
|
13 years |
Sam Hocevar |
* Change -F to -j, to mimic make.
|
|
|
@2343
|
13 years |
Sam Hocevar |
* Allow to omit the right-hand side of the seed range, for indefinite
…
|
|
|
@2341
|
13 years |
Sam Hocevar |
* Add SIGPIPE to the list of crashing signals.
|
|
|
@2340
|
13 years |
Sam Hocevar |
* Fix an invalid cast on the Alpha architecture caused by sockaddr_in* …
|
|
|
@2337
|
13 years |
Sam Hocevar |
* Minor memory and speed optimisation.
|
|
|
@2336
|
13 years |
Sam Hocevar |
* Start working on the internal code documentation.
|
|
|
@2334
|
13 years |
Sam Hocevar |
* Implement getchar() and getchar_unlocked().
|
|
|
@2333
|
13 years |
Sam Hocevar |
* Minor changes: add quotes between launched program name, update …
|
|
|
@2332
|
13 years |
Sam Hocevar |
* Make sure the fgets_unlocked() reimplementation uses …
|
|
|
@2331
|
13 years |
Sam Hocevar |
* Implement fgets_unlocked() and fread_unlocked().
|
|
|
@2330
|
13 years |
Sam Hocevar |
* Implement getc_unlocked() and fgetc_unlocked().
|
|
|
@2327
|
13 years |
Sam Hocevar |
* No longer require the "--" trick to separate zzuf's flags and the …
|
|
|
@2326
|
13 years |
Sam Hocevar |
* Cosmetic: remove trailing spaces from the source code.
|
|
|
@2324
|
13 years |
Sam Hocevar |
* Improve overall randomness. Now even close seeds have very different …
|
|
|
@2320
|
13 years |
Sam Hocevar |
* Implement dup() and dup2(). They are needed for Debian's …
|
|
|
@2319
|
13 years |
Sam Hocevar |
* Slightly updated the build system.
|
|
|
@2272
|
13 years |
Sam Hocevar |
* Set minimal fuzzing ratio to 0.000000001% (less than one bit changed …
|
|
|
@2271
|
13 years |
Sam Hocevar |
* Implement %g in the debug() format string. Incomplete but useful.
|
|
|
@1866
|
13 years |
Sam Hocevar |
* Link libzzuf with winsock because of our use of htons.
|
|
|
@1864
|
13 years |
Sam Hocevar |
* Do not fuzz non-IP network protocols. They’re too painful to fine-tune.
|
|
|
@1863
|
13 years |
Sam Hocevar |
* Merged the bind() and connect() diversions using macros. They were …
|
|
|
@1862
|
13 years |
Sam Hocevar |
* Divert connect() so that -p/--ports now works with outbound connections.
|
|
|
@1859
|
13 years |
Sam Hocevar |
* Fix a bug in the -p handling that made it opt-out instead of opt-in. …
|
|
|
@1858
|
13 years |
Sam Hocevar |
* Network destination port choosing with -p/--ports.
* Renamed …
|
|
|
@1856
|
13 years |
Sam Hocevar |
* Support %d, %ld and %lld in addition to %i etc. in debug().
|
|
|
@1855
|
13 years |
Sam Hocevar |
* Log and divert bind() calls.
|
|
|
@1802
|
14 years |
Sam Hocevar |
* -M is megabytes, not bytes. Fixed --help output.
|
|
|
@1801
|
14 years |
Sam Hocevar |
* Implemented -T / --max-cpu for max CPU time limits.
|
|
|
@1800
|
14 years |
Sam Hocevar |
* Rename -T to -t. -T will be the CPU time limit.
|
|
|
@1799
|
14 years |
Sam Hocevar |
* Rename ZZUF_RLIMIT_CONST into ZZUF_RLIMIT_MEM because we're going to …
|
|
|
@1796
|
14 years |
Sam Hocevar |
* Do not clobber LD_PRELOAD, patch by Sami Liedes. Heavily rewritten.
|
|
|
@1794
|
14 years |
Sam Hocevar |
* Renamed ranges_static into static_ranges.
|
|
|
@1792
|
14 years |
Sam Hocevar |
* Factored common range-parsing code.
|
|
|
@1791
|
14 years |
Sam Hocevar |
* Added -p flag to cherry pick file descriptors that get fuzzed.
|
|
|
@1790
|
14 years |
Sam Hocevar |
* Allow to use debug() everywhere in the code; it'll just do nothing …
|
|
|
@1789
|
14 years |
Sam Hocevar |
* Add -DLIBZZUF to the libzzuf build.
|
|
|
@1763
|
14 years |
Sam Hocevar |
* Save errno in offset_check, thanks to Sami Liedes.
|
|
|
@1762
|
14 years |
Sam Hocevar |
* Removed spurious verbosity, thanks to Sami Liedes.
|
|
|
@1761
|
14 years |
Sam Hocevar |
* Cleaned up md5.c.
* Do not convert words to little endian if the …
|
|
|
@1758
|
14 years |
Sam Hocevar |
* Minor win32 cosmetic updates.
|
|
|
@1751
|
14 years |
Sam Hocevar |
* OS X doesn’t have MAP_ANONYMOUS, alias it to MAP_ANON.
|
|
|
@1749
|
14 years |
Sam Hocevar |
* Use mmap() instead of malloc() in the mmap() reimplementation so …
|
|
|
@1744
|
14 years |
Sam Hocevar |
* Improved win32 pipes.
|
|
|
@1743
|
14 years |
Sam Hocevar |
* Use doubles, not float. Fixes an issue when using the default ratio …
|
|
|
@1742
|
14 years |
Sam Hocevar |
* Disable -M when setrlimit isn't available.
|
|
|
@1741
|
14 years |
Sam Hocevar |
* OpenBSD support for setrlimit().
|
|
|
@1740
|
14 years |
Sam Hocevar |
* Handle architectures that don't have RLIMIT_AS (like OpenBSD).
|
|
|
@1736
|
14 years |
Sam Hocevar |
* Fixed more MSVC compilation warnings.
|
|
|
@1735
|
14 years |
Sam Hocevar |
* Fixed a minor warning and commented our printf-like function.
|
|
|
@1733
|
14 years |
Sam Hocevar |
* Reimplemented getopt_long. We use our replacement even if simple …
|
|
|
@1732
|
14 years |
Sam Hocevar |
* Fixed a few signed/unsigned confusions.
|
|
|
@1730
|
14 years |
Sam Hocevar |
* Fixed a few 64-bit issues reported by MSVC.
* More Win32 …
|
|
|
@1729
|
14 years |
Sam Hocevar |
* Added an MSVC project.
|
|
|
@1728
|
14 years |
Sam Hocevar |
* Check for <unistd.h>, too. MSVC doesn't have it.
|
|
|
@1727
|
14 years |
Sam Hocevar |
* Only include <sys/time.h> conditionally.
|
|
|
@1724
|
14 years |
Sam Hocevar |
* Print "EOF" instead of -1 when it means EOF.
|
|
|
@1723
|
14 years |
Sam Hocevar |
* Oops, fixed syntax error.
|
|
|
@1722
|
14 years |
Sam Hocevar |
* Better debug messages for special cases (eg. fgetc returning -1).
|
|
|