373 Commits

Author SHA1 Message Date
Sam Hocevar
22cd9da8fe * bootstrap: update bootstrapping script for OpenSolaris compatibility.
* check-utils: do not use grep -q, OpenSolaris doesn't know about it.
2008-07-16 20:53:14 +00:00
Sam Hocevar
48e7b55dfe * Oops, forgot to check in check-md5. 2008-07-16 20:36:58 +00:00
Sam Hocevar
4a1b32c6fd * Add a unit test for MD5 hashes. 2008-07-16 20:36:14 +00:00
Sam Hocevar
63b3a8e8a0 * Add a bunch of unit tests to check for zzuf basic capabilities: SIGSEGV
and SIGFPE detection, memory exhaustion detection.
2008-07-16 17:23:37 +00:00
Sam Hocevar
bd586d1a93 * mygetopt.c: fix a parsing issue with short options. 2008-07-16 17:23:33 +00:00
Sam Hocevar
4cda0e67f5 * Fix a few HP-UX warnings caused by missing headers. 2008-07-16 17:23:29 +00:00
Sam Hocevar
b4541f895b * Split the test suite into the RNG test and the Unix utils test. 2008-07-16 17:23:24 +00:00
Sam Hocevar
a5dcebc637 * zzuf.c: retrieve library object name from libtool's .la file so we don't
need to hardcode .so, .sl, .dylib etc. for various platforms.
2008-07-16 09:52:08 +00:00
Sam Hocevar
3c6188a48b * Implement __srefill() for full HP-UX support on parisc-gcc. 2008-07-16 09:52:02 +00:00
Sam Hocevar
d5734170b3 * zzcat.c: compilation fix for missing headers. 2008-07-16 09:51:58 +00:00
Sam Hocevar
612d830111 * testsuite.h: do not test for grep -a if the option is unknown. 2008-07-16 09:51:53 +00:00
Sam Hocevar
abeb8d87e0 * Add a few _INCLUDE_POSIX_SOURCE defines here and there so that we build
out of the box with HP-UX's c99 compiler.
2008-07-15 21:34:14 +00:00
Sam Hocevar
08d6923f3a * testsuite.sh: use printf instead of echo -n for better portability. 2008-07-15 20:16:15 +00:00
Sam Hocevar
8b1f5bba2c * Implement additional functions required on HP-UX: __fopen64, __fseeko64,
__freopen64, __open64, __lseek64.
2008-07-15 20:16:11 +00:00
Sam Hocevar
b448cd4759 * Build on HP-UX systems: disable unsupported warning flags, define
_XOPEN_SOURCE_EXTENDED where appropriate, use AC_C_INLINE to avoid using
    the inline keyword when unsupported, and use #pragma INIT for library
    initialisation routines.
2008-07-15 20:16:06 +00:00
Sam Hocevar
88ddd7f4ac * configure.ac: do not use -fno-strength-reduce -fomit-frame-pointer,
they're pretty useless for our project.
2008-07-15 20:16:02 +00:00
Sam Hocevar
d79a717daa * zzuf.c: reformated the licensing information for zzuf -V. 2008-07-15 20:15:58 +00:00
Sam Hocevar
2064bc7fcf * lib-stream.c: remove an unused variable. 2008-07-15 20:15:53 +00:00
Sam Hocevar
cacdf20050 * Fix a compilation issue on FreeBSD by defining _BSD_SOURCE and including
<sys/cdefs.h>.
2008-07-15 20:15:47 +00:00
Sam Hocevar
1653045c19 * Fix the Win32 package build. No, it still doesn't work, it just builds. 2008-07-15 20:15:43 +00:00
Sam Hocevar
27983605ca * Set a default maximum memory usage value to avoid excessive swapping. 2008-07-15 20:15:35 +00:00
Sam Hocevar
4d91e25ff0 * Ideas for a zzufrc file. 2008-07-09 10:50:43 +00:00
Sam Hocevar
0da8b1c33a * Run the testsuite when "make check" is called. 2008-06-20 06:05:25 +00:00
Sam Hocevar
7711565c5d * Avoid a potential shared library attack by never looking for libzzuf in
the current directory.
2008-06-20 06:05:13 +00:00
Sam Hocevar
23271396db * Version 0.12.
* Updated NEWS and ChangeLog.
2008-06-13 09:31:21 +00:00
Sam Hocevar
df05d7bd8a * Finished the libzzuf manual page. 2008-06-13 09:31:17 +00:00
Sam Hocevar
23ba2c6d16 * Fix a crash in the realloc() wrapper occurring when dlsym() or dlopen()
call realloc() with a NULL pointer.
2008-06-10 16:21:22 +00:00
Sam Hocevar
a530547a92 * Do not try to free() on buffers that have been allocated with the real
malloc, or we may crash unexpectedly, for instance if dlsym("free") calls
    malloc() then free() while free hasn't been loaded yet.
