27628f1f61* Version 0.4. * Updated NEWS and ChangeLog.
Sam Hocevar
2007-01-11 23:36:28 +00:00
16515a9f5f* Got rid of malloc() for each file opened. Now we only start calling malloc() after the 32th file descriptor.
Sam Hocevar
2007-01-11 23:30:29 +00:00
f90911b51d* Reduce number of malloc() calls within libzzuf.
Sam Hocevar
2007-01-11 22:43:45 +00:00
8973eb7d58* Remove two useless malloc() calls.
Sam Hocevar
2007-01-11 22:11:56 +00:00
b01102d331* Don't stop if the process was killed by us.
Sam Hocevar
2007-01-11 22:11:28 +00:00
3df4ac25be* Better realloc dummy implementation.
Sam Hocevar
2007-01-11 10:21:11 +00:00
5aba237786* Minor code factorisation into LOADSYM().
Sam Hocevar
2007-01-11 00:39:59 +00:00
c137be5a46* Typo in the manpage.
Sam Hocevar
2007-01-11 00:27:47 +00:00
5c6ec36141* Allow several calls to malloc()/calloc() in the library preloading stage.
Sam Hocevar
2007-01-10 18:11:13 +00:00
0f030d2215* Removed brk/sbrk, they're so outdated and useless.
Sam Hocevar
2007-01-10 17:31:58 +00:00
8e1f60e2d0* Oops, fixed an old OS X build failure.
Sam Hocevar
2007-01-10 17:25:09 +00:00
502411321c* Check for memalign and posix_memalign.
Sam Hocevar
2007-01-10 17:23:23 +00:00
84eccf4cb6* Check for malloc.h.
Sam Hocevar
2007-01-10 17:19:48 +00:00
8258e9394a* Implemented memory limits. Probably breaks on other arches because of all the new functions.
Sam Hocevar
2007-01-10 17:17:26 +00:00
6e1f3612f8* Changed -M to -m (for --md5).
Sam Hocevar
2007-01-10 15:22:09 +00:00
6e0907a22f* Split load-fd.c into load-fd.c and load-mem.c (mmap, etc.).
Sam Hocevar
2007-01-10 14:57:22 +00:00
62b94578fa* Add verbosity to read() and mmap() so that we roughly know where we are reading.
Sam Hocevar
2007-01-09 16:16:00 +00:00
4017fc9b93* Change debug's %c so that it automatically escapes binary characters.
Sam Hocevar
2007-01-09 16:14:31 +00:00
24f3d04a30* mmap() maps the file descriptor at offset 0.
Sam Hocevar
2007-01-09 15:40:08 +00:00
0bde2e4ad9* Don’t report exit status by default. * Add -x/--check-exit to get back to the previous behaviour.
Sam Hocevar
2007-01-09 11:22:09 +00:00
c5593ef646* Bah, reverted that. We'll use -O for --offset.
Sam Hocevar
2007-01-09 10:07:35 +00:00
e90b4dc283* Rename -B/--max-bytes to -O/--max-output so that we can implement -A/-B.
Sam Hocevar
2007-01-09 10:05:47 +00:00
53e43b9db1* Implement map_fd for OS X.
Sam Hocevar
2007-01-09 10:02:57 +00:00
c21e2b7846* Fixed testsuite for anal shells.
Sam Hocevar
2007-01-08 21:51:06 +00:00
b6c7d51a43* Tru64 loader support (_RLD_LIST).
Sam Hocevar
2007-01-08 21:49:57 +00:00
90458b4b3f* Fix the socklen_t type detection on Linux.
Sam Hocevar
2007-01-08 21:48:39 +00:00
ada1ea2f08* Define sig_t to void (*) (int) if it does not exist.
Sam Hocevar
2007-01-08 21:05:05 +00:00
77e15f7fb6* Define socklen_t to int if it does not exist.
Sam Hocevar
2007-01-08 21:03:32 +00:00
de16b710db* Test suite now uses the new MD5 feature.
Sam Hocevar
2007-01-08 18:15:49 +00:00
327ebe24c5* Changed --md5 to only compute the standard output.
Sam Hocevar
2007-01-08 17:54:16 +00:00
5ba521a706* Implemented -M/--md5 flag.
Sam Hocevar
2007-01-08 17:50:34 +00:00
9966eafc15* Version 0.3. * Updated NEWS and ChangeLog.
Sam Hocevar
2007-01-07 21:29:37 +00:00
c65f0017e8* Factor regex stuff into fd.c, so that <regex.h> isn’t needed otherwhere.
Sam Hocevar
2007-01-07 21:14:26 +00:00
f8d7384dfd* Use __srefill() on OS X, too. It now works properly.
Sam Hocevar
2007-01-07 21:13:31 +00:00
fd6d3e00a1* Implemented freopen().
Sam Hocevar
2007-01-07 20:50:49 +00:00
ed0673fd2e* Protect __srefill_orig() calls.
Sam Hocevar
2007-01-07 20:24:03 +00:00
f1d777d3ec* Updated bootstrap script.
Sam Hocevar
2007-01-07 19:12:35 +00:00
b2a1908029* Documented stdin behaviour.
Sam Hocevar
2007-01-07 18:45:00 +00:00
562f045c50* Factored sources in the makefile.
Sam Hocevar
2007-01-07 18:36:19 +00:00
07680233bd* Merged chars.c and fuzz.c.
Sam Hocevar
2007-01-07 18:34:50 +00:00
c0aad3b6e5* If no argument is given, just fuzz standard input.
Sam Hocevar
2007-01-07 18:18:50 +00:00
1fdcd5182f* Don't call cat or dd in the testsuite if they're statically linked.
Sam Hocevar
2007-01-07 17:12:53 +00:00
d1f6ebd99f* Fix a compilation warning.
Sam Hocevar
2007-01-07 16:31:33 +00:00
4fda842499* Added note about 64-bit offsets in manpage.
Sam Hocevar
2007-01-07 16:29:25 +00:00
ac40d96fb8* Fixed __srefill()/lseek() conflict issue.
Sam Hocevar
2007-01-07 16:27:59 +00:00
7602915c79* Only use __srefill on OpenBSD and FreeBSD.
Sam Hocevar
2007-01-07 16:09:13 +00:00
3c7c805e32* Updated manpage, fixed - to \- here and there.
Sam Hocevar
2007-01-07 15:55:24 +00:00
4478f3f28d* Implemented BSD stdio by overriding __srefill().
Sam Hocevar
2007-01-07 15:55:00 +00:00
81550284a1* Fuzz in __srefill even if _zz_disabled is on.
Sam Hocevar
2007-01-07 14:22:34 +00:00
8a46682cb3* Oops, got it wrong.
Sam Hocevar
2007-01-07 14:16:46 +00:00
77e8baae5c* Fix compilation warnings on BSD libc’s and a bug on FreeBSD.
Sam Hocevar
2007-01-07 14:16:06 +00:00
650ab335f4* Implemented __refill(). Untested yet.
Sam Hocevar
2007-01-07 14:14:19 +00:00
44637ccbed* Made the testsuite shorter.
Sam Hocevar
2007-01-07 14:13:29 +00:00
d04ed9dd4a* Protected the _IO_getc_orig declaration.
Sam Hocevar
2007-01-07 13:20:04 +00:00
6a248bfcd3* Oops, compilation fix.
Sam Hocevar
2007-01-07 13:18:36 +00:00
379c0b4f5f* Added __srefill() skeleton, for BSD libc.
Sam Hocevar
2007-01-07 13:16:43 +00:00
7d74595f6f* Added a note about statically linked binaries and one about getc().
Sam Hocevar
2007-01-07 12:39:30 +00:00
5d48434914* Don’t run the testsuite if /bin/cat is statically linked.
Sam Hocevar
2007-01-07 12:06:07 +00:00
f109b99b53* Always define getc(), but undefine the getc macro beforehands just in case. * Implemented _IO_getc().
Sam Hocevar
2007-01-07 10:34:45 +00:00
399f65d704* Implemented fseeko().
Sam Hocevar
2007-01-07 09:34:42 +00:00
f62025e392* Fix a bug in the fgetln() implementation. The newline was not properly accounted for in the returned length.
Sam Hocevar
2007-01-06 22:17:09 +00:00
c2d12ddd92* BSD's md5 does not have a --help option. Trying /dev/null instead.
Sam Hocevar
2007-01-06 21:54:02 +00:00
f77a838606* Cleaned up code.
Sam Hocevar
2007-01-06 21:38:33 +00:00
1f4b9cfa97* Only link with -ldl when available. * Removed PKG_* stuff from configure.ac. * Add more compilation warnings.
Sam Hocevar
2007-01-06 21:37:42 +00:00
5b90ba4ec2* Got testsuite to work on FreeBSD.
Sam Hocevar
2007-01-06 21:25:56 +00:00
e20a8f44bd* Fix for BSD machines: getc() may be defined as a macro.
Sam Hocevar
2007-01-06 20:59:28 +00:00
1913d08ca0* Fixed the head call in the testsuite so that it works on OS X.
Sam Hocevar
2007-01-06 20:24:54 +00:00
e5b145ce34* Added head and tail to the testsuite.
Sam Hocevar
2007-01-06 20:20:15 +00:00
4f2b321dbf* Fixed implicit declaration.
Sam Hocevar
2007-01-06 20:08:31 +00:00
cb8409556e* Updated documentation wrt. mmap().
Sam Hocevar
2007-01-06 20:02:01 +00:00
c31cfd5c80* Missing autoconf check for mmap64().
Sam Hocevar
2007-01-06 20:01:51 +00:00
ee2a4cec8b* Implemented the mmap() family.
Sam Hocevar
2007-01-06 20:01:25 +00:00
5329e5a3ea* Implemented rewind().
Sam Hocevar
2007-01-06 20:01:15 +00:00
2029e77e18* Fix fread() issue with standard input reading.
Sam Hocevar
2007-01-06 15:54:14 +00:00
e381e7bb86* Added a note about mmap() not being available.
Sam Hocevar
2007-01-06 14:03:07 +00:00
9a7c211b57* Fix build with older versions of gcc.
Sam Hocevar
2007-01-06 14:02:51 +00:00
bf0f51a97f* Documentation tuning.
Sam Hocevar
2007-01-06 10:51:44 +00:00
3d20829220* Version 0.2 is ready.
Sam Hocevar
2007-01-06 00:40:51 +00:00
e62fd4c5e8* Another note in the manpage.
Sam Hocevar
2007-01-06 00:26:39 +00:00
85b6d87a3d* Cosmetic fixes.
Sam Hocevar
2007-01-06 00:10:46 +00:00
31993f9bc7* Implemented --max-crashes. * Renamed --forks to --max-forks. * Changed debug messages format.
Sam Hocevar
2007-01-06 00:08:16 +00:00
1322fd8cf0* Oops, forgot to fix --help output.
Sam Hocevar
2007-01-05 23:15:29 +00:00
a7b655736a* Rename --fork to --max-forks.
Sam Hocevar
2007-01-05 23:14:37 +00:00
00d3e5e154* Specified signal handling stuff in the manpage.
Sam Hocevar
2007-01-05 21:36:13 +00:00
ebf935c11d* Split the bugs manpage section into bugs and restrictions. * Listed diverted functions.
Sam Hocevar
2007-01-05 21:33:28 +00:00
064232ecf8* Fix an uncontrolled corruption bug in fgetln().
Sam Hocevar
2007-01-05 17:34:10 +00:00
6917989fba* Fix fgetln(). The testsuite *almost* passes.
Sam Hocevar
2007-01-05 16:03:04 +00:00
a58daf09d7* Put back grep and sed into the testsuite, now that we can protect newlines from being fuzzed away.
Sam Hocevar
2007-01-05 11:01:49 +00:00
2387aa2907* Minor layout tuning.
Sam Hocevar
2007-01-05 10:49:12 +00:00
df7b1127df* Allow octal escape values for -P and -R. * Updated manpage accordingly and added a few minor things in it.
Sam Hocevar
2007-01-05 10:28:07 +00:00
7557e335bd* Change -N to -n for --network.
Sam Hocevar
2007-01-05 08:01:06 +00:00
92f06199ff* Clarified reproducibility claim.
Sam Hocevar
2007-01-05 07:57:41 +00:00
8d40570979* Network support.
Sam Hocevar
2007-01-05 07:52:30 +00:00
bd659d383c* Manpage layout improvements.
Sam Hocevar
2007-01-05 00:24:43 +00:00
3dc82f3b69* Minor manpage improvement.
Sam Hocevar
2007-01-04 13:33:33 +00:00
87c80404e0* Improved manpage, especially the statistical effect of using -R.
Sam Hocevar
2007-01-04 13:28:35 +00:00
86dfb1f5fd* Implemented -R / --refuse.
Sam Hocevar
2007-01-04 08:59:05 +00:00
ab9a1d771c* Implement -P / --protect.
Sam Hocevar
2007-01-04 01:09:04 +00:00