551 Commits

Author SHA1 Message Date
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
Sam Hocevar
8cfe60ca4c * Update copyright and homepage in the manual page. 2008-05-16 22:00:58 +00:00
Sam Hocevar
9788f1b62b * Implement dup() and dup2(). They are needed for Debian's implementation
of dd which otherwise causes the regression tests to fail.
2008-04-26 12:24:57 +00:00
Sam Hocevar
9389fc2518 * Slightly updated the build system. 2008-04-26 11:30:45 +00:00
Sam Hocevar
db40102a66 * Set minimal fuzzing ratio to 0.000000001% (less than one bit changed on
a whole DVD).
2008-04-12 07:44:34 +00:00
Sam Hocevar
81d43c778d * Implement %g in the debug() format string. Incomplete but useful. 2008-04-09 09:49:16 +00:00
Sam Hocevar
b86478a95e * Version 0.10.
* Updated NEWS and ChangeLog.
2007-11-03 00:24:46 +00:00
Sam Hocevar
17b551bb2e * Link libzzuf with winsock because of our use of htons. 2007-11-03 00:22:58 +00:00
Sam Hocevar
8da50af0f9 * Documentation updates. 2007-11-03 00:14:40 +00:00
Sam Hocevar
e4491da6cf * Do not fuzz non-IP network protocols. They’re too painful to fine-tune. 2007-11-03 00:08:43 +00:00
Sam Hocevar
801feb2296 * Merged the bind() and connect() diversions using macros. They were almost
identical.
  * Check the addrlen value to avoid crashing with weird protocols.
2007-11-02 23:34:22 +00:00
Sam Hocevar
92fbf5821f * Divert connect() so that -p/--ports now works with outbound connections. 2007-11-02 23:23:25 +00:00
Sam Hocevar
82db9143ca * Look for connect(). 2007-11-02 23:22:11 +00:00
Sam Hocevar
9934d0c438 * Updated documentation. 2007-11-02 23:07:41 +00:00
Sam Hocevar
a13b641301 * Fix a bug in the -p handling that made it opt-out instead of opt-in.
* Don’t bother using AF_UNIX, it doesn’t have ports.
2007-11-02 23:01:09 +00:00
Sam Hocevar
01e8f8ce00 * Network destination port choosing with -p/--ports.
* Renamed -p/--pick into -l/--list to avoid conflicts.
2007-11-02 22:45:54 +00:00
Sam Hocevar
b45efa5afa * Check for <netinet/in.h>, it’s needed for struct sockaddr_in. 2007-11-02 21:50:08 +00:00
Sam Hocevar
59056cd9b4 * Support %d, %ld and %lld in addition to %i etc. in debug(). 2007-11-02 21:40:38 +00:00
Sam Hocevar
c61d2f6b27 * Log and divert bind() calls. 2007-11-02 21:32:18 +00:00
Sam Hocevar
af990fc5ed * Check for bind in the configure step. 2007-11-02 21:16:57 +00:00
Sam Hocevar
35d39cab6f * Version 0.9. For real, this time.
* Updated NEWS and ChangeLog.
2007-07-10 15:55:35 +00:00
Sam Hocevar
66674eab71 * Documented the new -T / --max-cpu flag. 2007-07-10 15:42:37 +00:00
Sam Hocevar
e81b1c5af3 * -M is megabytes, not bytes. Fixed --help output. 2007-07-10 15:31:40 +00:00