2008-06-10 16:21:17 +00:00
Sam Hocevar
18d87ea844 * Started writing a manual page for libzzuf. 2008-06-10 16:21:11 +00:00
Sam Hocevar
ed7240392c * Change -M to mean mebibytes instead of megabytes, because I'm a fucking
pedant.
2008-05-19 11:25:05 +00:00
Sam Hocevar
7acd670a08 * Change -F to -j, to mimic make. 2008-05-19 11:25:01 +00:00
Sam Hocevar
6dccd9a9e5 * Allow to omit the right-hand side of the seed range, for indefinite
fuzzing attempts.
2008-05-19 11:24:56 +00:00
Sam Hocevar
768baba0bc * Clarify -C0 behaviour. 2008-05-19 11:24:51 +00:00
Sam Hocevar
9634d50cf7 * Add SIGPIPE to the list of crashing signals. 2008-05-19 11:24:46 +00:00
Sam Hocevar
1c69645f86 * Fix an invalid cast on the Alpha architecture caused by sockaddr_in*
having larger alignment requirements than sockaddr*.
2008-05-19 11:24:41 +00:00
Sam Hocevar
bc87eaa365 * Version 0.11.
* Updated NEWS and ChangeLog.
2008-05-18 19:56:52 +00:00
Sam Hocevar
b2b6b59b71 * Minor memory and speed optimisation. 2008-05-18 19:56:48 +00:00
Sam Hocevar
dd53242b2c * Start working on the internal code documentation. 2008-05-18 18:13:45 +00:00
Sam Hocevar
500fcb0bf1 * Don't use `--' in the testsuite, it is no longer understood. 2008-05-18 12:38:37 +00:00
Sam Hocevar
c45ecef2a9 * Implement getchar() and getchar_unlocked(). 2008-05-18 12:38:32 +00:00
Sam Hocevar
70b02f704c * Minor changes: add quotes between launched program name, update copyright. 2008-05-18 09:45:53 +00:00
Sam Hocevar
c06d381315 * Make sure the fgets_unlocked() reimplementation uses fgetc_unlocked(),
not fgetc().
2008-05-18 09:45:48 +00:00
Sam Hocevar
03cf326236 * Implement fgets_unlocked() and fread_unlocked(). 2008-05-17 23:10:47 +00:00
Sam Hocevar
8e56c6de5a * Implement getc_unlocked() and fgetc_unlocked(). 2008-05-17 23:10:41 +00:00
Sam Hocevar
04b9c5f1f0 * Document the new command line parsing behaviour. 2008-05-17 13:40:45 +00:00
Sam Hocevar
e08dda0acd * No longer require the "--" trick to separate zzuf's flags and the called
program's.
2008-05-17 13:40:40 +00:00
Sam Hocevar
78166aa5b0 * Cosmetic: remove trailing spaces from the source code. 2008-05-16 22:01:18 +00:00
Sam Hocevar
383ed9cb09 * Add statistical analysis to the testsuite to check our random number
generator.
2008-05-16 22:01:11 +00:00
Sam Hocevar
cee4f2fc92 * Improve overall randomness. Now even close seeds have very different
behaviours on which bits are flipped.
2008-05-16 22:01:07 +00:00
Sam Hocevar
60a67d3282 * Update TODO. 2008-05-16 22:01:03 +00:00