3c423c91de
* zzcat.c: partial fread() reads are undefined; avoid them in zzcat.
Sam Hocevar2008-07-16 23:17:07 +00:00
7b03486164
* lib-mem.c: add pre-include macro to get getc_unlocked() on OpenSolaris.
Sam Hocevar2008-07-16 21:54:35 +00:00
088d6f66e8
* lib-mem.c: add pre-include macros to get mmap and valloc on OpenSolaris.
Sam Hocevar2008-07-16 21:45:44 +00:00
c11d1067a2
* zzuf.c: rename sig2str to sig2name; the former is a Solaris libc symbol.
Sam Hocevar2008-07-16 21:45:40 +00:00
6c23cd7e29
* Another fucked commit... synchronise config.h and lib-stream.c.
Sam Hocevar2008-07-16 21:41:27 +00:00
f9f17a64a3
* lib-stream.c: try to make the __filbuf() implementation portable across HP-UX and OpenSolaris.
Sam Hocevar2008-07-16 21:37:12 +00:00
36726dcced
* Implement freopen64, fsetpos64 and fseeko64 for OpenSolaris.
Sam Hocevar2008-07-16 21:24:09 +00:00
66717397fa
* check-utils: use tail -n X or tail -X depending on the platform.
Sam Hocevar2008-07-16 21:03:37 +00:00
22cd9da8fe
* bootstrap: update bootstrapping script for OpenSolaris compatibility. * check-utils: do not use grep -q, OpenSolaris doesn't know about it.
Sam Hocevar2008-07-16 20:53:14 +00:00
48e7b55dfe
* Oops, forgot to check in check-md5.
Sam Hocevar2008-07-16 20:36:58 +00:00
63b3a8e8a0
* Add a bunch of unit tests to check for zzuf basic capabilities: SIGSEGV and SIGFPE detection, memory exhaustion detection.
Sam Hocevar2008-07-16 17:23:37 +00:00
bd586d1a93
* mygetopt.c: fix a parsing issue with short options.
Sam Hocevar2008-07-16 17:23:33 +00:00
4cda0e67f5
* Fix a few HP-UX warnings caused by missing headers.
Sam Hocevar2008-07-16 17:23:29 +00:00
b4541f895b
* Split the test suite into the RNG test and the Unix utils test.
Sam Hocevar2008-07-16 17:23:24 +00:00
a5dcebc637
* zzuf.c: retrieve library object name from libtool's .la file so we don't need to hardcode .so, .sl, .dylib etc. for various platforms.
Sam Hocevar2008-07-16 09:52:08 +00:00
3c6188a48b
* Implement __srefill() for full HP-UX support on parisc-gcc.
Sam Hocevar2008-07-16 09:52:02 +00:00
d5734170b3
* zzcat.c: compilation fix for missing headers.
Sam Hocevar2008-07-16 09:51:58 +00:00
612d830111
* testsuite.h: do not test for grep -a if the option is unknown.
Sam Hocevar2008-07-16 09:51:53 +00:00
abeb8d87e0
* Add a few _INCLUDE_POSIX_SOURCE defines here and there so that we build out of the box with HP-UX's c99 compiler.
Sam Hocevar2008-07-15 21:34:14 +00:00
08d6923f3a
* testsuite.sh: use printf instead of echo -n for better portability.
Sam Hocevar2008-07-15 20:16:15 +00:00
8b1f5bba2c
* Implement additional functions required on HP-UX: __fopen64, __fseeko64, __freopen64, __open64, __lseek64.
Sam Hocevar2008-07-15 20:16:11 +00:00
b448cd4759
* Build on HP-UX systems: disable unsupported warning flags, define _XOPEN_SOURCE_EXTENDED where appropriate, use AC_C_INLINE to avoid using the inline keyword when unsupported, and use #pragma INIT for library initialisation routines.
Sam Hocevar2008-07-15 20:16:06 +00:00
88ddd7f4ac
* configure.ac: do not use -fno-strength-reduce -fomit-frame-pointer, they're pretty useless for our project.
Sam Hocevar2008-07-15 20:16:02 +00:00
d79a717daa
* zzuf.c: reformated the licensing information for zzuf -V.
Sam Hocevar2008-07-15 20:15:58 +00:00
2064bc7fcf
* lib-stream.c: remove an unused variable.
Sam Hocevar2008-07-15 20:15:53 +00:00
cacdf20050
* Fix a compilation issue on FreeBSD by defining _BSD_SOURCE and including <sys/cdefs.h>.
Sam Hocevar2008-07-15 20:15:47 +00:00
1653045c19
* Fix the Win32 package build. No, it still doesn't work, it just builds.
Sam Hocevar2008-07-15 20:15:43 +00:00
27983605ca
* Set a default maximum memory usage value to avoid excessive swapping.
Sam Hocevar2008-07-15 20:15:35 +00:00
0da8b1c33a
* Run the testsuite when "make check" is called.
Sam Hocevar2008-06-20 06:05:25 +00:00
7711565c5d
* Avoid a potential shared library attack by never looking for libzzuf in the current directory.
Sam Hocevar2008-06-20 06:05:13 +00:00
23271396db
* Version 0.12. * Updated NEWS and ChangeLog.
Sam Hocevar2008-06-13 09:31:21 +00:00
df05d7bd8a
* Finished the libzzuf manual page.
Sam Hocevar2008-06-13 09:31:17 +00:00
23ba2c6d16
* Fix a crash in the realloc() wrapper occurring when dlsym() or dlopen() call realloc() with a NULL pointer.
Sam Hocevar2008-06-10 16:21:22 +00:00
a530547a92
* Do not try to free() on buffers that have been allocated with the real malloc, or we may crash unexpectedly, for instance if dlsym("free") calls malloc() then free() while free hasn't been loaded yet.
Sam Hocevar2008-06-10 16:21:17 +00:00
18d87ea844
* Started writing a manual page for libzzuf.
Sam Hocevar2008-06-10 16:21:11 +00:00
ed7240392c
* Change -M to mean mebibytes instead of megabytes, because I'm a fucking pedant.
Sam Hocevar2008-05-19 11:25:05 +00:00
9634d50cf7
* Add SIGPIPE to the list of crashing signals.
Sam Hocevar2008-05-19 11:24:46 +00:00
1c69645f86
* Fix an invalid cast on the Alpha architecture caused by sockaddr_in* having larger alignment requirements than sockaddr*.
Sam Hocevar2008-05-19 11:24:41 +00:00
bc87eaa365
* Version 0.11. * Updated NEWS and ChangeLog.
Sam Hocevar2008-05-18 19:56:52 +00:00
b2b6b59b71
* Minor memory and speed optimisation.
Sam Hocevar2008-05-18 19:56:48 +00:00
dd53242b2c
* Start working on the internal code documentation.
Sam Hocevar2008-05-18 18:13:45 +00:00
500fcb0bf1
* Don't use `--' in the testsuite, it is no longer understood.
Sam Hocevar2008-05-18 12:38:37 +00:00
c45ecef2a9
* Implement getchar() and getchar_unlocked().
Sam Hocevar2008-05-18 12:38:32 +00:00
70b02f704c
* Minor changes: add quotes between launched program name, update copyright.
Sam Hocevar2008-05-18 09:45:53 +00:00
c06d381315
* Make sure the fgets_unlocked() reimplementation uses fgetc_unlocked(), not fgetc().
Sam Hocevar2008-05-18 09:45:48 +00:00
03cf326236
* Implement fgets_unlocked() and fread_unlocked().
Sam Hocevar2008-05-17 23:10:47 +00:00
8e56c6de5a
* Implement getc_unlocked() and fgetc_unlocked().
Sam Hocevar2008-05-17 23:10:41 +00:00
04b9c5f1f0
* Document the new command line parsing behaviour.
Sam Hocevar2008-05-17 13:40:45 +00:00
e08dda0acd
* No longer require the "--" trick to separate zzuf's flags and the called program's.
Sam Hocevar2008-05-17 13:40:40 +00:00
78166aa5b0
* Cosmetic: remove trailing spaces from the source code.
Sam Hocevar2008-05-16 22:01:18 +00:00
383ed9cb09
* Add statistical analysis to the testsuite to check our random number generator.
Sam Hocevar2008-05-16 22:01:11 +00:00
cee4f2fc92
* Improve overall randomness. Now even close seeds have very different behaviours on which bits are flipped.
Sam Hocevar2008-05-16 22:01:07 +00:00
8cfe60ca4c
* Update copyright and homepage in the manual page.
Sam Hocevar2008-05-16 22:00:58 +00:00
9788f1b62b
* Implement dup() and dup2(). They are needed for Debian's implementation of dd which otherwise causes the regression tests to fail.
Sam Hocevar2008-04-26 12:24:57 +00:00
9389fc2518
* Slightly updated the build system.
Sam Hocevar2008-04-26 11:30:45 +00:00
db40102a66
* Set minimal fuzzing ratio to 0.000000001% (less than one bit changed on a whole DVD).
Sam Hocevar2008-04-12 07:44:34 +00:00
81d43c778d
* Implement %g in the debug() format string. Incomplete but useful.
Sam Hocevar2008-04-09 09:49:16 +00:00
b86478a95e
* Version 0.10. * Updated NEWS and ChangeLog.
Sam Hocevar2007-11-03 00:24:46 +00:00
17b551bb2e
* Link libzzuf with winsock because of our use of htons.
Sam Hocevar2007-11-03 00:22:58 +00:00
e4491da6cf
* Do not fuzz non-IP network protocols. They’re too painful to fine-tune.
Sam Hocevar2007-11-03 00:08:43 +00:00
801feb2296
* Merged the bind() and connect() diversions using macros. They were almost identical. * Check the addrlen value to avoid crashing with weird protocols.
Sam Hocevar2007-11-02 23:34:22 +00:00
92fbf5821f
* Divert connect() so that -p/--ports now works with outbound connections.
Sam Hocevar2007-11-02 23:23:25 +00:00
a13b641301
* Fix a bug in the -p handling that made it opt-out instead of opt-in. * Don’t bother using AF_UNIX, it doesn’t have ports.
Sam Hocevar2007-11-02 23:01:09 +00:00
01e8f8ce00
* Network destination port choosing with -p/--ports. * Renamed -p/--pick into -l/--list to avoid conflicts.
Sam Hocevar2007-11-02 22:45:54 +00:00
b45efa5afa
* Check for <netinet/in.h>, it’s needed for struct sockaddr_in.
Sam Hocevar2007-11-02 21:50:08 +00:00
59056cd9b4
* Support %d, %ld and %lld in addition to %i etc. in debug().
Sam Hocevar2007-11-02 21:40:38 +00:00
4c64d4edf6
* Version 0.9. * Updated NEWS and ChangeLog.
Sam Hocevar2007-07-10 00:24:35 +00:00
5faa15e62d
* Do not clobber LD_PRELOAD, patch by Sami Liedes. Heavily rewritten.
Sam Hocevar2007-07-09 23:51:49 +00:00
cc7dc895b5
* Renamed ranges_static into static_ranges.
Sam Hocevar2007-07-06 20:47:51 +00:00
583632ff09
* Documented -p/--pick in the man page.
Sam Hocevar2007-07-06 20:47:38 +00:00
7ce5c0c5cd
* Factored common range-parsing code.
Sam Hocevar2007-07-06 14:39:39 +00:00
7693a37ae1
* Added -p flag to cherry pick file descriptors that get fuzzed.
Sam Hocevar2007-07-06 13:40:55 +00:00
71c077ae58
* Allow to use debug() everywhere in the code; it'll just do nothing in zzuf itself, and will only output stuff in the library.
Sam Hocevar2007-07-06 13:34:38 +00:00
9cc127dce5
* Add -DLIBZZUF to the libzzuf build.
Sam Hocevar2007-07-06 13:31:23 +00:00