Commit: 4357 Author: sam Date: Tue Feb 9 02:15:06 2010 +0000 Split check-build into check-source and check-win32. Makefile.am | 2 + test/Makefile.am | 2 +- test/check-build | 65 ----------------------------------------------------- test/check-source | 37 ++++++++++++++++++++++++++++++ test/check-win32 | 30 ++++++++++++++++++++++++ 5 files changed, 70 insertions(+), 66 deletions(-) Commit: 4319 Author: sam Date: Sun Feb 7 14:21:35 2010 +0000 Add an OS X build script that generates fat binaries. Makefile.am | 2 +- build-osx | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletions(-) Commit: 4315 Author: sam Date: Sat Feb 6 01:39:00 2010 +0000 Add missing svn:ignore properties. Commit: 4314 Author: sam Date: Sat Feb 6 01:37:52 2010 +0000 On OS X, resident_size is actually in bytes, not pages. Fixing memory check routine. src/libzzuf/lib-mem.c | 11 +---------- 1 files changed, 1 insertions(+), 10 deletions(-) Commit: 4311 Author: sam Date: Sun Jan 31 12:25:16 2010 +0000 Preparing zzuf-0.13 release. ChangeLog | 1194 +++++++++++++++++++++++++++++++++------------------------- README | 3 +- configure.ac | 2 +- 3 files changed, 677 insertions(+), 522 deletions(-) Commit: 4310 Author: sam Date: Sun Jan 31 12:18:01 2010 +0000 Minor testsuite behaviour updates. test/check-build | 2 +- test/check-zzuf-r-ratio | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) Commit: 4309 Author: sam Date: Sun Jan 31 12:05:43 2010 +0000 Simplify ChangeLog output. Makefile.am | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) Commit: 4308 Author: sam Date: Sun Jan 31 12:04:56 2010 +0000 Properly document the -a flag. doc/zzuf.1.in | 13 +++++++++++-- src/zzuf.c | 4 ++-- 2 files changed, 13 insertions(+), 4 deletions(-) Commit: 4291 Author: sam Date: Thu Jan 21 09:31:47 2010 +0000 Fix a regression in myfork.c causing build failures when libtool does not define LT_OBJDIR. src/myfork.c | 5 +++++ src/zzuf.c | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) Commit: 4290 Author: sam Date: Thu Jan 21 01:17:27 2010 +0000 Use LD_PRELOAD_32 on OpenSolaris i386. src/myfork.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) Commit: 4289 Author: sam Date: Thu Jan 21 01:17:21 2010 +0000 Add a debug mode to zzcat. doc/zzcat.1.in | 5 ++++- src/zzcat.c | 20 ++++++++++++++++++-- 2 files changed, 22 insertions(+), 3 deletions(-) Commit: 4288 Author: sam Date: Thu Jan 21 01:17:15 2010 +0000 Fix a buffer overflow in zzcat. src/zzcat.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Commit: 4287 Author: sam Date: Thu Jan 21 01:17:09 2010 +0000 Fix testsuite behaviour on OpenSolaris /bin/sh. test/check-utils | 8 ++++---- test/functions.inc | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) Commit: 4286 Author: sam Date: Thu Jan 21 01:17:01 2010 +0000 Fix compilation warnings and errors on OpenSolaris caused by a few of our source feature macros. src/libzzuf/lib-mem.c | 2 +- src/zzcat.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletions(-) Commit: 4285 Author: sam Date: Wed Jan 20 07:59:01 2010 +0000 Improve the OpenSolaris port: support for FILE structures, and a few additional defines to activate libc features. configure.ac | 28 ++++++++++++++++++++-------- msvc/config.h | 1 + src/libzzuf/lib-fd.c | 2 ++ src/libzzuf/lib-signal.c | 2 ++ src/libzzuf/lib-stream.c | 6 ++++++ 5 files changed, 31 insertions(+), 8 deletions(-) Commit: 4284 Author: sam Date: Tue Jan 19 13:01:45 2010 +0000 Don't try to use waitpid() information on Win32. src/zzuf.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) Commit: 4283 Author: sam Date: Tue Jan 19 12:44:29 2010 +0000 Drop atoll() usage. It's not portable. src/zzuf.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 4282 Author: sam Date: Tue Jan 19 12:44:23 2010 +0000 Fix memory limitation method on OS X (page size was ignored) and other systems (was using MBs instead of MiBs). src/libzzuf/lib-mem.c | 11 ++++++++++- src/libzzuf/libzzuf.c | 2 +- src/myfork.c | 4 ++-- src/zzuf.c | 9 ++++++++- 4 files changed, 21 insertions(+), 5 deletions(-) Commit: 4281 Author: sam Date: Tue Jan 19 12:44:15 2010 +0000 Fix a bug in the -s test script that failed to detect failures. test/check-zzuf-s-seed | 21 ++++++++++++--------- 1 files changed, 12 insertions(+), 9 deletions(-) Commit: 4280 Author: sam Date: Mon Jan 18 02:19:07 2010 +0000 Prepare for zzuf 0.13. Soon. ChangeLog | 3756 ++++++++++++++++++++++++++++++++++++++++++++++++----------- Makefile.am | 6 + NEWS | 8 + 3 files changed, 3075 insertions(+), 695 deletions(-) Commit: 4279 Author: sam Date: Mon Jan 18 02:02:12 2010 +0000 Add a check-zzuf-s-seed that tests whether all bits in a sequence have a chance of being toggled. .gitignore | 1 + test/Makefile.am | 2 +- test/check-zzuf-s-seed | 43 ++++++++++++++++++++++++ test/zzone.c | 85 ++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 130 insertions(+), 1 deletions(-) Commit: 4278 Author: sam Date: Mon Jan 18 02:02:06 2010 +0000 Add a -r flag to zzcat to repeatedly cat file lists. doc/zzcat.1.in | 6 +++++- src/zzcat.c | 23 +++++++++++++++-------- 2 files changed, 20 insertions(+), 9 deletions(-) Commit: 4277 Author: sam Date: Mon Jan 18 02:02:00 2010 +0000 In verbose mode, tell when a process exits. src/zzuf.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) Commit: 4274 Author: sam Date: Fri Jan 15 21:14:48 2010 +0000 Improve zzcat's manual page. Fixes #75. doc/zzcat.1.in | 51 ++++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 44 insertions(+), 7 deletions(-) Commit: 4273 Author: sam Date: Fri Jan 15 21:14:39 2010 +0000 Fix zzcat's -s flag. It must propagate to the next file. src/zzcat.c | 38 +++++++++++++++++++++++++++----------- 1 files changed, 27 insertions(+), 11 deletions(-) Commit: 4272 Author: sam Date: Fri Jan 15 17:03:39 2010 +0000 Rename check-flag-# tests to check-zzuf-#-#### with the option's long name, to avoid problems with case-insensitive filesystems. test/Makefile.am | 8 ++++- test/check-flag-A | 39 ------------------------ test/check-flag-M | 48 ------------------------------ test/check-flag-f | 67 ------------------------------------------ test/check-flag-m | 36 ---------------------- test/check-flag-r | 62 -------------------------------------- test/check-zzuf-A-autoinc | 39 ++++++++++++++++++++++++ test/check-zzuf-M-max-memory | 48 ++++++++++++++++++++++++++++++ test/check-zzuf-f-fuzzing | 67 ++++++++++++++++++++++++++++++++++++++++++ test/check-zzuf-m-md5 | 36 ++++++++++++++++++++++ test/check-zzuf-r-ratio | 62 ++++++++++++++++++++++++++++++++++++++ 11 files changed, 258 insertions(+), 254 deletions(-) Commit: 4271 Author: sam Date: Fri Jan 15 00:17:03 2010 +0000 Implement zzcat -s (squeeze empty lines). src/zzcat.c | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) Commit: 4270 Author: sam Date: Thu Jan 14 00:27:03 2010 +0000 Implement zzcat -b and -n. Fixes #74. src/zzcat.c | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) Commit: 4269 Author: sam Date: Thu Jan 14 00:26:52 2010 +0000 Avoid leading zeroes in the unit tests' initial random seed. test/functions.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 4268 Author: sam Date: Thu Jan 14 00:26:46 2010 +0000 Rename check-memory to check-flag-M and check-rng to check-flag-r. test/Makefile.am | 4 +- test/check-flag-M | 48 +++++++++++++++++++++++++++++++++++++++++ test/check-flag-r | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++ test/check-memory | 48 ----------------------------------------- test/check-rng | 62 ----------------------------------------------------- 5 files changed, 112 insertions(+), 112 deletions(-) Commit: 4267 Author: sam Date: Thu Jan 14 00:26:35 2010 +0000 Add a check-flag-f test. test/Makefile.am | 2 +- test/check-flag-A | 8 +++--- test/check-flag-f | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 72 insertions(+), 5 deletions(-) Commit: 4266 Author: sam Date: Thu Jan 14 00:26:21 2010 +0000 Add a check-flag-A test and rename check-md5 to check-flag-m. test/Makefile.am | 4 ++-- test/check-flag-A | 39 +++++++++++++++++++++++++++++++++++++++ test/check-flag-m | 36 ++++++++++++++++++++++++++++++++++++ test/check-md5 | 36 ------------------------------------ 4 files changed, 77 insertions(+), 38 deletions(-) Commit: 4265 Author: sam Date: Wed Jan 13 01:16:32 2010 +0000 Add informative messages about why we exit the main loop. src/zzuf.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) Commit: 4264 Author: sam Date: Wed Jan 13 01:09:30 2010 +0000 Rename -t/--max-time to -U/--max-usertime, and add -t/--max-time to roughly mean "maximum zzuf run time". Fixes bug #45. doc/zzuf.1.in | 47 ++++++++++++++++++++---------- src/opts.c | 5 ++- src/opts.h | 2 + src/zzuf.c | 88 +++++++++++++++++++++++++++++++++------------------------ 4 files changed, 88 insertions(+), 54 deletions(-) Commit: 4263 Author: sam Date: Wed Jan 13 01:09:19 2010 +0000 Add CONNECT_USES_STRUCT_SOCKADDR to msvc/config.h. msvc/config.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Commit: 4262 Author: sam Date: Wed Jan 13 00:11:14 2010 +0000 On HP-UX, connect(), bind() etc. do not use the struct sockaddr type but use a void pointer instead. Check for that at configure time. configure.ac | 12 ++++++++++++ src/libzzuf/lib-fd.c | 22 ++++++++++++++-------- 2 files changed, 26 insertions(+), 8 deletions(-) Commit: 4261 Author: sam Date: Tue Jan 12 23:54:49 2010 +0000 Fix check-build on platforms without sh's pushd/popd or grep's \<\>. msvc/config.h | 8 ++------ test/check-build | 7 +++---- test/functions.inc | 1 - 3 files changed, 5 insertions(+), 11 deletions(-) Commit: 4260 Author: sam Date: Tue Jan 12 23:54:43 2010 +0000 Fix the OpenBSD port. On this platform, weird stuff happens such as fseek() calling fseeko(). Fortunately, we already have the mechanisms for those situations. src/libzzuf/lib-stream.c | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) Commit: 4259 Author: sam Date: Tue Jan 12 23:54:38 2010 +0000 Minor zzcat refactoring. src/zzcat.c | 74 ++++++++++++++++++++++++++++++++++------------------------ 1 files changed, 43 insertions(+), 31 deletions(-) Commit: 4258 Author: sam Date: Tue Jan 12 23:54:31 2010 +0000 Add a workaround for OS X ignoring RLIMIT_RSS / RLIMIT_AS and getrusage() not filling in RSS information. After each memory allocation, we ask the Mach for the RSS value. configure.ac | 2 +- msvc/config.h | 1 + src/libzzuf/lib-mem.c | 35 ++++++++++++++++++++++++++++++----- src/libzzuf/libzzuf.c | 6 +++--- src/libzzuf/libzzuf.h | 2 +- 5 files changed, 36 insertions(+), 10 deletions(-) Commit: 4257 Author: sam Date: Tue Jan 12 23:54:25 2010 +0000 Fix fork() return value check. src/myfork.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 4256 Author: sam Date: Tue Jan 12 23:54:20 2010 +0000 Properly compute SONAME using libtool variables. configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 4255 Author: sam Date: Tue Jan 12 23:54:15 2010 +0000 Improve the default zzcat sequence to improve performance. doc/zzcat.1.in | 2 +- src/zzcat.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Commit: 4254 Author: sam Date: Tue Jan 12 23:54:09 2010 +0000 Support cat's -AeEtTv flags in zzcat. doc/zzcat.1.in | 26 ++++++++++++++++- src/zzcat.c | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 106 insertions(+), 9 deletions(-) Commit: 4253 Author: sam Date: Tue Jan 12 23:54:02 2010 +0000 Fix copyright information and remove Id tag everywhere. AUTHORS | 1 - Makefile.am | 1 - NEWS | 1 - README | 1 - build-win32 | 3 +-- doc/libzzuf.3.in | 2 +- doc/zzuf.1.in | 2 +- src/Makefile.am | 1 - src/common/common.h | 4 +--- src/common/fd.c | 4 +--- src/common/fd.h | 4 +--- src/common/fuzz.c | 4 +--- src/common/fuzz.h | 4 +--- src/common/random.c | 4 +--- src/common/random.h | 4 +--- src/common/ranges.c | 4 +--- src/common/ranges.h | 4 +--- src/libzzuf/debug.c | 4 +--- src/libzzuf/debug.h | 4 +--- src/libzzuf/lib-fd.c | 2 -- src/libzzuf/lib-load.h | 4 +--- src/libzzuf/lib-mem.c | 4 +--- src/libzzuf/lib-signal.c | 4 +--- src/libzzuf/lib-stream.c | 2 -- src/libzzuf/libzzuf.c | 4 +--- src/libzzuf/libzzuf.h | 4 +--- src/libzzuf/network.c | 4 +--- src/libzzuf/network.h | 4 +--- src/libzzuf/sys.c | 4 +--- src/libzzuf/sys.h | 4 +--- src/md5.c | 4 +--- src/md5.h | 4 +--- src/myfork.c | 4 +--- src/myfork.h | 4 +--- src/mygetopt.c | 4 +--- src/mygetopt.h | 4 +--- src/opts.c | 4 +--- src/opts.h | 4 +--- src/timer.c | 4 +--- src/timer.h | 4 +--- src/zzcat.c | 2 -- src/zzuf.c | 6 ++---- test/bug-div0.c | 4 +--- test/bug-memory.c | 4 +--- test/bug-overflow.c | 4 +--- test/check-build | 11 +++++++++++ test/check-div0 | 11 +++++++++++ test/check-md5 | 11 +++++++++++ test/check-memory | 11 +++++++++++ test/check-overflow | 11 +++++++++++ test/check-rng | 11 +++++++++++ test/functions.inc | 13 ++++++++++++- test/zzero.c | 4 +--- test/zznop.c | 4 +--- 54 files changed, 118 insertions(+), 125 deletions(-) Commit: 4252 Author: sam Date: Tue Jan 12 23:53:56 2010 +0000 Reduce the number of hardcoded figures in check-utils. test/check-utils | 45 ++++++++++++++++++++++++++++----------------- 1 files changed, 28 insertions(+), 17 deletions(-) Commit: 4251 Author: sam Date: Tue Jan 12 23:53:50 2010 +0000 Fix compilation warning in lib-fd.c. src/libzzuf/lib-fd.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) Commit: 4250 Author: sam Date: Tue Jan 12 23:53:43 2010 +0000 Minor cosmetic change in the verbose debug output. src/libzzuf/lib-stream.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Commit: 4249 Author: sam Date: Tue Jan 12 23:53:38 2010 +0000 Fix the FreeBSD port by not fuzzing the __srget() output unless it's called directly. src/libzzuf/lib-stream.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) Commit: 4248 Author: sam Date: Tue Jan 12 23:53:30 2010 +0000 Reorganise FILE structure autoconf tests. configure.ac | 41 ++++++++++++++++------------------------- msvc/config.h | 3 ++- src/libzzuf/lib-stream.c | 29 ++++++++++++++--------------- 3 files changed, 32 insertions(+), 41 deletions(-) Commit: 4247 Author: sam Date: Tue Jan 12 23:53:24 2010 +0000 In the unit test phase, only launch sequences with functions we support. test/check-utils | 64 ++++++++++++++++++++++++++++++++++++++++------------- 1 files changed, 48 insertions(+), 16 deletions(-) Commit: 4246 Author: sam Date: Tue Jan 12 23:53:18 2010 +0000 Improve zzcat documentation and add commandline flags, including --help and --version. doc/zzcat.1.in | 37 ++++++- src/zzcat.c | 278 ++++++++++++++++++++++++++++++++++++++++++++---------- test/check-utils | 6 +- 3 files changed, 262 insertions(+), 59 deletions(-) Commit: 4245 Author: sam Date: Tue Jan 12 23:53:09 2010 +0000 Move zzcat to the main src/ directory. It's becoming mature enough to be distributed. .gitignore | 2 +- src/Makefile.am | 7 +- src/zzcat.c | 503 ++++++++++++++++++++++++++++++++++++++++++++++++++++ test/Makefile.am | 1 - test/functions.inc | 2 +- test/zzcat.c | 503 ---------------------------------------------------- 6 files changed, 511 insertions(+), 507 deletions(-) Commit: 4244 Author: sam Date: Fri Jan 8 01:28:02 2010 +0000 Distribute zzcat and start writing documentation for it. .gitignore | 1 + configure.ac | 1 + doc/Makefile.am | 4 ++-- doc/zzcat.1.in | 31 +++++++++++++++++++++++++++++++ doc/zzuf.1.in | 2 +- test/Makefile.am | 3 ++- 6 files changed, 38 insertions(+), 4 deletions(-) Commit: 4243 Author: sam Date: Fri Jan 8 01:17:23 2010 +0000 Fix compilation warnings on FreeBSD. test/zzcat.c | 112 +++++++++++++++++++++++++++++---------------------------- 1 files changed, 57 insertions(+), 55 deletions(-) Commit: 4242 Author: sam Date: Fri Jan 8 01:17:17 2010 +0000 Fix typos in configure.ac. configure.ac | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) Commit: 4241 Author: sam Date: Fri Jan 8 01:06:18 2010 +0000 Try to fix FILE structure data on FreeBSD. configure.ac | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) Commit: 4240 Author: sam Date: Fri Jan 8 00:48:33 2010 +0000 Implement feof(x) in zzcat, to break out of a loop after EOF was hit x times. test/check-utils | 22 +++++++++++----------- test/zzcat.c | 33 ++++++++++++++++++++++++++++++--- 2 files changed, 41 insertions(+), 14 deletions(-) Commit: 4239 Author: sam Date: Fri Jan 8 00:48:27 2010 +0000 Deprecate --deny in favour of --allow !. src/opts.c | 4 ++-- src/opts.h | 4 ++-- src/zzuf.c | 39 +++++++++++++-------------------------- 3 files changed, 17 insertions(+), 30 deletions(-) Commit: 4238 Author: sam Date: Fri Jan 8 00:48:21 2010 +0000 Fix compilation warning due to kfreebsd’s fcntl.h defining FREAD. src/libzzuf/lib-fd.c | 22 ++++---- src/libzzuf/lib-mem.c | 6 +- src/libzzuf/lib-stream.c | 118 +++++++++++++++++++++++----------------------- 3 files changed, 73 insertions(+), 73 deletions(-) Commit: 4237 Author: sam Date: Fri Jan 8 00:48:12 2010 +0000 File descriptors 0 to 2 may be network sockets, don’t rule them out. src/libzzuf/network.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) Commit: 4236 Author: sam Date: Wed Jan 6 22:46:49 2010 +0000 Generate manual pages, so we can put the version number in them. .gitignore | 2 + configure.ac | 7 +- doc/Makefile.am | 2 +- doc/libzzuf.3 | 148 ------------------ doc/libzzuf.3.in | 148 ++++++++++++++++++ doc/zzuf.1 | 446 ------------------------------------------------------ doc/zzuf.1.in | 446 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 603 insertions(+), 596 deletions(-) Commit: 4233 Author: sam Date: Wed Jan 6 02:00:49 2010 +0000 Add a special section in the testsuite for regressions. test/check-utils | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) Commit: 4232 Author: sam Date: Wed Jan 6 02:00:41 2010 +0000 Fix a bug caused by our seek() not understanding eglibc's behaviour. src/common/fuzz.c | 3 +- src/libzzuf/lib-stream.c | 67 +++++++++++++++++++++++---------------------- 2 files changed, 36 insertions(+), 34 deletions(-) Commit: 4231 Author: sam Date: Wed Jan 6 00:48:47 2010 +0000 Fix an overflow in our printf's NULL handling with %p. src/libzzuf/debug.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 4230 Author: sam Date: Wed Jan 6 00:35:49 2010 +0000 Make seek() debug information more user-friendly. src/libzzuf/lib-stream.c | 16 ++++++++++++++-- 1 files changed, 14 insertions(+), 2 deletions(-) Commit: 4224 Author: sam Date: Mon Jan 4 23:59:14 2010 +0000 Avoid useless allocations in the network allow/deny code. src/libzzuf/network.c | 57 +++++++++++++++++++++++++----------------------- 1 files changed, 30 insertions(+), 27 deletions(-) Commit: 4153 Author: sam Date: Sun Dec 20 12:25:02 2009 +0000 getline() and getdelim() must return -1 if EOF was reached and no bytes were read. src/libzzuf/lib-stream.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 4152 Author: sam Date: Sun Dec 20 12:24:56 2009 +0000 Try to call _zz_init() as soon as possible. Otherwise, preloaded libraries might be confused about half the calls actually working. src/libzzuf/lib-load.h | 9 ++++++++- src/libzzuf/libzzuf.c | 21 ++++++++++++--------- src/libzzuf/libzzuf.h | 9 +++++++++ 3 files changed, 29 insertions(+), 10 deletions(-) Commit: 4151 Author: sam Date: Sun Dec 20 12:24:50 2009 +0000 Buffer debug output to reduce the number of write() calls and allow to output information that was logged before the library was initialised. src/libzzuf/debug.c | 89 +++++++++++++++++++++++++++++++++------------------ 1 files changed, 58 insertions(+), 31 deletions(-) Commit: 4150 Author: sam Date: Sun Dec 20 12:24:41 2009 +0000 Avoid overlapping regions in our realloc's memcpy call. src/libzzuf/lib-mem.c | 25 ++++++++++++++++++++----- 1 files changed, 20 insertions(+), 5 deletions(-) Commit: 4137 Author: sam Date: Wed Dec 16 16:15:40 2009 +0000 Synchronise VS 2010 solution with [4112]. msvc/config.h | 2 +- msvc/libzzuf.vcxproj | 49 +++++++++++++++++++++-------------------- msvc/zzuf.vcxproj | 42 +++++++++++++++++----------------- src/myfork.c | 59 ++++++++++++++++++++++++++++---------------------- 4 files changed, 80 insertions(+), 72 deletions(-) Commit: 4124 Author: sam Date: Mon Dec 14 16:10:15 2009 +0000 Make the check-utils output slightly clearer. test/check-utils | 71 ++++++++++++++++++++++++++++------------------------- 1 files changed, 37 insertions(+), 34 deletions(-) Commit: 4122 Author: sam Date: Mon Dec 14 03:33:53 2009 +0000 Fix a regression in the rlimit handling code caused by the myfork split. src/myfork.c | 19 +++++++++++++++++++ src/zzuf.c | 2 +- 2 files changed, 20 insertions(+), 1 deletions(-) Commit: 4121 Author: sam Date: Mon Dec 14 02:55:31 2009 +0000 Rewrite zzcat to make it a lot more configurable. test/check-utils | 43 ++++- test/zzcat.c | 518 ++++++++++++++++++++++++++++++++---------------------- 2 files changed, 343 insertions(+), 218 deletions(-) Commit: 4120 Author: sam Date: Mon Dec 14 02:55:25 2009 +0000 Add a workaround in the test suite for a cowdancer limitation causing .ilist corruption and use ulimit instead of limit. test/check-div0 | 6 +++--- test/check-memory | 6 +++--- test/check-overflow | 6 +++--- test/check-rng | 2 +- test/functions.inc | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) Commit: 4119 Author: sam Date: Mon Dec 14 02:55:20 2009 +0000 Limit coredumpsize to 0 in test scripts to avoid dumping cores at build time. test/check-div0 | 2 ++ test/check-memory | 2 ++ test/check-overflow | 2 ++ 3 files changed, 6 insertions(+), 0 deletions(-) Commit: 4118 Author: sam Date: Mon Dec 14 02:55:11 2009 +0000 Add missing distributed files in Makefile.am. Makefile.am | 8 +++++++- src/Makefile.am | 1 + 2 files changed, 8 insertions(+), 1 deletions(-) Commit: 4117 Author: sam Date: Sat Dec 12 22:20:22 2009 +0000 Refactor the stream diversions. src/libzzuf/lib-stream.c | 563 +++++++++++++++++++++++----------------------- 1 files changed, 283 insertions(+), 280 deletions(-) Commit: 4116 Author: sam Date: Sat Dec 12 22:20:16 2009 +0000 Refactor the shellcode generation to remove all hardcoded values. src/myfork.c | 169 +++++++++++++++++++++++++++++++++++++--------------------- 1 files changed, 108 insertions(+), 61 deletions(-) Commit: 4115 Author: sam Date: Sat Dec 12 22:20:11 2009 +0000 Move process creation stuff to a separate myfork.c file. src/Makefile.am | 6 +- src/common/common.h | 4 + src/myfork.c | 418 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/myfork.h | 20 +++ src/zzuf.c | 361 +------------------------------------------- 5 files changed, 451 insertions(+), 358 deletions(-) Commit: 4114 Author: sam Date: Sat Dec 12 22:20:04 2009 +0000 Fix DEBUG_STREAM compilation on Win32. src/libzzuf/lib-stream.c | 48 +++++++++++++++++++++++---------------------- 1 files changed, 25 insertions(+), 23 deletions(-) Commit: 4113 Author: sam Date: Sat Dec 12 22:19:57 2009 +0000 Minor Win32 compilation fix. src/libzzuf/lib-stream.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) Commit: 4112 Author: sam Date: Sat Dec 12 22:19:47 2009 +0000 Reorganise source code to better separate zzuf and libzzuf. Note: the Win32 build is now broken. src/Makefile.am | 34 ++- src/common/common.h | 49 +++ src/common/fd.c | 413 +++++++++++++++++++ src/common/fd.h | 43 ++ src/common/fuzz.c | 253 ++++++++++++ src/common/fuzz.h | 26 ++ src/common/random.c | 49 +++ src/common/random.h | 21 + src/common/ranges.c | 87 ++++ src/common/ranges.h | 21 + src/debug.c | 206 ---------- src/debug.h | 29 -- src/fd.c | 407 ------------------ src/fd.h | 43 -- src/fuzz.c | 249 ----------- src/fuzz.h | 26 -- src/lib-fd.c | 674 ------------------------------ src/lib-load.h | 40 -- src/lib-mem.c | 382 ----------------- src/lib-signal.c | 135 ------ src/lib-stream.c | 1019 --------------------------------------------- src/libzzuf.c | 234 ----------- src/libzzuf.h | 62 --- src/libzzuf/debug.c | 206 ++++++++++ src/libzzuf/debug.h | 29 ++ src/libzzuf/lib-fd.c | 674 ++++++++++++++++++++++++++++++ src/libzzuf/lib-load.h | 40 ++ src/libzzuf/lib-mem.c | 382 +++++++++++++++++ src/libzzuf/lib-signal.c | 135 ++++++ src/libzzuf/lib-stream.c | 1020 ++++++++++++++++++++++++++++++++++++++++++++++ src/libzzuf/libzzuf.c | 234 +++++++++++ src/libzzuf/libzzuf.h | 31 ++ src/libzzuf/network.c | 218 ++++++++++ src/libzzuf/network.h | 28 ++ src/libzzuf/sys.c | 116 ++++++ src/libzzuf/sys.h | 20 + src/network.c | 218 ---------- src/network.h | 28 -- src/opts.c | 2 +- src/random.c | 49 --- src/random.h | 21 - src/ranges.c | 87 ---- src/ranges.h | 21 - src/sys.c | 116 ------ src/sys.h | 20 - src/zzuf.c | 4 +- 46 files changed, 4122 insertions(+), 4079 deletions(-) Commit: 4111 Author: sam Date: Wed Dec 9 00:28:28 2009 +0000 Try to work around the Vista ASLR feature by retrieving the executable's base address once it is loaded in memory. src/zzuf.c | 47 +++++++++++++++++++++++++++++++++++++---------- 1 files changed, 37 insertions(+), 10 deletions(-) Commit: 4109 Author: sam Date: Tue Dec 8 01:41:35 2009 +0000 Try to reorganise the Win32 loader. src/zzuf.c | 70 +++++++++++++++++++++++++++++++++++++++-------------------- 1 files changed, 46 insertions(+), 24 deletions(-) Commit: 4108 Author: sam Date: Mon Dec 7 21:12:22 2009 +0000 Declare diverted Win32 functions as __stdcall. src/sys.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 4107 Author: sam Date: Mon Dec 7 18:35:45 2009 +0000 Give the fuzzed Win32 program a chance to display something even if the diverted function itself causes a crash. src/sys.c | 4 +++- test/zznop.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) Commit: 4106 Author: sam Date: Mon Dec 7 18:34:21 2009 +0000 Fix memory leaks and infinite loops in the Win32 launcher. src/zzuf.c | 34 ++++++++++++++++++++-------------- 1 files changed, 20 insertions(+), 14 deletions(-) Commit: 4100 Author: sam Date: Mon Dec 7 12:36:15 2009 +0000 Synchronise Win32 port with recent config.h changes. msvc/config.h | 20 ++++++++++++-------- msvc/libzzuf.vcxproj | 4 ++-- msvc/zzuf.sln | 40 ++++++++++++++++++---------------------- src/debug.c | 2 +- src/zzuf.c | 2 +- 5 files changed, 34 insertions(+), 34 deletions(-) Commit: 4043 Author: sam Date: Thu Nov 26 01:19:08 2009 +0000 Cleaner solution for echoing the SOURCES variable. src/Makefile.am | 2 ++ test/Makefile.am | 2 ++ test/check-build | 4 +--- 3 files changed, 5 insertions(+), 3 deletions(-) Commit: 4042 Author: sam Date: Thu Nov 26 01:14:05 2009 +0000 Reset offset position before most stdio call. src/lib-stream.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) Commit: 4041 Author: sam Date: Thu Nov 26 01:13:58 2009 +0000 Use fseeko64() everywhere when possible, instead of potential 32-bit versions. configure.ac | 2 +- msvc/config.h | 3 +++ src/lib-stream.c | 33 ++++++++++++++++++++++----------- 3 files changed, 26 insertions(+), 12 deletions(-) Commit: 4032 Author: sam Date: Wed Nov 25 00:42:32 2009 +0000 Minor refactoring in lib-stream.c. src/lib-stream.c | 38 ++++++++++++++++++++------------------ 1 files changed, 20 insertions(+), 18 deletions(-) Commit: 4031 Author: sam Date: Wed Nov 25 00:42:25 2009 +0000 Synchronise msvc/config.h. msvc/config.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Commit: 4030 Author: sam Date: Wed Nov 25 00:42:17 2009 +0000 More zzcat stuff. test/check-utils | 4 +- test/zzcat.c | 66 ++++++++++++++++++++++++++++++++++++++--------------- 2 files changed, 49 insertions(+), 21 deletions(-) Commit: 4029 Author: sam Date: Tue Nov 24 01:25:44 2009 +0000 We need to know the FILE buffer's current fill status. Implemented for glibc for now. configure.ac | 17 ++++++++++------- src/lib-stream.c | 9 +++++++++ 2 files changed, 19 insertions(+), 7 deletions(-) Commit: 4028 Author: sam Date: Tue Nov 24 01:25:37 2009 +0000 More zzcat additions. test/check-utils | 5 ++--- test/zzcat.c | 34 +++++++++++++++++++++++++++++----- 2 files changed, 31 insertions(+), 8 deletions(-) Commit: 4015 Author: sam Date: Mon Nov 23 11:16:03 2009 +0000 Fix a compilation warning in the network code. src/network.c | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) Commit: 4013 Author: sam Date: Mon Nov 23 01:35:23 2009 +0000 More fread() behaviour improvements, with documentation. src/lib-fd.c | 20 ++-- src/lib-mem.c | 12 ++-- src/lib-stream.c | 248 +++++++++++++++++++++++++++++++++--------------------- 3 files changed, 168 insertions(+), 112 deletions(-) Commit: 4012 Author: sam Date: Mon Nov 23 00:27:11 2009 +0000 Document the __srefill strategy in the source code. src/lib-stream.c | 26 ++++++++++++++++++-------- 1 files changed, 18 insertions(+), 8 deletions(-) Commit: 4011 Author: sam Date: Mon Nov 23 00:27:05 2009 +0000 Reimplement __uflow() under Linux. Unlocked IO now works on Linux, except in combination with getdelim()/getline(). configure.ac | 29 +++++++++------ msvc/config.h | 1 + src/lib-stream.c | 105 +++++++++++++++++++++++++++++++++++++++++++++-------- 3 files changed, 108 insertions(+), 27 deletions(-) Commit: 4010 Author: sam Date: Mon Nov 23 00:26:59 2009 +0000 Minor refactoring in zzcat. test/check-utils | 6 ++-- test/zzcat.c | 96 +++++++++++++++++++++++++++--------------------------- 2 files changed, 51 insertions(+), 51 deletions(-) Commit: 4009 Author: sam Date: Mon Nov 23 00:26:53 2009 +0000 Add a second level of debugging for slightly less useful information. doc/libzzuf.3 | 8 +++++++- doc/zzuf.1 | 5 +++-- src/debug.c | 27 +++++++++++++++++++++------ src/debug.h | 7 +++++-- src/fd.c | 6 +++--- src/fuzz.c | 4 ++-- src/libzzuf.c | 23 +++++++++++++++++------ src/libzzuf.h | 3 ++- src/zzuf.c | 7 +++++-- 9 files changed, 65 insertions(+), 25 deletions(-) Commit: 4007 Author: sam Date: Sun Nov 22 18:54:49 2009 +0000 Improve the zzcat test suite with more unlocked IO functions. test/check-utils | 7 +++- test/zzcat.c | 115 ++++++++++++++++++++++++++++++++---------------------- 2 files changed, 74 insertions(+), 48 deletions(-) Commit: 4006 Author: sam Date: Sun Nov 22 18:54:43 2009 +0000 Add a check to __uflow(). This will hopefully help us fix the problem with recent sed versions. configure.ac | 2 +- doc/libzzuf.3 | 8 +++++--- doc/zzuf.1 | 6 ++++-- msvc/config.h | 3 ++- 4 files changed, 12 insertions(+), 7 deletions(-) Commit: 4005 Author: sam Date: Sun Nov 22 18:54:37 2009 +0000 Refactor dummy memory manager and fix a bug in realloc(). src/lib-mem.c | 21 ++++++++++++--------- 1 files changed, 12 insertions(+), 9 deletions(-) Commit: 4004 Author: sam Date: Sun Nov 22 18:54:31 2009 +0000 Refactor zzcat for clarity. test/zzcat.c | 363 ++++++++++++++++++++++++++++++++++------------------------ 1 files changed, 211 insertions(+), 152 deletions(-) Commit: 4003 Author: sam Date: Sun Nov 22 18:54:25 2009 +0000 Check for typical source code issues in the testsuite. test/check-build | 40 +++++++++++++++++++++++++++++++++++++--- 1 files changed, 37 insertions(+), 3 deletions(-) Commit: 4002 Author: sam Date: Sun Nov 22 18:54:17 2009 +0000 Add a getc_unlocked method to zzcat. test/check-utils | 2 +- test/zzcat.c | 22 +++++++++++++++------- 2 files changed, 16 insertions(+), 8 deletions(-) Commit: 3982 Author: sam Date: Fri Nov 20 22:47:38 2009 +0000 Add mingw32 defines to msvc/config.h. Needs to be tuned furthermore. msvc/config.h | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 99 insertions(+), 3 deletions(-) Commit: 3981 Author: sam Date: Fri Nov 20 22:47:31 2009 +0000 Use ftello64 instead of ftello to handle fseeko64. src/lib-stream.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3980 Author: sam Date: Fri Nov 20 17:38:06 2009 +0000 Ignore generated m4 files. .gitignore | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) Commit: 3979 Author: sam Date: Fri Nov 20 17:38:00 2009 +0000 Various compilation and unit test fixes. configure.ac | 2 +- msvc/config.h | 5 ++--- test/check-build | 46 +++++++++++++++++++++++----------------------- test/zznop.c | 1 + 4 files changed, 27 insertions(+), 27 deletions(-) Commit: 3976 Author: sam Date: Fri Nov 20 13:00:28 2009 +0000 Make check-build executable. 0 files changed, 0 insertions(+), 0 deletions(-) Commit: 3971 Author: sam Date: Fri Nov 20 12:06:17 2009 +0000 Add zznop, a small test program to help debug the Win32 port. Also add check-build from libcaca to test that msvc/config.h is up to date. msvc/libzzuf.vcxproj | 4 +- msvc/zznop.vcxproj | 107 ++++++++++++++++++++++++++++++++++++++++++++++++++ msvc/zzuf.vcxproj | 4 +- msvc/zzuf10.sln | 6 +++ test/Makefile.am | 5 +- test/check-build | 23 +++++++++++ test/zznop.c | 37 +++++++++++++++++ 7 files changed, 182 insertions(+), 4 deletions(-) Commit: 3951 Author: sam Date: Thu Nov 19 00:51:32 2009 +0000 Detect libzzuf soname at configure time rather than compile time. configure.ac | 9 +++++++++ src/Makefile.am | 2 +- 2 files changed, 10 insertions(+), 1 deletions(-) Commit: 3933 Author: sam Date: Wed Nov 18 13:23:58 2009 +0000 Add a VS 2010 solution file and make the code build again for Win32. msvc/config.h | 4 +- msvc/libzzuf.vcxproj | 133 ++++++++++++++++++++++++++++++++++++++++++++++++++ msvc/zzuf.vcxproj | 121 +++++++++++++++++++++++++++++++++++++++++++++ msvc/zzuf10.sln | 26 ++++++++++ src/network.c | 29 +++++++++-- 5 files changed, 308 insertions(+), 5 deletions(-) Commit: 3742 Author: sam Date: Tue Oct 27 23:10:22 2009 +0000 Compilation fix for systems without get_unlocked(). test/zzcat.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) Commit: 3741 Author: sam Date: Tue Oct 27 23:08:16 2009 +0000 Add a getc_unlocked() variant to zzcat. test/zzcat.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) Commit: 3734 Author: sam Date: Tue Oct 27 22:44:09 2009 +0000 Add a getline() variant to zzcat. test/check-utils | 2 +- test/zzcat.c | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletions(-) Commit: 3697 Author: sam Date: Tue Oct 27 00:07:10 2009 +0000 Add missing svn:ignore properties. Commit: 3696 Author: sam Date: Tue Oct 27 00:01:25 2009 +0000 Undefine _XOPEN_SOURCE before redefining it. src/lib-mem.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Commit: 3637 Author: sam Date: Fri Aug 7 00:24:31 2009 +0000 Append "/" to our LT_OBJDIR override. src/zzuf.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3636 Author: sam Date: Fri Aug 7 00:09:03 2009 +0000 Old libtool versions don't define LT_OBJDIR. Adding an override for them. src/zzuf.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) Commit: 3635 Author: sam Date: Thu Aug 6 21:17:00 2009 +0000 Allow remote network host filtering, courtesy of Corentin Delorme. AUTHORS | 4 +- src/Makefile.am | 3 +- src/fd.c | 22 +------ src/fd.h | 3 +- src/fuzz.h | 3 +- src/lib-fd.c | 16 +++-- src/libzzuf.c | 13 ++++- src/network.c | 195 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/network.h | 28 ++++++++ src/opts.c | 3 +- src/opts.h | 4 +- src/zzuf.c | 44 +++++++++++-- 12 files changed, 295 insertions(+), 43 deletions(-) Commit: 3634 Author: sam Date: Thu Aug 6 20:40:35 2009 +0000 Use strcpy, not strcat. src/lib-fd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3633 Author: sam Date: Thu Aug 6 20:37:05 2009 +0000 Allow fromlen == NULL in the recvfrom() wrapper. src/lib-fd.c | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) Commit: 3632 Author: sam Date: Thu Aug 6 20:36:58 2009 +0000 lib-mem.c: undefine various feature macros before redefining them. src/lib-mem.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Commit: 3631 Author: sam Date: Thu Aug 6 20:36:49 2009 +0000 zzuf.c: use LT_OBJDIR instead of hardcoding ".libs/". src/zzuf.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Commit: 3408 Author: sam Date: Fri Mar 20 23:28:51 2009 +0000 lib-fd.c: accept() may accept NULL as the addrlen argument. Do not crash when faced with this situation. Closes #54. src/lib-fd.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) Commit: 3001 Author: sam Date: Sat Oct 18 22:01:43 2008 +0000 Rename --max-cpu into --max-cputime to avoid confusion (fixes #44). doc/zzuf.1 | 2 +- src/zzuf.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) Commit: 2818 Author: sam Date: Wed Sep 17 22:17:23 2008 +0000 * zzuf.c: use atol() instead of atoi() for the --seed flag. src/zzuf.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 2817 Author: sam Date: Wed Sep 17 22:17:17 2008 +0000 * zzuf.c: allow the use of -r=0 in addition to -r 0, and likewise for other flags with numerical arguments. src/zzuf.c | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) Commit: 2816 Author: sam Date: Mon Sep 15 19:39:44 2008 +0000 * doc/zzuf.1: fix a typo in the manpage. doc/zzuf.1 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 2771 Author: sam Date: Mon Aug 25 19:28:25 2008 +0000 * zzuf.1: add a more advanced VLC fuzzing example. doc/zzuf.1 | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) Commit: 2584 Author: sam Date: Wed Jul 23 23:40:13 2008 +0000 * Hack around to get HP-UX tools to work. It still fails the most nasty zzcat test, though. But a more massive redesign is probably necessary. src/fd.c | 34 +++++++++++++++++++++++++++++- src/fd.h | 3 ++ src/lib-stream.c | 59 +++++++++++++++++++++++++++++++++++++++++++---------- 3 files changed, 83 insertions(+), 13 deletions(-) Commit: 2583 Author: sam Date: Wed Jul 23 23:40:06 2008 +0000 * zzuf.c: make the -B flag (max bytes) also work when fuzzing the standard input. doc/zzuf.1 | 11 ++++++++--- src/zzuf.c | 15 +++++++++++++-- 2 files changed, 21 insertions(+), 5 deletions(-) Commit: 2579 Author: sam Date: Sun Jul 20 11:20:47 2008 +0000 * test/Makefile.am: add functions.inc to the distribution. test/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 2578 Author: sam Date: Sun Jul 20 11:16:06 2008 +0000 * configure.ac: fix the __printf__ attribute macro. configure.ac | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) Commit: 2577 Author: sam Date: Sun Jul 20 11:11:27 2008 +0000 * configure.ac: add a check for the __printf__ function attribute. configure.ac | 8 ++++++++ src/debug.h | 3 +-- 2 files changed, 9 insertions(+), 2 deletions(-) Commit: 2576 Author: sam Date: Sun Jul 20 10:19:06 2008 +0000 * bug-div0.c: raise SIGFPE manually since Darwin won't trap on 1/0. test/bug-div0.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) Commit: 2575 Author: sam Date: Sun Jul 20 10:10:35 2008 +0000 * fuzz.c: activate the fuzz() debug message, it may be verbose but I end up activating it all the time anyway. src/fuzz.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) Commit: 2574 Author: sam Date: Sun Jul 20 10:10:31 2008 +0000 * lib-mem.c: with all the preprocessor crap that we now have in C files, libc.h no longer cleanly includes on OS X and we need more preprocessor crap to fix it. Adding _DARWIN_C_SOURCE. src/lib-mem.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Commit: 2573 Author: sam Date: Sun Jul 20 09:57:58 2008 +0000 * Factored the test suite to avoid excessive code duplication. test/check-div0 | 44 ++++++++----------------------- test/check-md5 | 23 +++------------- test/check-memory | 46 ++++++++------------------------ test/check-overflow | 46 ++++++++------------------------ test/check-rng | 40 ++++++----------------------- test/check-utils | 51 ++++-------------------------------- test/functions.inc | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 125 insertions(+), 195 deletions(-) Commit: 2572 Author: sam Date: Sun Jul 20 09:57:52 2008 +0000 * lib-stream.c: since __srefill is far more powerful than __srget, we only reimplement the former on OS X and completely ignore the latter. src/lib-stream.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Commit: 2571 Author: sam Date: Sun Jul 20 01:29:45 2008 +0000 * lib-stream.c: fix a bug in the OS X __srefill implementation. src/lib-stream.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) Commit: 2570 Author: sam Date: Sun Jul 20 01:22:46 2008 +0000 * lib-stream.c: the BSDs' refill function is slightly different from the HP-UX and Solaris ones; fixing our implementation accordinly. src/lib-stream.c | 26 +++++++++++++++++--------- 1 files changed, 17 insertions(+), 9 deletions(-) Commit: 2569 Author: sam Date: Fri Jul 18 09:28:30 2008 +0000 * Implement __srget on FreeBSD, which is yet another version of __srefill. configure.ac | 19 ++++++----- doc/libzzuf.3 | 2 +- src/lib-stream.c | 90 ++++++++++++++++++++++++----------------------------- 3 files changed, 53 insertions(+), 58 deletions(-) Commit: 2568 Author: sam Date: Fri Jul 18 09:28:26 2008 +0000 * lib-stream.c: fix the fread() implementation on FreeBSD 7.0. src/lib-stream.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Commit: 2567 Author: sam Date: Fri Jul 18 09:28:22 2008 +0000 * check-utils: only perform 3 util test series, the rest was only here to validate the RNG and we now have another test for that. test/check-utils | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) Commit: 2566 Author: sam Date: Fri Jul 18 09:28:18 2008 +0000 * lib-stream.c: only use the __srefill trick on OS X. HP-UX is too different. src/lib-stream.c | 25 +++++++++++++------------ 1 files changed, 13 insertions(+), 12 deletions(-) Commit: 2565 Author: sam Date: Fri Jul 18 09:28:14 2008 +0000 * lib-mem.c: fix FreeBSD 7.0 build by including earlier on. src/lib-mem.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Commit: 2564 Author: sam Date: Fri Jul 18 09:28:10 2008 +0000 * Make the RNG test shorter... it should not vary across platforms anyway. test/check-rng | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) Commit: 2563 Author: sam Date: Fri Jul 18 09:28:06 2008 +0000 * Add slightly more complex modes to zzcat. test/check-utils | 2 +- test/zzcat.c | 35 +++++++++++++++++++++++++++++------ 2 files changed, 30 insertions(+), 7 deletions(-) Commit: 2562 Author: sam Date: Fri Jul 18 09:28:02 2008 +0000 * Better check for the __func__ keyword that does not rely on assumptions about the compiler version. Makefile.am | 2 +- configure.ac | 1 + m4/func.m4 | 13 +++++++++++++ msvc/config.h | 1 + src/lib-load.h | 9 --------- 5 files changed, 16 insertions(+), 10 deletions(-) Commit: 2561 Author: sam Date: Fri Jul 18 09:27:56 2008 +0000 * Add simpler modes to zzcat to better analyse what's going on. test/check-utils | 2 +- test/zzcat.c | 38 +++++++++++++++++++++++++++++++++++--- 2 files changed, 36 insertions(+), 4 deletions(-) Commit: 2560 Author: sam Date: Wed Jul 16 23:24:06 2008 +0000 * bug-memory.c: fix the SIGSEGV unit test. test/bug-memory.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 2559 Author: sam Date: Wed Jul 16 23:17:12 2008 +0000 * Support fsetpos64 on Linux. configure.ac | 16 ++++++++++++++++ src/lib-stream.c | 5 ++--- 2 files changed, 18 insertions(+), 3 deletions(-) Commit: 2558 Author: sam Date: Wed Jul 16 23:17:07 2008 +0000 * zzcat.c: partial fread() reads are undefined; avoid them in zzcat. test/zzcat.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) Commit: 2557 Author: sam Date: Wed Jul 16 21:54:35 2008 +0000 * lib-mem.c: add pre-include macro to get getc_unlocked() on OpenSolaris. src/lib-stream.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Commit: 2556 Author: sam Date: Wed Jul 16 21:45:44 2008 +0000 * lib-mem.c: add pre-include macros to get mmap and valloc on OpenSolaris. src/lib-mem.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) Commit: 2555 Author: sam Date: Wed Jul 16 21:45:40 2008 +0000 * zzuf.c: rename sig2str to sig2name; the former is a Solaris libc symbol. src/zzuf.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Commit: 2554 Author: sam Date: Wed Jul 16 21:41:27 2008 +0000 * Another fucked commit... synchronise config.h and lib-stream.c. src/lib-stream.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) Commit: 2553 Author: sam Date: Wed Jul 16 21:37:12 2008 +0000 * lib-stream.c: try to make the __filbuf() implementation portable across HP-UX and OpenSolaris. configure.ac | 16 ++++++++++++++++ src/lib-stream.c | 10 +++++----- 2 files changed, 21 insertions(+), 5 deletions(-) Commit: 2552 Author: sam Date: Wed Jul 16 21:24:09 2008 +0000 * Implement freopen64, fsetpos64 and fseeko64 for OpenSolaris. configure.ac | 2 +- doc/libzzuf.3 | 3 ++ src/lib-stream.c | 65 +++++++++++++++++++++++++++++++++++++++++------------ 3 files changed, 54 insertions(+), 16 deletions(-) Commit: 2551 Author: sam Date: Wed Jul 16 21:03:37 2008 +0000 * check-utils: use tail -n X or tail -X depending on the platform. test/check-utils | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) Commit: 2550 Author: sam Date: Wed Jul 16 20:53:14 2008 +0000 * bootstrap: update bootstrapping script for OpenSolaris compatibility. * check-utils: do not use grep -q, OpenSolaris doesn't know about it. bootstrap | 32 ++++++++++++++++++++------------ test/check-utils | 4 ++-- 2 files changed, 22 insertions(+), 14 deletions(-) Commit: 2549 Author: sam Date: Wed Jul 16 20:36:58 2008 +0000 * Oops, forgot to check in check-md5. test/check-md5 | 38 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 38 insertions(+), 0 deletions(-) Commit: 2548 Author: sam Date: Wed Jul 16 20:36:14 2008 +0000 * Add a unit test for MD5 hashes. test/Makefile.am | 8 ++------ test/check-div0 | 13 ++++++------- test/check-memory | 13 ++++++------- test/check-overflow | 13 ++++++------- test/check-rng | 1 - test/check-utils | 1 - 6 files changed, 20 insertions(+), 29 deletions(-) Commit: 2545 Author: sam Date: Wed Jul 16 17:23:37 2008 +0000 * Add a bunch of unit tests to check for zzuf basic capabilities: SIGSEGV and SIGFPE detection, memory exhaustion detection. .gitignore | 3 + test/Makefile.am | 4 +- test/bug-div0.c | 31 ++++++++++++ test/bug-memory.c | 33 +++++++++++++ test/bug-overflow.c | 31 ++++++++++++ test/check-div0 | 58 +++++++++++++++++++++++ test/check-memory | 58 +++++++++++++++++++++++ test/check-overflow | 58 +++++++++++++++++++++++ test/check-rng | 77 +++++++++++++++++++++++++++++++ test/check-utils | 127 +++++++++++++++++++++++++++++++++++++++++++++++++++ test/rng | 77 ------------------------------- test/utils | 127 --------------------------------------------------- 12 files changed, 478 insertions(+), 206 deletions(-) Commit: 2544 Author: sam Date: Wed Jul 16 17:23:33 2008 +0000 * mygetopt.c: fix a parsing issue with short options. src/mygetopt.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 2542 Author: sam Date: Wed Jul 16 17:23:29 2008 +0000 * Fix a few HP-UX warnings caused by missing headers. configure.ac | 2 +- src/lib-fd.c | 3 +++ src/lib-stream.c | 13 +++++++------ 3 files changed, 11 insertions(+), 7 deletions(-) Commit: 2541 Author: sam Date: Wed Jul 16 17:23:24 2008 +0000 * Split the test suite into the RNG test and the Unix utils test. test/Makefile.am | 4 +- test/rng | 77 ++++++++++++++++++++++ test/testsuite.sh | 182 ----------------------------------------------------- test/utils | 127 +++++++++++++++++++++++++++++++++++++ 4 files changed, 206 insertions(+), 184 deletions(-) Commit: 2534 Author: sam Date: Wed Jul 16 09:52:08 2008 +0000 * 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. msvc/config.h | 3 ++- src/Makefile.am | 3 ++- src/zzuf.c | 11 ++++------- 3 files changed, 8 insertions(+), 9 deletions(-) Commit: 2533 Author: sam Date: Wed Jul 16 09:52:02 2008 +0000 * Implement __srefill() for full HP-UX support on parisc-gcc. configure.ac | 2 +- doc/libzzuf.3 | 3 +- src/lib-stream.c | 93 +++++++++++++++++++++++++++++++++++++++++++++++++----- 3 files changed, 87 insertions(+), 11 deletions(-) Commit: 2532 Author: sam Date: Wed Jul 16 09:51:58 2008 +0000 * zzcat.c: compilation fix for missing headers. test/zzcat.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) Commit: 2531 Author: sam Date: Wed Jul 16 09:51:53 2008 +0000 * testsuite.h: do not test for grep -a if the option is unknown. test/testsuite.sh | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) Commit: 2530 Author: sam Date: Tue Jul 15 21:34:14 2008 +0000 * Add a few _INCLUDE_POSIX_SOURCE defines here and there so that we build out of the box with HP-UX's c99 compiler. configure.ac | 3 ++- src/lib-fd.c | 1 + src/lib-mem.c | 2 ++ src/lib-signal.c | 4 +++- src/zzuf.c | 6 ++++++ test/zzcat.c | 5 ++++- 6 files changed, 18 insertions(+), 3 deletions(-) Commit: 2529 Author: sam Date: Tue Jul 15 20:16:15 2008 +0000 * testsuite.sh: use printf instead of echo -n for better portability. test/testsuite.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 2528 Author: sam Date: Tue Jul 15 20:16:11 2008 +0000 * Implement additional functions required on HP-UX: __fopen64, __fseeko64, __freopen64, __open64, __lseek64. configure.ac | 2 +- doc/libzzuf.3 | 10 +++++-- src/lib-fd.c | 24 ++++++++++++++-- src/lib-stream.c | 78 +++++++++++++++++++++++++++++++++++++---------------- 4 files changed, 83 insertions(+), 31 deletions(-) Commit: 2527 Author: sam Date: Tue Jul 15 20:16:06 2008 +0000 * 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. Makefile.am | 3 ++- configure.ac | 27 ++++++++++++++++++++------- m4/cflags.m4 | 14 ++++++++++++++ src/lib-fd.c | 2 ++ src/libzzuf.c | 6 ++++++ 5 files changed, 44 insertions(+), 8 deletions(-) Commit: 2526 Author: sam Date: Tue Jul 15 20:16:02 2008 +0000 * configure.ac: do not use -fno-strength-reduce -fomit-frame-pointer, they're pretty useless for our project. configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 2525 Author: sam Date: Tue Jul 15 20:15:58 2008 +0000 * zzuf.c: reformated the licensing information for zzuf -V. src/zzuf.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) Commit: 2524 Author: sam Date: Tue Jul 15 20:15:53 2008 +0000 * lib-stream.c: remove an unused variable. src/lib-stream.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 2523 Author: sam Date: Tue Jul 15 20:15:47 2008 +0000 * Fix a compilation issue on FreeBSD by defining _BSD_SOURCE and including . configure.ac | 2 +- src/lib-mem.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletions(-) Commit: 2522 Author: sam Date: Tue Jul 15 20:15:43 2008 +0000 * Fix the Win32 package build. No, it still doesn't work, it just builds. build-win32 | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) Commit: 2521 Author: sam Date: Tue Jul 15 20:15:35 2008 +0000 * Set a default maximum memory usage value to avoid excessive swapping. doc/zzuf.1 | 8 ++++++-- src/libzzuf.h | 4 ++++ src/opts.c | 2 +- src/zzuf.c | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) Commit: 2520 Author: sam Date: Wed Jul 9 10:50:43 2008 +0000 * Ideas for a zzufrc file. TODO | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) Commit: 2462 Author: sam Date: Fri Jun 20 06:05:25 2008 +0000 * Run the testsuite when "make check" is called. test/Makefile.am | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Commit: 2461 Author: sam Date: Fri Jun 20 06:05:13 2008 +0000 * Avoid a potential shared library attack by never looking for libzzuf in the current directory. src/zzuf.c | 21 ++++++++++++--------- 1 files changed, 12 insertions(+), 9 deletions(-) Commit: 2366 Author: sam Date: Fri Jun 13 09:31:21 2008 +0000 * Version 0.12. * Updated NEWS and ChangeLog. ChangeLog | 1442 +++++++++++++++++++++++++++++++--------------------------- NEWS | 7 + configure.ac | 2 +- 3 files changed, 782 insertions(+), 669 deletions(-) Commit: 2365 Author: sam Date: Fri Jun 13 09:31:17 2008 +0000 * Finished the libzzuf manual page. doc/libzzuf.3 | 65 +++++++++++++++++++++++++++++++++----------------------- 1 files changed, 38 insertions(+), 27 deletions(-) Commit: 2355 Author: sam Date: Tue Jun 10 16:21:22 2008 +0000 * Fix a crash in the realloc() wrapper occurring when dlsym() or dlopen() call realloc() with a NULL pointer. src/lib-mem.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) Commit: 2354 Author: sam Date: Tue Jun 10 16:21:17 2008 +0000 * 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. src/lib-mem.c | 8 +++++++- src/libzzuf.c | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) Commit: 2353 Author: sam Date: Tue Jun 10 16:21:11 2008 +0000 * Started writing a manual page for libzzuf. doc/Makefile.am | 4 +- doc/libzzuf.3 | 123 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ doc/zzuf.1 | 48 +-------------------- 3 files changed, 128 insertions(+), 47 deletions(-) Commit: 2345 Author: sam Date: Mon May 19 11:25:05 2008 +0000 * Change -M to mean mebibytes instead of megabytes, because I'm a fucking pedant. doc/zzuf.1 | 12 ++++++------ src/libzzuf.c | 5 +++-- src/zzuf.c | 2 +- 3 files changed, 10 insertions(+), 9 deletions(-) Commit: 2344 Author: sam Date: Mon May 19 11:25:01 2008 +0000 * Change -F to -j, to mimic make. doc/zzuf.1 | 10 +++++----- src/zzuf.c | 17 ++++++++++------- 2 files changed, 15 insertions(+), 12 deletions(-) Commit: 2343 Author: sam Date: Mon May 19 11:24:56 2008 +0000 * Allow to omit the right-hand side of the seed range, for indefinite fuzzing attempts. doc/zzuf.1 | 4 +++- src/zzuf.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) Commit: 2342 Author: sam Date: Mon May 19 11:24:51 2008 +0000 * Clarify -C0 behaviour. doc/zzuf.1 | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) Commit: 2341 Author: sam Date: Mon May 19 11:24:46 2008 +0000 * Add SIGPIPE to the list of crashing signals. src/zzuf.c | 29 +++++++++++++++-------------- 1 files changed, 15 insertions(+), 14 deletions(-) Commit: 2340 Author: sam Date: Mon May 19 11:24:41 2008 +0000 * Fix an invalid cast on the Alpha architecture caused by sockaddr_in* having larger alignment requirements than sockaddr*. src/lib-fd.c | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) Commit: 2338 Author: sam Date: Sun May 18 19:56:52 2008 +0000 * Version 0.11. * Updated NEWS and ChangeLog. ChangeLog | 5839 +++++++++++++++++++++++++++++++--------------------------- NEWS | 28 +- configure.ac | 2 +- 3 files changed, 3123 insertions(+), 2746 deletions(-) Commit: 2337 Author: sam Date: Sun May 18 19:56:48 2008 +0000 * Minor memory and speed optimisation. src/fuzz.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) Commit: 2336 Author: sam Date: Sun May 18 18:13:45 2008 +0000 * Start working on the internal code documentation. src/debug.c | 23 +++++++++++++++-------- src/fd.c | 2 +- src/libzzuf.c | 46 +++++++++++++++++++++++++++++++++++++++++++--- 3 files changed, 59 insertions(+), 12 deletions(-) Commit: 2335 Author: sam Date: Sun May 18 12:38:37 2008 +0000 * Don't use `--' in the testsuite, it is no longer understood. test/testsuite.sh | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) Commit: 2334 Author: sam Date: Sun May 18 12:38:32 2008 +0000 * Implement getchar() and getchar_unlocked(). doc/zzuf.1 | 9 +++++---- src/lib-stream.c | 42 ++++++++++++++++++++++++++++++------------ 2 files changed, 35 insertions(+), 16 deletions(-) Commit: 2333 Author: sam Date: Sun May 18 09:45:53 2008 +0000 * Minor changes: add quotes between launched program name, update copyright. src/zzuf.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Commit: 2332 Author: sam Date: Sun May 18 09:45:48 2008 +0000 * Make sure the fgets_unlocked() reimplementation uses fgetc_unlocked(), not fgetc(). src/lib-stream.c | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) Commit: 2331 Author: sam Date: Sat May 17 23:10:47 2008 +0000 * Implement fgets_unlocked() and fread_unlocked(). doc/zzuf.1 | 3 +- src/lib-stream.c | 224 +++++++++++++++++++++++++++++++----------------------- 2 files changed, 131 insertions(+), 96 deletions(-) Commit: 2330 Author: sam Date: Sat May 17 23:10:41 2008 +0000 * Implement getc_unlocked() and fgetc_unlocked(). configure.ac | 2 +- src/lib-stream.c | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletions(-) Commit: 2328 Author: sam Date: Sat May 17 13:40:45 2008 +0000 * Document the new command line parsing behaviour. doc/zzuf.1 | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 deletions(-) Commit: 2327 Author: sam Date: Sat May 17 13:40:40 2008 +0000 * No longer require the "--" trick to separate zzuf's flags and the called program's. src/zzuf.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 2326 Author: sam Date: Fri May 16 22:01:18 2008 +0000 * Cosmetic: remove trailing spaces from the source code. src/debug.c | 2 +- src/fd.c | 6 +++--- src/lib-fd.c | 6 +++--- src/zzuf.c | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) Commit: 2325 Author: sam Date: Fri May 16 22:01:11 2008 +0000 * Add statistical analysis to the testsuite to check our random number generator. .gitignore | 1 + test/Makefile.am | 5 ++- test/testsuite.sh | 154 ++++++++++++++++++++++++++++++++++++++-------------- test/zzero.c | 36 ++++++++++++ 4 files changed, 153 insertions(+), 43 deletions(-) Commit: 2324 Author: sam Date: Fri May 16 22:01:07 2008 +0000 * Improve overall randomness. Now even close seeds have very different behaviours on which bits are flipped. src/fuzz.c | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) Commit: 2323 Author: sam Date: Fri May 16 22:01:03 2008 +0000 * Update TODO. TODO | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 2322 Author: sam Date: Fri May 16 22:00:58 2008 +0000 * Update copyright and homepage in the manual page. doc/zzuf.1 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Commit: 2320 Author: sam Date: Sat Apr 26 12:24:57 2008 +0000 * Implement dup() and dup2(). They are needed for Debian's implementation of dd which otherwise causes the regression tests to fail. .gitignore | 2 ++ configure.ac | 2 +- doc/zzuf.1 | 7 ++++--- src/lib-fd.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 60 insertions(+), 4 deletions(-) Commit: 2319 Author: sam Date: Sat Apr 26 11:30:45 2008 +0000 * Slightly updated the build system. .gitignore | 20 ++++++++++++++++++++ configure.ac | 9 +++------ src/zzuf.c | 2 +- 3 files changed, 24 insertions(+), 7 deletions(-) Commit: 2272 Author: sam Date: Sat Apr 12 07:44:34 2008 +0000 * Set minimal fuzzing ratio to 0.000000001% (less than one bit changed on a whole DVD). src/fuzz.c | 4 ++-- src/libzzuf.h | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) Commit: 2271 Author: sam Date: Wed Apr 9 09:49:16 2008 +0000 * Implement %g in the debug() format string. Incomplete but useful. src/debug.c | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) Commit: 1867 Author: sam Date: Sat Nov 3 00:24:46 2007 +0000 * Version 0.10. * Updated NEWS and ChangeLog. ChangeLog | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NEWS | 4 ++ configure.ac | 4 +- 3 files changed, 112 insertions(+), 2 deletions(-) Commit: 1866 Author: sam Date: Sat Nov 3 00:22:58 2007 +0000 * Link libzzuf with winsock because of our use of htons. src/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 1865 Author: sam Date: Sat Nov 3 00:14:40 2007 +0000 * Documentation updates. doc/zzuf.1 | 32 +++++++++++++++++++++----------- 1 files changed, 21 insertions(+), 11 deletions(-) Commit: 1864 Author: sam Date: Sat Nov 3 00:08:43 2007 +0000 * Do not fuzz non-IP network protocols. They’re too painful to fine-tune. src/lib-fd.c | 16 +++++----------- 1 files changed, 5 insertions(+), 11 deletions(-) Commit: 1863 Author: sam Date: Fri Nov 2 23:34:22 2007 +0000 * Merged the bind() and connect() diversions using macros. They were almost identical. * Check the addrlen value to avoid crashing with weird protocols. src/lib-fd.c | 110 +++++++++++++++++++++------------------------------------ 1 files changed, 41 insertions(+), 69 deletions(-) Commit: 1862 Author: sam Date: Fri Nov 2 23:23:25 2007 +0000 * Divert connect() so that -p/--ports now works with outbound connections. src/lib-fd.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 46 insertions(+), 0 deletions(-) Commit: 1861 Author: sam Date: Fri Nov 2 23:22:11 2007 +0000 * Look for connect(). configure.ac | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) Commit: 1860 Author: sam Date: Fri Nov 2 23:07:41 2007 +0000 * Updated documentation. doc/zzuf.1 | 41 +++++++++++++++++++++++++++-------------- 1 files changed, 27 insertions(+), 14 deletions(-) Commit: 1859 Author: sam Date: Fri Nov 2 23:01:09 2007 +0000 * 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. src/fd.c | 11 +++++++---- src/lib-fd.c | 3 --- 2 files changed, 7 insertions(+), 7 deletions(-) Commit: 1858 Author: sam Date: Fri Nov 2 22:45:54 2007 +0000 * Network destination port choosing with -p/--ports. * Renamed -p/--pick into -l/--list to avoid conflicts. src/fd.c | 33 ++++++++++++++++++++++++--------- src/fd.h | 1 + src/fuzz.c | 1 - src/fuzz.h | 3 ++- src/lib-fd.c | 31 +++++++++++++++++++++++++++++-- src/libzzuf.c | 8 ++++++-- src/opts.c | 2 +- src/opts.h | 2 +- src/zzuf.c | 42 +++++++++++++++++++++++++++++++----------- 9 files changed, 95 insertions(+), 28 deletions(-) Commit: 1857 Author: sam Date: Fri Nov 2 21:50:08 2007 +0000 * Check for , it’s needed for struct sockaddr_in. configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 1856 Author: sam Date: Fri Nov 2 21:40:38 2007 +0000 * Support %d, %ld and %lld in addition to %i etc. in debug(). src/debug.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Commit: 1855 Author: sam Date: Fri Nov 2 21:32:18 2007 +0000 * Log and divert bind() calls. src/lib-fd.c | 39 +++++++++++++++++++++++++++++++++------ 1 files changed, 33 insertions(+), 6 deletions(-) Commit: 1854 Author: sam Date: Fri Nov 2 21:16:57 2007 +0000 * Check for bind in the configure step. configure.ac | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) Commit: 1804 Author: sam Date: Tue Jul 10 15:55:35 2007 +0000 * Version 0.9. For real, this time. * Updated NEWS and ChangeLog. ChangeLog | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NEWS | 1 + 2 files changed, 57 insertions(+), 0 deletions(-) Commit: 1803 Author: sam Date: Tue Jul 10 15:42:37 2007 +0000 * Documented the new -T / --max-cpu flag. doc/zzuf.1 | 22 ++++++++++++++++++---- 1 files changed, 18 insertions(+), 4 deletions(-) Commit: 1802 Author: sam Date: Tue Jul 10 15:31:40 2007 +0000 * -M is megabytes, not bytes. Fixed --help output. src/zzuf.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) Commit: 1801 Author: sam Date: Tue Jul 10 15:23:18 2007 +0000 * Implemented -T / --max-cpu for max CPU time limits. src/opts.c | 1 + src/opts.h | 1 + src/zzuf.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++------------ 3 files changed, 48 insertions(+), 12 deletions(-) Commit: 1800 Author: sam Date: Tue Jul 10 14:30:13 2007 +0000 * Rename -T to -t. -T will be the CPU time limit. doc/zzuf.1 | 6 +++--- src/zzuf.c | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) Commit: 1799 Author: sam Date: Tue Jul 10 14:26:08 2007 +0000 * Rename ZZUF_RLIMIT_CONST into ZZUF_RLIMIT_MEM because we're going to have the _CPU one as well. src/zzuf.c | 32 +++++++++++++++++++------------- 1 files changed, 19 insertions(+), 13 deletions(-) Commit: 1798 Author: sam Date: Tue Jul 10 09:01:12 2007 +0000 * Correct thinko in manpage. doc/zzuf.1 | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Commit: 1797 Author: sam Date: Tue Jul 10 00:24:35 2007 +0000 * Version 0.9. * Updated NEWS and ChangeLog. ChangeLog | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NEWS | 5 ++++ configure.ac | 4 +- 3 files changed, 84 insertions(+), 2 deletions(-) Commit: 1796 Author: sam Date: Mon Jul 9 23:51:49 2007 +0000 * Do not clobber LD_PRELOAD, patch by Sami Liedes. Heavily rewritten. AUTHORS | 2 +- src/zzuf.c | 28 ++++++++++++++++++++++------ 2 files changed, 23 insertions(+), 7 deletions(-) Commit: 1794 Author: sam Date: Fri Jul 6 20:47:51 2007 +0000 * Renamed ranges_static into static_ranges. src/fd.c | 7 ++++--- src/fuzz.c | 6 +++--- src/ranges.c | 8 ++++---- 3 files changed, 11 insertions(+), 10 deletions(-) Commit: 1793 Author: sam Date: Fri Jul 6 20:47:38 2007 +0000 * Documented -p/--pick in the man page. doc/zzuf.1 | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) Commit: 1792 Author: sam Date: Fri Jul 6 14:39:39 2007 +0000 * Factored common range-parsing code. src/Makefile.am | 2 +- src/fd.c | 46 ++-------------------------- src/fuzz.c | 46 +++-------------------------- src/ranges.c | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/ranges.h | 21 +++++++++++++ 5 files changed, 118 insertions(+), 84 deletions(-) Commit: 1791 Author: sam Date: Fri Jul 6 13:40:55 2007 +0000 * Added -p flag to cherry pick file descriptors that get fuzzed. src/fd.c | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++- src/fd.h | 1 + src/fuzz.c | 1 + src/fuzz.h | 1 + src/lib-fd.c | 22 ++++++++++------- src/lib-mem.c | 6 +++- src/lib-stream.c | 18 +++++++------- src/libzzuf.c | 4 +++ src/opts.c | 3 +- src/opts.h | 2 +- src/zzuf.c | 16 ++++++++++-- 11 files changed, 119 insertions(+), 26 deletions(-) Commit: 1790 Author: sam Date: Fri Jul 6 13:34:38 2007 +0000 * Allow to use debug() everywhere in the code; it'll just do nothing in zzuf itself, and will only output stuff in the library. src/debug.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) Commit: 1789 Author: sam Date: Fri Jul 6 13:31:23 2007 +0000 * Add -DLIBZZUF to the libzzuf build. src/Makefile.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Commit: 1764 Author: sam Date: Thu Mar 1 23:57:14 2007 +0000 * Version 0.8.1. * Updated NEWS and ChangeLog. ChangeLog | 41 +++++++++++++++++++++++++++++++++++++++++ NEWS | 5 +++++ configure.ac | 4 ++-- 3 files changed, 48 insertions(+), 2 deletions(-) Commit: 1763 Author: sam Date: Thu Mar 1 23:53:51 2007 +0000 * Save errno in offset_check, thanks to Sami Liedes. src/lib-fd.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) Commit: 1762 Author: sam Date: Thu Mar 1 23:52:00 2007 +0000 * Removed spurious verbosity, thanks to Sami Liedes. src/zzuf.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) Commit: 1761 Author: sam Date: Sat Feb 24 17:37:46 2007 +0000 * Cleaned up md5.c. * Do not convert words to little endian if the architecture is already little endian. configure.ac | 2 +- src/md5.c | 118 +++++++++++++++++++++++++++++---------------------------- 2 files changed, 61 insertions(+), 59 deletions(-) Commit: 1760 Author: sam Date: Sat Feb 24 16:37:12 2007 +0000 * Version 0.8. * Updated NEWS and ChangeLog. ChangeLog | 198 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NEWS | 7 ++ configure.ac | 4 +- 3 files changed, 207 insertions(+), 2 deletions(-) Commit: 1759 Author: sam Date: Sat Feb 24 16:32:54 2007 +0000 * Fix WTFPL address. COPYING | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 1758 Author: sam Date: Sat Feb 24 16:20:42 2007 +0000 * Minor win32 cosmetic updates. src/zzuf.c | 29 +++++++++++++++-------------- 1 files changed, 15 insertions(+), 14 deletions(-) Commit: 1751 Author: sam Date: Tue Feb 20 18:18:27 2007 +0000 * OS X doesn’t have MAP_ANONYMOUS, alias it to MAP_ANON. src/lib-mem.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) Commit: 1749 Author: sam Date: Mon Feb 19 10:28:16 2007 +0000 * Use mmap() instead of malloc() in the mmap() reimplementation so that returned values are not in the heap. src/lib-mem.c | 20 +++++++++++++++----- 1 files changed, 15 insertions(+), 5 deletions(-) Commit: 1748 Author: sam Date: Mon Feb 19 10:26:41 2007 +0000 * Check for getpagesize() at configure time. configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 1747 Author: sam Date: Mon Feb 19 10:25:54 2007 +0000 * Check mmap() return value. * Don't pass offsets to mmap() that are not page aligned. test/zzcat.c | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) Commit: 1746 Author: sam Date: Mon Feb 19 09:28:52 2007 +0000 * Oops, fix compilation warning. test/zzcat.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 1745 Author: sam Date: Mon Feb 19 09:16:10 2007 +0000 * Added mmap() to the testsuite. test/testsuite.sh | 5 +++-- test/zzcat.c | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) Commit: 1744 Author: sam Date: Fri Feb 9 01:52:59 2007 +0000 * Improved win32 pipes. src/zzuf.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) Commit: 1743 Author: sam Date: Fri Feb 9 01:33:02 2007 +0000 * Use doubles, not float. Fixes an issue when using the default ratio value. src/libzzuf.h | 6 +- src/zzuf.c | 148 +++++++++++++++++++++++++++++---------------------------- 2 files changed, 79 insertions(+), 75 deletions(-) Commit: 1742 Author: sam Date: Thu Feb 8 23:08:38 2007 +0000 * Disable -M when setrlimit isn't available. src/zzuf.c | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) Commit: 1741 Author: sam Date: Thu Feb 8 21:51:37 2007 +0000 * OpenBSD support for setrlimit(). doc/zzuf.1 | 3 +-- src/zzuf.c | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) Commit: 1740 Author: sam Date: Thu Feb 8 17:23:48 2007 +0000 * Handle architectures that don't have RLIMIT_AS (like OpenBSD). doc/zzuf.1 | 3 ++- src/zzuf.c | 10 +++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) Commit: 1736 Author: sam Date: Fri Feb 2 11:58:06 2007 +0000 * Fixed more MSVC compilation warnings. msvc/config.h | 2 +- src/fuzz.c | 9 +++++---- src/libzzuf.h | 2 +- src/mygetopt.c | 2 +- src/zzuf.c | 6 +++--- 5 files changed, 11 insertions(+), 10 deletions(-) Commit: 1735 Author: sam Date: Fri Feb 2 11:29:27 2007 +0000 * Fixed a minor warning and commented our printf-like function. src/debug.c | 23 ++++++++++------------- 1 files changed, 10 insertions(+), 13 deletions(-) Commit: 1734 Author: sam Date: Thu Feb 1 22:50:34 2007 +0000 * Added mygetopt files to the MSVC project. msvc/zzuf.vcproj | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) Commit: 1733 Author: sam Date: Thu Feb 1 22:33:07 2007 +0000 * Reimplemented getopt_long. We use our replacement even if simple getopt is available on the operating system. configure.ac | 9 +++- src/Makefile.am | 6 ++- src/mygetopt.c | 122 +++++++++++++++++++++++++++++++++++++++++++++++ src/mygetopt.h | 31 ++++++++++++ src/zzuf.c | 141 ++++++++++++++++++------------------------------------ 5 files changed, 212 insertions(+), 97 deletions(-) Commit: 1732 Author: sam Date: Thu Feb 1 22:20:48 2007 +0000 * Fixed a few signed/unsigned confusions. src/fuzz.c | 6 +++--- src/fuzz.h | 2 +- src/libzzuf.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) Commit: 1731 Author: sam Date: Thu Feb 1 19:27:21 2007 +0000 * Fuck notepad and its fucking CRLFs. configure.ac | 166 +++++++++++++++++++++++++++++----------------------------- 1 files changed, 83 insertions(+), 83 deletions(-) Commit: 1730 Author: sam Date: Thu Feb 1 18:19:03 2007 +0000 * Fixed a few 64-bit issues reported by MSVC. * More Win32 portability fixes. configure.ac | 166 +++++++++++++++++++++++++++--------------------------- msvc/config.h | 4 +- src/debug.c | 3 + src/fd.c | 8 +- src/fd.h | 6 +- src/fuzz.c | 12 ++-- src/lib-mem.c | 2 +- src/lib-stream.c | 4 +- src/libzzuf.c | 3 + 9 files changed, 108 insertions(+), 100 deletions(-) Commit: 1729 Author: sam Date: Thu Feb 1 16:41:54 2007 +0000 * Added an MSVC project. msvc/config.h | 43 ++++++++++++ msvc/libzzuf.vcproj | 187 +++++++++++++++++++++++++++++++++++++++++++++++++++ msvc/zzuf.sln | 29 ++++++++ msvc/zzuf.vcproj | 182 +++++++++++++++++++++++++++++++++++++++++++++++++ src/zzuf.c | 13 ++-- 5 files changed, 448 insertions(+), 6 deletions(-) Commit: 1728 Author: sam Date: Thu Feb 1 16:08:33 2007 +0000 * Check for , too. MSVC doesn't have it. configure.ac | 2 +- src/debug.c | 4 +++- src/lib-fd.c | 4 +++- src/lib-mem.c | 4 +++- src/lib-stream.c | 2 +- src/libzzuf.c | 4 +++- src/zzuf.c | 4 +++- test/zzcat.c | 4 +++- 8 files changed, 20 insertions(+), 8 deletions(-) Commit: 1727 Author: sam Date: Thu Feb 1 15:57:10 2007 +0000 * Only include conditionally. configure.ac | 2 +- src/timer.c | 4 +++- src/zzuf.c | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) Commit: 1726 Author: sam Date: Sun Jan 28 01:17:49 2007 +0000 * Version 0.7. * Updated NEWS and ChangeLog. ChangeLog | 122 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NEWS | 6 +++ configure.ac | 4 +- 3 files changed, 130 insertions(+), 2 deletions(-) Commit: 1725 Author: sam Date: Sun Jan 28 00:53:19 2007 +0000 * Merged fdcat and streamcat into zzcat. test/Makefile.am | 6 +-- test/fdcat.c | 76 ------------------------------------ test/streamcat.c | 75 ----------------------------------- test/testsuite.sh | 11 ++--- test/zzcat.c | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 118 insertions(+), 161 deletions(-) Commit: 1724 Author: sam Date: Sun Jan 28 00:50:53 2007 +0000 * Print "EOF" instead of -1 when it means EOF. src/lib-stream.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) Commit: 1723 Author: sam Date: Sun Jan 28 00:22:23 2007 +0000 * Oops, fixed syntax error. src/lib-stream.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Commit: 1722 Author: sam Date: Sun Jan 28 00:21:58 2007 +0000 * Better debug messages for special cases (eg. fgetc returning -1). src/lib-stream.c | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) Commit: 1721 Author: sam Date: Sat Jan 27 21:40:31 2007 +0000 * Updated testsuite to use our own files instead of /dev/*. test/Makefile.am | 2 +- test/file-00 | Bin 0 -> 32768 bytes test/file-ff | 1 + test/file-random | Bin 0 -> 32768 bytes test/file-text | 450 +++++++++++++++++++++++++++++++++++++++++++++++++++++ test/testsuite.sh | 44 +----- 6 files changed, 459 insertions(+), 38 deletions(-) Commit: 1720 Author: sam Date: Sat Jan 27 19:05:46 2007 +0000 * Implemented -f/--fuzzing (fuzzing mode). doc/zzuf.1 | 22 +++++++++++++++++++--- src/fuzz.c | 37 +++++++++++++++++++++++++++++++++++-- src/fuzz.h | 1 + src/opts.c | 2 +- src/opts.h | 2 +- src/zzuf.c | 22 ++++++++++++++++------ 6 files changed, 73 insertions(+), 13 deletions(-) Commit: 1719 Author: sam Date: Sat Jan 27 15:13:34 2007 +0000 * Better ungetc() implementation. Now we don't need to care about the fuzzing method. src/fd.c | 1 + src/fuzz.c | 10 +++++++++- src/lib-stream.c | 20 +++++++++----------- src/libzzuf.h | 1 + 4 files changed, 20 insertions(+), 12 deletions(-) Commit: 1718 Author: sam Date: Thu Jan 25 22:34:28 2007 +0000 * Carry DEBUG_FILENO in the ZZUF_DEBUG environment variable. src/debug.c | 50 +++++++++++++++++++++++++------------------------- src/lib-fd.c | 2 +- src/libzzuf.c | 6 +++--- src/libzzuf.h | 5 +---- src/zzuf.c | 6 +++++- 5 files changed, 35 insertions(+), 34 deletions(-) Commit: 1717 Author: sam Date: Thu Jan 25 22:07:23 2007 +0000 * Initialise malloc-related functions earlier. They're needed for regex initialisation amongst others. src/libzzuf.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) Commit: 1716 Author: sam Date: Thu Jan 25 21:43:37 2007 +0000 * Put a few debug messages in malloc-related functions when they use our custom buffer. src/lib-mem.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) Commit: 1715 Author: sam Date: Thu Jan 25 20:18:34 2007 +0000 * Updated NEWS. NEWS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Commit: 1714 Author: sam Date: Thu Jan 25 19:55:20 2007 +0000 * Crap! Fixed memory manager initialisation. And sticking that into the 0.6.1 tarball, no one will notice! (ha ha ha) src/lib-mem.c | 10 +++++++++- src/libzzuf.c | 1 + src/libzzuf.h | 3 +++ 3 files changed, 13 insertions(+), 1 deletions(-) Commit: 1713 Author: sam Date: Thu Jan 25 16:56:22 2007 +0000 * Version 0.6.1. * Updated NEWS and ChangeLog. ChangeLog | 32 ++++++++++++++++++++++++++++++++ NEWS | 4 ++++ configure.ac | 4 ++-- 3 files changed, 38 insertions(+), 2 deletions(-) Commit: 1712 Author: sam Date: Thu Jan 25 15:33:22 2007 +0000 * More verbosity in fread(). src/lib-stream.c | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) Commit: 1711 Author: sam Date: Thu Jan 25 15:28:24 2007 +0000 * Fixed an index inconsistency bug in fread(). src/lib-stream.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) Commit: 1710 Author: sam Date: Thu Jan 25 14:56:18 2007 +0000 * Grrr, fixed a bug in finfo() that corrupted the display. src/zzuf.c | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) Commit: 1709 Author: sam Date: Thu Jan 25 13:28:40 2007 +0000 * Version 0.6. * Updated NEWS and ChangeLog. ChangeLog | 334 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NEWS | 7 ++ configure.ac | 4 +- src/zzuf.c | 72 ++++++++----- 4 files changed, 385 insertions(+), 32 deletions(-) Commit: 1708 Author: sam Date: Thu Jan 25 12:15:47 2007 +0000 * Added a networking example using socat. doc/zzuf.1 | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) Commit: 1707 Author: sam Date: Thu Jan 25 11:59:33 2007 +0000 * Oops, fix in-tree preloading! src/opts.h | 3 ++- src/zzuf.c | 13 +++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) Commit: 1706 Author: sam Date: Thu Jan 25 11:47:44 2007 +0000 * Put opts->bytes handling in the right place. src/zzuf.c | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) Commit: 1705 Author: sam Date: Thu Jan 25 11:40:27 2007 +0000 * Implemented -b/--bytes to restrict fuzzing to specific offsets. doc/zzuf.1 | 46 ++++++++++++++++++++++++++++---------------- src/fuzz.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- src/fuzz.h | 1 + src/libzzuf.c | 4 +++ src/opts.c | 2 +- src/opts.h | 2 +- src/zzuf.c | 30 +++++++++++++++++++++------- 7 files changed, 114 insertions(+), 30 deletions(-) Commit: 1704 Author: sam Date: Thu Jan 25 02:16:00 2007 +0000 * Fixed ifdef typo. src/zzuf.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Commit: 1703 Author: sam Date: Thu Jan 25 01:10:10 2007 +0000 * Updated TODO list. TODO | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) Commit: 1702 Author: sam Date: Wed Jan 24 15:06:17 2007 +0000 * Added DLL injection to the Win32 port attempt. build-win32 | 5 +- configure.ac | 9 +- src/Makefile.am | 4 +- src/opts.h | 2 +- src/timer.c | 26 +++++ src/zzuf.c | 334 ++++++++++++++++++++++++++++++++++++++++++++----------- 6 files changed, 309 insertions(+), 71 deletions(-) Commit: 1701 Author: sam Date: Tue Jan 23 15:38:18 2007 +0000 * Added DLL initialisation code for Win32. build-win32 | 31 +++++++++++++++ configure.ac | 15 +++++++- src/Makefile.am | 8 ++-- src/lib-load.h | 13 ++---- src/libzzuf.c | 31 +++++++++++++++ src/libzzuf.h | 4 -- src/sys.c | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/sys.h | 20 ++++++++++ src/zzuf.c | 4 ++ 9 files changed, 222 insertions(+), 18 deletions(-) Commit: 1700 Author: sam Date: Tue Jan 23 12:16:50 2007 +0000 * Fix minor memory leak. src/fd.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) Commit: 1699 Author: sam Date: Tue Jan 23 08:45:47 2007 +0000 * Put either ORIG() or NEW(() around functions, because the naming scheme is likely to change for the Win32 port. src/lib-fd.c | 103 ++++++++++++++++++++++++---------------------- src/lib-load.h | 5 ++ src/lib-mem.c | 84 +++++++++++++++++++------------------- src/lib-signal.c | 21 +++++----- src/lib-stream.c | 120 +++++++++++++++++++++++++++--------------------------- src/zzuf.c | 3 + 6 files changed, 174 insertions(+), 162 deletions(-) Commit: 1698 Author: sam Date: Thu Jan 18 21:04:34 2007 +0000 * Minor documentation updates. doc/zzuf.1 | 8 ++++---- src/zzuf.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) Commit: 1697 Author: sam Date: Thu Jan 18 18:45:58 2007 +0000 * Minor improvement in the locking mechanism. src/fd.c | 13 +++++++------ src/lib-stream.c | 4 +--- 2 files changed, 8 insertions(+), 9 deletions(-) Commit: 1696 Author: sam Date: Thu Jan 18 12:32:31 2007 +0000 * Check recv() return type: int on Linux, ssize_t on OS X. configure.ac | 9 +++++++++ src/lib-fd.c | 12 ++++++------ 2 files changed, 15 insertions(+), 6 deletions(-) Commit: 1695 Author: sam Date: Thu Jan 18 00:21:07 2007 +0000 * Added enough autoconf checks and #ifdefs so that libzzuf builds on Win32. zzuf itself doesn't build yet, though. configure.ac | 11 ++++++- src/fd.c | 22 ++++++++++++-- src/lib-fd.c | 70 ++++++++++++++++++++++++++++++++++++++------ src/lib-load.h | 24 +++++++++++---- src/lib-mem.c | 37 +++++++++++++++++------ src/lib-signal.c | 19 ++++++++---- src/lib-stream.c | 37 +++++++++++------------ src/libzzuf.c | 1 - src/zzuf.c | 84 ++++++++++++++++++++++++++++++++++++++++++++--------- 9 files changed, 232 insertions(+), 73 deletions(-) Commit: 1694 Author: sam Date: Wed Jan 17 21:52:44 2007 +0000 * Replaced _zz_disabled with a less stinky API. Still not thread safe, does not recover very well from errors, but why care? src/fd.c | 41 +++++++++++++++++++++++++++++++++++- src/fd.h | 3 ++ src/lib-fd.c | 28 ++++++++++++------------ src/lib-mem.c | 4 +- src/lib-stream.c | 61 +++++++++++++++++++++++++++-------------------------- src/libzzuf.c | 1 - 6 files changed, 90 insertions(+), 48 deletions(-) Commit: 1693 Author: sam Date: Wed Jan 17 21:12:27 2007 +0000 * Added aio_read() and aio_return(). They don’t work well yet, I’ll need to fix the _zz_disabled mess first. doc/zzuf.1 | 2 +- src/fuzz.c | 4 ++-- src/fuzz.h | 2 +- src/lib-fd.c | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 55 insertions(+), 5 deletions(-) Commit: 1692 Author: sam Date: Wed Jan 17 19:48:23 2007 +0000 * Reorganised code, got rid of global variables. src/Makefile.am | 2 +- src/opts.c | 65 ++++++++++ src/opts.h | 60 +++++++++ src/zzuf.c | 363 ++++++++++++++++++++++++++----------------------------- 4 files changed, 297 insertions(+), 193 deletions(-) Commit: 1691 Author: sam Date: Wed Jan 17 17:14:22 2007 +0000 * recvmsg() support by Rémi Denis-Courmont. * Minor code reorganisation. AUTHORS | 6 ++-- doc/zzuf.1 | 3 +- src/lib-fd.c | 83 ++++++++++++++++++++++++++++++++++++++------------------- 3 files changed, 60 insertions(+), 32 deletions(-) Commit: 1690 Author: sam Date: Wed Jan 17 16:32:45 2007 +0000 * Improved recvfrom() debug information. * Implemented recv(). src/lib-fd.c | 47 ++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 40 insertions(+), 7 deletions(-) Commit: 1689 Author: sam Date: Wed Jan 17 16:26:40 2007 +0000 * Add %x to the format string parameters supported by debug(). src/debug.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) Commit: 1688 Author: sam Date: Wed Jan 17 15:31:40 2007 +0000 * Improved %c usage in our custom fprintf() implementation. src/debug.c | 6 ++++++ src/lib-stream.c | 12 +++--------- 2 files changed, 9 insertions(+), 9 deletions(-) Commit: 1687 Author: sam Date: Wed Jan 17 15:21:09 2007 +0000 * Use __func__ wherever possible. src/lib-fd.c | 36 ++++++++++++++++++------------------ src/lib-load.h | 12 +++++++++++- src/lib-mem.c | 25 +++++++++++++------------ src/lib-signal.c | 4 ++-- src/lib-stream.c | 33 +++++++++++++++++---------------- 5 files changed, 61 insertions(+), 49 deletions(-) Commit: 1686 Author: sam Date: Wed Jan 17 15:07:35 2007 +0000 * recvfrom() support from Dominik Kuhlen. AUTHORS | 1 + doc/zzuf.1 | 2 +- src/lib-fd.c | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 1 deletions(-) Commit: 1685 Author: sam Date: Wed Jan 17 15:02:05 2007 +0000 * Print "NULL" instead of "(nil)" when printing null pointers. src/debug.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 1684 Author: sam Date: Wed Jan 17 14:35:12 2007 +0000 * Allow -r 0.0 again. Fixed the testsuite accordingly. src/fd.c | 9 +++++++++ test/testsuite.sh | 15 +++++++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) Commit: 1683 Author: sam Date: Wed Jan 17 13:46:38 2007 +0000 * Moved files around. src/Makefile.am | 2 +- src/lib-fd.c | 309 ++++++++++++++++++++++++++++ src/lib-load.h | 29 +++ src/lib-mem.c | 302 +++++++++++++++++++++++++++ src/lib-signal.c | 125 ++++++++++++ src/lib-stream.c | 582 +++++++++++++++++++++++++++++++++++++++++++++++++++++ src/load-fd.c | 309 ---------------------------- src/load-mem.c | 302 --------------------------- src/load-signal.c | 125 ------------ src/load-stream.c | 582 ----------------------------------------------------- src/load.h | 29 --- 11 files changed, 1348 insertions(+), 1348 deletions(-) Commit: 1682 Author: sam Date: Wed Jan 17 13:42:18 2007 +0000 * Suggest jot instead of seq in the examples. doc/zzuf.1 | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) Commit: 1681 Author: sam Date: Wed Jan 17 07:22:10 2007 +0000 * Fix a longopt parsing crash, thanks to Matti Hämäläinen. src/zzuf.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Commit: 1680 Author: sam Date: Wed Jan 17 07:21:40 2007 +0000 * Fix testsuite by printing MD5 hashes to stdout. doc/zzuf.1 | 5 +++-- src/zzuf.c | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) Commit: 1679 Author: sam Date: Tue Jan 16 14:36:33 2007 +0000 * Got rid of the *_load() functions. Now each diverted function is supposed to check that the *_orig() functions it calls are properly loaded. src/libzzuf.c | 6 ------ src/load-fd.c | 30 +++++++----------------------- src/load-mem.c | 24 ------------------------ src/load-signal.c | 6 ------ src/load-stream.c | 43 ++++--------------------------------------- src/load.h | 5 ----- 6 files changed, 11 insertions(+), 103 deletions(-) Commit: 1678 Author: sam Date: Tue Jan 16 14:21:28 2007 +0000 * pread() implementation, thanks to Clément Stenac. AUTHORS | 1 + doc/zzuf.1 | 4 ++-- src/load-fd.c | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+), 2 deletions(-) Commit: 1677 Author: sam Date: Tue Jan 16 14:06:57 2007 +0000 * Don't do the offset sanity check on non-seekable devices. src/load-fd.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Commit: 1676 Author: sam Date: Tue Jan 16 13:54:34 2007 +0000 * readv() implementation, thanks to Rémi Denis-Courmont. AUTHORS | 7 ++++++- doc/zzuf.1 | 4 ++-- src/load-fd.c | 53 +++++++++++++++++++++++++++++++++++++++++++++-------- 3 files changed, 53 insertions(+), 11 deletions(-) Commit: 1675 Author: sam Date: Mon Jan 15 13:28:19 2007 +0000 * Use seq instead of awk in the example, to make shorter code. I know it won't work on BSD systems, but should I care? doc/zzuf.1 | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) Commit: 1674 Author: sam Date: Sun Jan 14 23:56:39 2007 +0000 * Version 0.5. * Updated NEWS and ChangeLog. ChangeLog | 178 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NEWS | 6 ++ TODO | 3 +- configure.ac | 4 +- 4 files changed, 188 insertions(+), 3 deletions(-) Commit: 1673 Author: sam Date: Sun Jan 14 23:42:34 2007 +0000 * interval -> range. doc/zzuf.1 | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) Commit: 1672 Author: sam Date: Sun Jan 14 23:41:03 2007 +0000 * Support ranges with the -r flag. configure.ac | 2 + doc/zzuf.1 | 29 ++++++++---- src/Makefile.am | 3 +- src/fd.c | 40 +++++++++++++--- src/fd.h | 3 +- src/libzzuf.c | 9 ++-- src/zzuf.c | 131 ++++++++++++++++++++++++++++++------------------------- 7 files changed, 134 insertions(+), 83 deletions(-) Commit: 1671 Author: sam Date: Sun Jan 14 20:47:18 2007 +0000 * Oops, ratio should be a double, not a float. src/fd.c | 4 ++-- src/fd.h | 2 +- src/libzzuf.h | 2 +- src/zzuf.c | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) Commit: 1670 Author: sam Date: Sun Jan 14 20:28:09 2007 +0000 * Exit non-zero if one process crashed. doc/zzuf.1 | 4 ++++ src/zzuf.c | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-) Commit: 1669 Author: sam Date: Sun Jan 14 20:18:31 2007 +0000 * Display our information to stderr, not stdout. Documented that. doc/zzuf.1 | 2 +- src/zzuf.c | 19 ++++++++----------- 2 files changed, 9 insertions(+), 12 deletions(-) Commit: 1668 Author: sam Date: Sun Jan 14 20:17:45 2007 +0000 * Only display our own kills in verbose mode. * Factorise min/max ratio values. src/fd.c | 12 ++++++------ src/libzzuf.h | 8 ++++++++ src/zzuf.c | 38 ++++++++++++++++++++++++++------------ 3 files changed, 40 insertions(+), 18 deletions(-) Commit: 1667 Author: sam Date: Sun Jan 14 17:47:01 2007 +0000 * Added -v/--verbose (unused yet). doc/zzuf.1 | 12 ++++++++---- src/zzuf.c | 21 ++++++++++++++------- 2 files changed, 22 insertions(+), 11 deletions(-) Commit: 1666 Author: sam Date: Sun Jan 14 11:03:37 2007 +0000 * Set --version to -V, not -v. We'll use -v for verbose. doc/zzuf.1 | 4 ++-- src/zzuf.c | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) Commit: 1665 Author: sam Date: Sun Jan 14 01:03:44 2007 +0000 * Fix a problem with filedescriptor 17 being reused for other purposes than the debugging channel. * Print signal name, eg. SIGABRT instead of just "signal 6". src/zzuf.c | 45 +++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 41 insertions(+), 4 deletions(-) Commit: 1664 Author: sam Date: Sat Jan 13 22:47:56 2007 +0000 * Minor documentation layout fix. doc/zzuf.1 | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) Commit: 1663 Author: sam Date: Sat Jan 13 19:33:48 2007 +0000 * Added auto-increment mode. Not very handy to use yet. doc/zzuf.1 | 20 ++++++++++++++++---- src/fd.c | 35 ++++++++++++++++++++++++++++++++++- src/fd.h | 3 +++ src/fuzz.c | 29 ++++++----------------------- src/fuzz.h | 2 -- src/libzzuf.c | 4 ++++ src/libzzuf.h | 15 +++++++++------ src/zzuf.c | 16 +++++++++++----- 8 files changed, 83 insertions(+), 41 deletions(-) Commit: 1662 Author: sam Date: Sat Jan 13 18:00:03 2007 +0000 * Print program PID when initialising libzzuf. src/libzzuf.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) Commit: 1661 Author: sam Date: Sat Jan 13 10:59:07 2007 +0000 * Fixed -c behaviour. Sometimes apps open "$PWD/file" when asked to simply open "file" (eg. eog). src/zzuf.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) Commit: 1660 Author: sam Date: Sat Jan 13 10:50:38 2007 +0000 * Implemented -D/--delay to avoid fork bombs. doc/zzuf.1 | 19 ++++++++++++------- src/zzuf.c | 26 ++++++++++++++++++-------- 2 files changed, 30 insertions(+), 15 deletions(-) Commit: 1659 Author: sam Date: Fri Jan 12 18:01:27 2007 +0000 * Refactored some shit around. src/zzuf.c | 146 ++++++++++++++++++++++++++++++++++-------------------------- 1 files changed, 83 insertions(+), 63 deletions(-) Commit: 1658 Author: sam Date: Fri Jan 12 16:20:14 2007 +0000 * Minor documentation fixes. doc/zzuf.1 | 8 ++++---- src/zzuf.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) Commit: 1657 Author: sam Date: Fri Jan 12 15:47:48 2007 +0000 * Change timing functions to gettimeofday() instead of time() for more precision. Makefile.am | 1 + src/Makefile.am | 4 +++- src/timer.c | 38 ++++++++++++++++++++++++++++++++++++++ src/timer.h | 20 ++++++++++++++++++++ src/zzuf.c | 21 ++++++++++----------- 5 files changed, 72 insertions(+), 12 deletions(-) Commit: 1656 Author: sam Date: Fri Jan 12 14:19:55 2007 +0000 * Lowercase zzuf everywhere. AUTHORS | 2 +- README | 6 +++--- doc/zzuf.1 | 16 ++++++++-------- 3 files changed, 12 insertions(+), 12 deletions(-) Commit: 1655 Author: sam Date: Fri Jan 12 10:09:22 2007 +0000 * Better line-buffered stdin reads. src/zzuf.c | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) Commit: 1654 Author: sam Date: Thu Jan 11 23:36:28 2007 +0000 * Version 0.4. * Updated NEWS and ChangeLog. ChangeLog | 261 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NEWS | 6 ++ configure.ac | 4 +- 3 files changed, 269 insertions(+), 2 deletions(-) Commit: 1653 Author: sam Date: Thu Jan 11 23:30:29 2007 +0000 * Got rid of malloc() for each file opened. Now we only start calling malloc() after the 32th file descriptor. src/fd.c | 41 ++++++++++++++++++++++++++++++----------- 1 files changed, 30 insertions(+), 11 deletions(-) Commit: 1652 Author: sam Date: Thu Jan 11 22:43:45 2007 +0000 * Reduce number of malloc() calls within libzzuf. src/fd.c | 19 +++++++++++-------- src/libzzuf.h | 2 +- 2 files changed, 12 insertions(+), 9 deletions(-) Commit: 1651 Author: sam Date: Thu Jan 11 22:11:56 2007 +0000 * Remove two useless malloc() calls. src/fd.c | 26 ++++++++------------------ 1 files changed, 8 insertions(+), 18 deletions(-) Commit: 1650 Author: sam Date: Thu Jan 11 22:11:28 2007 +0000 * Don't stop if the process was killed by us. src/zzuf.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) Commit: 1649 Author: sam Date: Thu Jan 11 10:21:11 2007 +0000 * Better realloc dummy implementation. src/load-mem.c | 34 +++++++++++++++++++--------------- 1 files changed, 19 insertions(+), 15 deletions(-) Commit: 1648 Author: sam Date: Thu Jan 11 00:39:59 2007 +0000 * Minor code factorisation into LOADSYM(). src/libzzuf.c | 10 +++++----- src/load-fd.c | 18 ++++++------------ src/load-mem.c | 28 ++++++++++------------------ src/load-signal.c | 6 ++---- src/load-stream.c | 37 ++++++++++++------------------------- src/load.h | 3 ++- 6 files changed, 37 insertions(+), 65 deletions(-) Commit: 1647 Author: sam Date: Thu Jan 11 00:27:47 2007 +0000 * Typo in the manpage. doc/zzuf.1 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 1646 Author: sam Date: Wed Jan 10 18:11:13 2007 +0000 * Allow several calls to malloc()/calloc() in the library preloading stage. src/load-mem.c | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) Commit: 1645 Author: sam Date: Wed Jan 10 17:31:58 2007 +0000 * Removed brk/sbrk, they're so outdated and useless. doc/zzuf.1 | 3 +-- src/load-mem.c | 31 ++----------------------------- 2 files changed, 3 insertions(+), 31 deletions(-) Commit: 1644 Author: sam Date: Wed Jan 10 17:25:09 2007 +0000 * Oops, fixed an old OS X build failure. src/load-mem.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Commit: 1643 Author: sam Date: Wed Jan 10 17:23:23 2007 +0000 * Check for memalign and posix_memalign. configure.ac | 2 +- src/load-mem.c | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) Commit: 1642 Author: sam Date: Wed Jan 10 17:19:48 2007 +0000 * Check for malloc.h. configure.ac | 2 +- src/load-mem.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) Commit: 1641 Author: sam Date: Wed Jan 10 17:17:26 2007 +0000 * Implemented memory limits. Probably breaks on other arches because of all the new functions. doc/zzuf.1 | 32 +++++++++--- src/libzzuf.c | 5 ++ src/libzzuf.h | 1 + src/load-mem.c | 148 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- src/zzuf.c | 30 +++++++++-- 5 files changed, 197 insertions(+), 19 deletions(-) Commit: 1640 Author: sam Date: Wed Jan 10 15:22:09 2007 +0000 * Changed -M to -m (for --md5). doc/zzuf.1 | 2 +- src/zzuf.c | 14 +++++++------- test/testsuite.sh | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) Commit: 1639 Author: sam Date: Wed Jan 10 14:57:22 2007 +0000 * Split load-fd.c into load-fd.c and load-mem.c (mmap, etc.). src/Makefile.am | 2 +- src/libzzuf.c | 1 + src/load-fd.c | 148 +----------------------------------------- src/load-mem.c | 194 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/load.h | 1 + 5 files changed, 198 insertions(+), 148 deletions(-) Commit: 1638 Author: sam Date: Tue Jan 9 16:39:07 2007 +0000 * Fixed double mmap debug message. src/load-fd.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) Commit: 1637 Author: sam Date: Tue Jan 9 16:16:00 2007 +0000 * Add verbosity to read() and mmap() so that we roughly know where we are reading. src/load-fd.c | 60 +++++++++++++++++++++++++++++++++++++++++--------------- 1 files changed, 44 insertions(+), 16 deletions(-) Commit: 1636 Author: sam Date: Tue Jan 9 16:14:31 2007 +0000 * Change debug's %c so that it automatically escapes binary characters. src/debug.c | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) Commit: 1635 Author: sam Date: Tue Jan 9 15:40:08 2007 +0000 * mmap() maps the file descriptor at offset 0. src/load-fd.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) Commit: 1634 Author: sam Date: Tue Jan 9 11:22:09 2007 +0000 * Don’t report exit status by default. * Add -x/--check-exit to get back to the previous behaviour. doc/zzuf.1 | 7 ++++++- src/zzuf.c | 21 ++++++++++++++------- 2 files changed, 20 insertions(+), 8 deletions(-) Commit: 1633 Author: sam Date: Tue Jan 9 10:07:35 2007 +0000 * Bah, reverted that. We'll use -O for --offset. doc/zzuf.1 | 16 ++++++++-------- src/zzuf.c | 20 ++++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) Commit: 1632 Author: sam Date: Tue Jan 9 10:05:47 2007 +0000 * Rename -B/--max-bytes to -O/--max-output so that we can implement -A/-B. doc/zzuf.1 | 16 ++++++++-------- src/zzuf.c | 20 ++++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) Commit: 1631 Author: sam Date: Tue Jan 9 10:02:57 2007 +0000 * Implement map_fd for OS X. configure.ac | 4 ++-- doc/zzuf.1 | 3 +++ src/load-fd.c | 41 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+), 2 deletions(-) Commit: 1630 Author: sam Date: Mon Jan 8 21:51:06 2007 +0000 * Fixed testsuite for anal shells. test/testsuite.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 1629 Author: sam Date: Mon Jan 8 21:49:57 2007 +0000 * Tru64 loader support (_RLD_LIST). src/zzuf.c | 20 +++++++++++++++----- 1 files changed, 15 insertions(+), 5 deletions(-) Commit: 1628 Author: sam Date: Mon Jan 8 21:48:39 2007 +0000 * Fix the socklen_t type detection on Linux. configure.ac | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) Commit: 1627 Author: sam Date: Mon Jan 8 21:05:05 2007 +0000 * Define sig_t to void (*) (int) if it does not exist. src/load-signal.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Commit: 1626 Author: sam Date: Mon Jan 8 21:03:32 2007 +0000 * Define socklen_t to int if it does not exist. configure.ac | 2 ++ src/load-fd.c | 10 ++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) Commit: 1625 Author: sam Date: Mon Jan 8 18:15:49 2007 +0000 * Test suite now uses the new MD5 feature. test/testsuite.sh | 35 ++++++++++++----------------------- 1 files changed, 12 insertions(+), 23 deletions(-) Commit: 1624 Author: sam Date: Mon Jan 8 17:54:16 2007 +0000 * Changed --md5 to only compute the standard output. doc/zzuf.1 | 4 ++-- src/zzuf.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) Commit: 1623 Author: sam Date: Mon Jan 8 17:50:34 2007 +0000 * Implemented -M/--md5 flag. doc/zzuf.1 | 12 ++- src/Makefile.am | 2 +- src/md5.c | 237 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/md5.h | 24 ++++++ src/zzuf.c | 97 +++++++++++++++++------ 5 files changed, 341 insertions(+), 31 deletions(-) Commit: 1622 Author: sam Date: Sun Jan 7 21:29:37 2007 +0000 * Version 0.3. * Updated NEWS and ChangeLog. ChangeLog | 370 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NEWS | 7 + configure.ac | 4 +- 3 files changed, 379 insertions(+), 2 deletions(-) Commit: 1621 Author: sam Date: Sun Jan 7 21:14:26 2007 +0000 * Factor regex stuff into fd.c, so that isn’t needed otherwhere. src/fd.c | 27 +++++++++++++++++++++++++-- src/fd.h | 5 ++--- src/fuzz.c | 1 - src/libzzuf.c | 11 ++--------- src/load-fd.c | 1 - src/load-signal.c | 1 - src/load-stream.c | 1 - 7 files changed, 29 insertions(+), 18 deletions(-) Commit: 1620 Author: sam Date: Sun Jan 7 21:13:31 2007 +0000 * Use __srefill() on OS X, too. It now works properly. doc/zzuf.1 | 10 +++++----- src/load-stream.c | 4 ---- 2 files changed, 5 insertions(+), 9 deletions(-) Commit: 1619 Author: sam Date: Sun Jan 7 20:50:49 2007 +0000 * Implemented freopen(). doc/zzuf.1 | 5 +++-- src/load-stream.c | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 2 deletions(-) Commit: 1618 Author: sam Date: Sun Jan 7 20:24:03 2007 +0000 * Protect __srefill_orig() calls. src/load-stream.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 1617 Author: sam Date: Sun Jan 7 19:12:35 2007 +0000 * Updated bootstrap script. bootstrap | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) Commit: 1616 Author: sam Date: Sun Jan 7 18:45:00 2007 +0000 * Documented stdin behaviour. doc/zzuf.1 | 9 +++++++-- src/zzuf.c | 2 +- test/testsuite.sh | 3 ++- 3 files changed, 10 insertions(+), 4 deletions(-) Commit: 1615 Author: sam Date: Sun Jan 7 18:36:19 2007 +0000 * Factored sources in the makefile. src/Makefile.am | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) Commit: 1614 Author: sam Date: Sun Jan 7 18:34:50 2007 +0000 * Merged chars.c and fuzz.c. src/Makefile.am | 4 +- src/chars.c | 96 ---------------------------------------------- src/chars.h | 20 ---------- src/fuzz.c | 113 +++++++++++++++++++++++++++++++++++++++++++++++-------- src/fuzz.h | 3 + src/libzzuf.c | 9 +--- src/libzzuf.h | 4 -- src/zzuf.c | 9 +--- 8 files changed, 106 insertions(+), 152 deletions(-) Commit: 1613 Author: sam Date: Sun Jan 7 18:18:50 2007 +0000 * If no argument is given, just fuzz standard input. src/Makefile.am | 6 +- src/chars.c | 96 +++++++++++++++++++++ src/chars.h | 20 +++++ src/fd.c | 180 ++++++++++++++++++++++++++++++++++++++++ src/fd.h | 33 ++++++++ src/fuzz.c | 19 ++++ src/fuzz.h | 2 + src/libzzuf.c | 238 ++--------------------------------------------------- src/libzzuf.h | 12 --- src/load-fd.c | 2 + src/load-signal.c | 1 + src/load-stream.c | 2 + src/zzuf.c | 61 ++++++++++++-- 13 files changed, 418 insertions(+), 254 deletions(-) Commit: 1612 Author: sam Date: Sun Jan 7 17:12:53 2007 +0000 * Don't call cat or dd in the testsuite if they're statically linked. test/testsuite.sh | 26 ++++++++++++++++---------- 1 files changed, 16 insertions(+), 10 deletions(-) Commit: 1611 Author: sam Date: Sun Jan 7 16:31:33 2007 +0000 * Fix a compilation warning. src/load-stream.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) Commit: 1610 Author: sam Date: Sun Jan 7 16:29:25 2007 +0000 * Added note about 64-bit offsets in manpage. doc/zzuf.1 | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Commit: 1609 Author: sam Date: Sun Jan 7 16:27:59 2007 +0000 * Fixed __srefill()/lseek() conflict issue. src/load-stream.c | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) Commit: 1608 Author: sam Date: Sun Jan 7 16:09:13 2007 +0000 * Only use __srefill on OpenBSD and FreeBSD. src/load-stream.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) Commit: 1607 Author: sam Date: Sun Jan 7 15:55:24 2007 +0000 * Updated manpage, fixed - to \- here and there. doc/zzuf.1 | 42 +++++++++++++++++++++--------------------- 1 files changed, 21 insertions(+), 21 deletions(-) Commit: 1606 Author: sam Date: Sun Jan 7 15:55:00 2007 +0000 * Implemented BSD stdio by overriding __srefill(). src/load-stream.c | 82 ++++++++++++++++++++++++++++++++++------------------ 1 files changed, 53 insertions(+), 29 deletions(-) Commit: 1605 Author: sam Date: Sun Jan 7 14:22:34 2007 +0000 * Fuzz in __srefill even if _zz_disabled is on. src/load-stream.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) Commit: 1604 Author: sam Date: Sun Jan 7 14:16:46 2007 +0000 * Oops, got it wrong. src/load-stream.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) Commit: 1603 Author: sam Date: Sun Jan 7 14:16:06 2007 +0000 * Fix compilation warnings on BSD libc’s and a bug on FreeBSD. src/load-stream.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) Commit: 1602 Author: sam Date: Sun Jan 7 14:14:19 2007 +0000 * Implemented __refill(). Untested yet. src/load-stream.c | 61 +++++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 50 insertions(+), 11 deletions(-) Commit: 1601 Author: sam Date: Sun Jan 7 14:13:29 2007 +0000 * Made the testsuite shorter. test/testsuite.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 1600 Author: sam Date: Sun Jan 7 13:20:04 2007 +0000 * Protected the _IO_getc_orig declaration. src/load-stream.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Commit: 1599 Author: sam Date: Sun Jan 7 13:18:36 2007 +0000 * Oops, compilation fix. src/load-stream.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Commit: 1598 Author: sam Date: Sun Jan 7 13:16:43 2007 +0000 * Added __srefill() skeleton, for BSD libc. configure.ac | 2 +- src/load-stream.c | 26 +++++++++++++++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) Commit: 1597 Author: sam Date: Sun Jan 7 12:39:30 2007 +0000 * Added a note about statically linked binaries and one about getc(). doc/zzuf.1 | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) Commit: 1596 Author: sam Date: Sun Jan 7 12:06:07 2007 +0000 * Don’t run the testsuite if /bin/cat is statically linked. test/testsuite.sh | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) Commit: 1595 Author: sam Date: Sun Jan 7 10:34:45 2007 +0000 * Always define getc(), but undefine the getc macro beforehands just in case. * Implemented _IO_getc(). configure.ac | 2 +- doc/zzuf.1 | 8 ++++---- src/fuzz.c | 4 ++-- src/load-stream.c | 38 ++++++++++++++++++++++++-------------- test/testsuite.sh | 10 ++++++---- 5 files changed, 37 insertions(+), 25 deletions(-) Commit: 1594 Author: sam Date: Sun Jan 7 09:34:42 2007 +0000 * Implemented fseeko(). configure.ac | 2 +- doc/zzuf.1 | 4 +- src/load-stream.c | 74 +++++++++++++++++++++++++++++++++-------------------- 3 files changed, 49 insertions(+), 31 deletions(-) Commit: 1593 Author: sam Date: Sat Jan 6 22:17:09 2007 +0000 * Fix a bug in the fgetln() implementation. The newline was not properly accounted for in the returned length. src/load-stream.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Commit: 1592 Author: sam Date: Sat Jan 6 21:54:02 2007 +0000 * BSD's md5 does not have a --help option. Trying /dev/null instead. test/testsuite.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Commit: 1591 Author: sam Date: Sat Jan 6 21:38:33 2007 +0000 * Cleaned up code. src/load-stream.c | 27 +++++++++++++-------------- 1 files changed, 13 insertions(+), 14 deletions(-) Commit: 1590 Author: sam Date: Sat Jan 6 21:37:42 2007 +0000 * Only link with -ldl when available. * Removed PKG_* stuff from configure.ac. * Add more compilation warnings. configure.ac | 17 ++++------------- src/Makefile.am | 2 +- 2 files changed, 5 insertions(+), 14 deletions(-) Commit: 1589 Author: sam Date: Sat Jan 6 21:25:56 2007 +0000 * Got testsuite to work on FreeBSD. test/testsuite.sh | 31 ++++++++++++++++++++----------- 1 files changed, 20 insertions(+), 11 deletions(-) Commit: 1588 Author: sam Date: Sat Jan 6 20:59:28 2007 +0000 * Fix for BSD machines: getc() may be defined as a macro. src/load-stream.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Commit: 1587 Author: sam Date: Sat Jan 6 20:24:54 2007 +0000 * Fixed the head call in the testsuite so that it works on OS X. test/testsuite.sh | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) Commit: 1586 Author: sam Date: Sat Jan 6 20:20:15 2007 +0000 * Added head and tail to the testsuite. test/testsuite.sh | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) Commit: 1585 Author: sam Date: Sat Jan 6 20:08:31 2007 +0000 * Fixed implicit declaration. src/load-fd.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Commit: 1584 Author: sam Date: Sat Jan 6 20:02:01 2007 +0000 * Updated documentation wrt. mmap(). doc/zzuf.1 | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) Commit: 1583 Author: sam Date: Sat Jan 6 20:01:51 2007 +0000 * Missing autoconf check for mmap64(). configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 1582 Author: sam Date: Sat Jan 6 20:01:25 2007 +0000 * Implemented the mmap() family. src/load-fd.c | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 85 insertions(+), 1 deletions(-) Commit: 1581 Author: sam Date: Sat Jan 6 20:01:15 2007 +0000 * Implemented rewind(). src/load-stream.c | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) Commit: 1580 Author: sam Date: Sat Jan 6 15:54:14 2007 +0000 * Fix fread() issue with standard input reading. src/load-stream.c | 6 +++++- test/testsuite.sh | 11 +++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) Commit: 1579 Author: sam Date: Sat Jan 6 14:03:07 2007 +0000 * Added a note about mmap() not being available. doc/zzuf.1 | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Commit: 1578 Author: sam Date: Sat Jan 6 14:02:51 2007 +0000 * Fix build with older versions of gcc. src/debug.c | 19 +++++++++++-------- src/zzuf.c | 1 + 2 files changed, 12 insertions(+), 8 deletions(-) Commit: 1577 Author: sam Date: Sat Jan 6 10:51:44 2007 +0000 * Documentation tuning. doc/zzuf.1 | 4 ++-- src/zzuf.c | 13 +++++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) Commit: 1576 Author: sam Date: Sat Jan 6 00:40:51 2007 +0000 * Version 0.2 is ready. ChangeLog | 910 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NEWS | 7 + TODO | 5 - configure.ac | 4 +- src/zzuf.c | 6 +- 5 files changed, 923 insertions(+), 9 deletions(-) Commit: 1575 Author: sam Date: Sat Jan 6 00:26:39 2007 +0000 * Another note in the manpage. doc/zzuf.1 | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) Commit: 1574 Author: sam Date: Sat Jan 6 00:10:46 2007 +0000 * Cosmetic fixes. src/zzuf.c | 78 ++++++++++++++++++++++++++++++------------------------------ 1 files changed, 39 insertions(+), 39 deletions(-) Commit: 1573 Author: sam Date: Sat Jan 6 00:08:16 2007 +0000 * Implemented --max-crashes. * Renamed --forks to --max-forks. * Changed debug messages format. doc/zzuf.1 | 21 ++++++++++--- src/zzuf.c | 92 ++++++++++++++++++++++++++++++++++-------------------------- 2 files changed, 68 insertions(+), 45 deletions(-) Commit: 1572 Author: sam Date: Fri Jan 5 23:15:29 2007 +0000 * Oops, forgot to fix --help output. src/zzuf.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 1571 Author: sam Date: Fri Jan 5 23:14:37 2007 +0000 * Rename --fork to --max-forks. doc/zzuf.1 | 2 +- src/zzuf.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) Commit: 1570 Author: sam Date: Fri Jan 5 21:36:13 2007 +0000 * Specified signal handling stuff in the manpage. doc/zzuf.1 | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) Commit: 1569 Author: sam Date: Fri Jan 5 21:33:28 2007 +0000 * Split the bugs manpage section into bugs and restrictions. * Listed diverted functions. doc/zzuf.1 | 56 +++++++++++++++++++++++++++++++++++++------------------- 1 files changed, 37 insertions(+), 19 deletions(-) Commit: 1568 Author: sam Date: Fri Jan 5 17:34:10 2007 +0000 * Fix an uncontrolled corruption bug in fgetln(). src/load-stream.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 1567 Author: sam Date: Fri Jan 5 16:03:04 2007 +0000 * Fix fgetln(). The testsuite *almost* passes. src/load-stream.c | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 deletions(-) Commit: 1566 Author: sam Date: Fri Jan 5 14:36:39 2007 +0000 * Implemented BSD fgetln(). Untested yet. configure.ac | 2 +- src/libzzuf.c | 7 +++++++ src/libzzuf.h | 3 +++ src/load-stream.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 61 insertions(+), 1 deletions(-) Commit: 1565 Author: sam Date: Fri Jan 5 11:01:49 2007 +0000 * Put back grep and sed into the testsuite, now that we can protect newlines from being fuzzed away. test/testsuite.sh | 52 ++++++++++++++++++++++++++++++---------------------- 1 files changed, 30 insertions(+), 22 deletions(-) Commit: 1564 Author: sam Date: Fri Jan 5 10:49:12 2007 +0000 * Minor layout tuning. doc/zzuf.1 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 1563 Author: sam Date: Fri Jan 5 10:28:07 2007 +0000 * Allow octal escape values for -P and -R. * Updated manpage accordingly and added a few minor things in it. doc/zzuf.1 | 44 +++++++++++++++++++++++--------------------- src/libzzuf.c | 10 ++++++++-- 2 files changed, 31 insertions(+), 23 deletions(-) Commit: 1562 Author: sam Date: Fri Jan 5 08:01:06 2007 +0000 * Change -N to -n for --network. doc/zzuf.1 | 4 ++-- src/zzuf.c | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) Commit: 1561 Author: sam Date: Fri Jan 5 07:57:41 2007 +0000 * Clarified reproducibility claim. doc/zzuf.1 | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) Commit: 1560 Author: sam Date: Fri Jan 5 07:52:30 2007 +0000 * Network support. doc/zzuf.1 | 13 +++++++------ src/libzzuf.c | 5 +++++ src/libzzuf.h | 1 + src/load-fd.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ src/zzuf.c | 18 ++++++++++++------ 5 files changed, 69 insertions(+), 12 deletions(-) Commit: 1559 Author: sam Date: Fri Jan 5 00:24:43 2007 +0000 * Manpage layout improvements. doc/zzuf.1 | 99 ++++++++++++++++++++++------------------------------------- 1 files changed, 37 insertions(+), 62 deletions(-) Commit: 1558 Author: sam Date: Thu Jan 4 13:33:33 2007 +0000 * Minor manpage improvement. doc/zzuf.1 | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Commit: 1557 Author: sam Date: Thu Jan 4 13:28:35 2007 +0000 * Improved manpage, especially the statistical effect of using -R. doc/zzuf.1 | 90 ++++++++++++++++++++++++++++++++++++++++-------------------- 1 files changed, 60 insertions(+), 30 deletions(-) Commit: 1555 Author: sam Date: Thu Jan 4 08:59:05 2007 +0000 * Implemented -R / --refuse. doc/zzuf.1 | 20 ++++++++++++++++++++ src/fuzz.c | 11 +++++++++-- src/libzzuf.c | 21 +++++++++++++-------- src/libzzuf.h | 3 ++- src/zzuf.c | 17 ++++++++++++----- 5 files changed, 56 insertions(+), 16 deletions(-) Commit: 1554 Author: sam Date: Thu Jan 4 01:09:04 2007 +0000 * Implement -P / --protect. doc/zzuf.1 | 40 ++++++++++++++++++++++++++++++-- src/fuzz.c | 11 +++++++- src/libzzuf.c | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/libzzuf.h | 3 ++ src/zzuf.c | 22 ++++++++++++----- 5 files changed, 134 insertions(+), 12 deletions(-) Commit: 1553 Author: sam Date: Wed Jan 3 22:51:36 2007 +0000 * Added a _zz_disabled flag. This is needed on OS X where we protect the fopen_orig() call because it will call our own diverted open() function and we don't want it to fiddle with our structures. src/libzzuf.c | 1 + src/libzzuf.h | 1 + src/load-fd.c | 8 ++++---- src/load-stream.c | 18 +++++++++++++++++- 4 files changed, 23 insertions(+), 5 deletions(-) Commit: 1552 Author: sam Date: Wed Jan 3 22:25:45 2007 +0000 * Do not fuzz anything if 0 bytes were read. * Added a debug message for fuzzing. src/fuzz.c | 4 +++- src/load-stream.c | 7 +++++-- 2 files changed, 8 insertions(+), 3 deletions(-) Commit: 1551 Author: sam Date: Wed Jan 3 22:12:02 2007 +0000 * Better debug messages in load-stream.c. src/load-stream.c | 30 ++++++++++++++++++------------ 1 files changed, 18 insertions(+), 12 deletions(-) Commit: 1550 Author: sam Date: Wed Jan 3 22:10:57 2007 +0000 * Implemented %c in our debug() printf implementation. src/debug.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) Commit: 1549 Author: sam Date: Wed Jan 3 21:53:03 2007 +0000 * Use "strings