Sam Hocevar
|
b9cc488ad5
|
Fix a buffer overflow in zzcat.
|
2010-01-21 01:17:15 +00:00 |
|
Sam Hocevar
|
bc58be1c91
|
Fix compilation warnings and errors on OpenSolaris caused by a few of
our source feature macros.
|
2010-01-21 01:17:01 +00:00 |
|
Sam Hocevar
|
55339f7d8a
|
Improve the OpenSolaris port: support for FILE structures, and a few
additional defines to activate libc features.
|
2010-01-20 07:59:01 +00:00 |
|
Sam Hocevar
|
3d3b3008e7
|
Don't try to use waitpid() information on Win32.
|
2010-01-19 13:01:45 +00:00 |
|
Sam Hocevar
|
db0788c5f7
|
Drop atoll() usage. It's not portable.
|
2010-01-19 12:44:29 +00:00 |
|
Sam Hocevar
|
f081c1882f
|
Fix memory limitation method on OS X (page size was ignored) and other
systems (was using MBs instead of MiBs).
|
2010-01-19 12:44:23 +00:00 |
|
Sam Hocevar
|
36058474dc
|
Add a -r flag to zzcat to repeatedly cat file lists.
|
2010-01-18 02:02:06 +00:00 |
|
Sam Hocevar
|
8ac7c35099
|
In verbose mode, tell when a process exits.
|
2010-01-18 02:02:00 +00:00 |
|
Sam Hocevar
|
f4d4744684
|
Fix zzcat's -s flag. It must propagate to the next file.
|
2010-01-15 21:14:39 +00:00 |
|
Sam Hocevar
|
76f1c8b664
|
Implement zzcat -s (squeeze empty lines).
|
2010-01-15 00:17:03 +00:00 |
|
Sam Hocevar
|
e74e0aacc8
|
Implement zzcat -b and -n. Fixes #74.
|
2010-01-14 00:27:03 +00:00 |
|
Sam Hocevar
|
bbd8f065d8
|
Add informative messages about why we exit the main loop.
|
2010-01-13 01:16:32 +00:00 |
|
Sam Hocevar
|
1cdf594c54
|
Rename -t/--max-time to -U/--max-usertime, and add -t/--max-time to
roughly mean "maximum zzuf run time". Fixes bug #45.
|
2010-01-13 01:09:30 +00:00 |
|
Sam Hocevar
|
647967d366
|
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.
|
2010-01-13 00:11:14 +00:00 |
|
Sam Hocevar
|
9301ff6a2d
|
Fix the OpenBSD port. On this platform, weird stuff happens such as
fseek() calling fseeko(). Fortunately, we already have the mechanisms
for those situations.
|
2010-01-12 23:54:43 +00:00 |
|
Sam Hocevar
|
92c8464db2
|
Minor zzcat refactoring.
|
2010-01-12 23:54:38 +00:00 |
|
Sam Hocevar
|
d02d599a1b
|
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.
|
2010-01-12 23:54:31 +00:00 |
|
Sam Hocevar
|
920ba80caa
|
Fix fork() return value check.
|
2010-01-12 23:54:25 +00:00 |
|
Sam Hocevar
|
4a860d6be8
|
Improve the default zzcat sequence to improve performance.
|
2010-01-12 23:54:15 +00:00 |
|
Sam Hocevar
|
66da2fdd51
|
Support cat's -AeEtTv flags in zzcat.
|
2010-01-12 23:54:09 +00:00 |
|
Sam Hocevar
|
a3161049df
|
Fix copyright information and remove Id tag everywhere.
|
2010-01-12 23:54:02 +00:00 |
|
Sam Hocevar
|
6c35b0a4e1
|
Fix compilation warning in lib-fd.c.
|
2010-01-12 23:53:50 +00:00 |
|
Sam Hocevar
|
2999267319
|
Minor cosmetic change in the verbose debug output.
|
2010-01-12 23:53:43 +00:00 |
|
Sam Hocevar
|
66223df9e6
|
Fix the FreeBSD port by not fuzzing the __srget() output unless it's called
directly.
|
2010-01-12 23:53:38 +00:00 |
|
Sam Hocevar
|
31ae813b8d
|
Reorganise FILE structure autoconf tests.
|
2010-01-12 23:53:30 +00:00 |
|
Sam Hocevar
|
638dc792a8
|
Improve zzcat documentation and add commandline flags, including --help
and --version.
|
2010-01-12 23:53:18 +00:00 |
|
Sam Hocevar
|
727b36b889
|
Move zzcat to the main src/ directory. It's becoming mature enough to be
distributed.
|
2010-01-12 23:53:09 +00:00 |
|
Sam Hocevar
|
0977f25944
|
Deprecate --deny <list> in favour of --allow !<list>.
|
2010-01-08 00:48:27 +00:00 |
|
Sam Hocevar
|
6e99bbbecb
|
Fix compilation warning due to kfreebsd’s fcntl.h defining FREAD.
|
2010-01-08 00:48:21 +00:00 |
|
Sam Hocevar
|
d21bc2cedc
|
File descriptors 0 to 2 may be network sockets, don’t rule them out.
|
2010-01-08 00:48:12 +00:00 |
|
Sam Hocevar
|
9e50361057
|
Fix a bug caused by our seek() not understanding eglibc's behaviour.
|
2010-01-06 02:00:41 +00:00 |
|
Sam Hocevar
|
999a018e68
|
Fix an overflow in our printf's NULL handling with %p.
|
2010-01-06 00:48:47 +00:00 |
|
Sam Hocevar
|
f6b1f32eba
|
Make seek() debug information more user-friendly.
|
2010-01-06 00:35:49 +00:00 |
|
Sam Hocevar
|
733920214c
|
Avoid useless allocations in the network allow/deny code.
|
2010-01-04 23:59:14 +00:00 |
|
Sam Hocevar
|
509f293a99
|
getline() and getdelim() must return -1 if EOF was reached and no bytes
were read.
|
2009-12-20 12:25:02 +00:00 |
|
Sam Hocevar
|
d33737d585
|
Try to call _zz_init() as soon as possible. Otherwise, preloaded libraries
might be confused about half the calls actually working.
|
2009-12-20 12:24:56 +00:00 |
|
Sam Hocevar
|
c4bcc65505
|
Buffer debug output to reduce the number of write() calls and allow to
output information that was logged before the library was initialised.
|
2009-12-20 12:24:50 +00:00 |
|
Sam Hocevar
|
2f05014c09
|
Avoid overlapping regions in our realloc's memcpy call.
|
2009-12-20 12:24:41 +00:00 |
|
Sam Hocevar
|
36d0ed7e57
|
Synchronise VS 2010 solution with [4112].
|
2009-12-16 16:15:40 +00:00 |
|
Sam Hocevar
|
4050565ba5
|
Fix a regression in the rlimit handling code caused by the myfork split.
|
2009-12-14 03:33:53 +00:00 |
|
Sam Hocevar
|
877e2e38ab
|
Add missing distributed files in Makefile.am.
|
2009-12-14 02:55:11 +00:00 |
|
Sam Hocevar
|
2b5d0105c4
|
Refactor the stream diversions.
|
2009-12-12 22:20:22 +00:00 |
|
Sam Hocevar
|
2b3359f13b
|
Refactor the shellcode generation to remove all hardcoded values.
|
2009-12-12 22:20:16 +00:00 |
|
Sam Hocevar
|
587088d48f
|
Move process creation stuff to a separate myfork.c file.
|
2009-12-12 22:20:11 +00:00 |
|
Sam Hocevar
|
0715d2e16c
|
Fix DEBUG_STREAM compilation on Win32.
|
2009-12-12 22:20:04 +00:00 |
|
Sam Hocevar
|
28d017a2ec
|
Minor Win32 compilation fix.
|
2009-12-12 22:19:57 +00:00 |
|
Sam Hocevar
|
606d50b39f
|
Reorganise source code to better separate zzuf and libzzuf. Note: the Win32
build is now broken.
|
2009-12-12 22:19:47 +00:00 |
|
Sam Hocevar
|
e0768d009b
|
Try to work around the Vista ASLR feature by retrieving the executable's
base address once it is loaded in memory.
|
2009-12-09 00:28:28 +00:00 |
|
Sam Hocevar
|
90daf7a5f0
|
Try to reorganise the Win32 loader.
|
2009-12-08 01:41:35 +00:00 |
|
Sam Hocevar
|
83047925d2
|
Declare diverted Win32 functions as __stdcall.
|
2009-12-07 21:12:22 +00:00 |
|