479 Commits

Author SHA1 Message Date
Sam Hocevar
0d86e64a19 Generate manual pages, so we can put the version number in them. 2010-01-06 22:46:49 +00:00
Sam Hocevar
45764eb21f Add a special section in the testsuite for regressions. 2010-01-06 02:00:49 +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
b93cc3838d Make the check-utils output slightly clearer. 2009-12-14 16:10:15 +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
cbe0249118 Rewrite zzcat to make it a lot more configurable. 2009-12-14 02:55:31 +00:00
Sam Hocevar
cae540ebf6 Add a workaround in the test suite for a cowdancer limitation causing .ilist
corruption and use ulimit instead of limit.
2009-12-14 02:55:25 +00:00
Sam Hocevar
4c195f17a1 Limit coredumpsize to 0 in test scripts to avoid dumping cores at build time. 2009-12-14 02:55:20 +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
Sam Hocevar
21d6697bf0 Give the fuzzed Win32 program a chance to display something even
if the diverted function itself causes a crash.
2009-12-07 18:35:45 +00:00
Sam Hocevar
01765e2aef Fix memory leaks and infinite loops in the Win32 launcher. 2009-12-07 18:34:21 +00:00
Sam Hocevar
abd4c9df92 Synchronise Win32 port with recent config.h changes. 2009-12-07 12:36:15 +00:00
Sam Hocevar
f8c30fa9c0 Cleaner solution for echoing the SOURCES variable. 2009-11-26 01:19:08 +00:00
Sam Hocevar
b9f9327716 Reset offset position before most stdio call. 2009-11-26 01:14:05 +00:00
Sam Hocevar
c9150f4458 Use fseeko64() everywhere when possible, instead of potential 32-bit versions. 2009-11-26 01:13:58 +00:00
Sam Hocevar
7026052971 Minor refactoring in lib-stream.c. 2009-11-25 00:42:32 +00:00
Sam Hocevar
76c49fd7cf Synchronise msvc/config.h. 2009-11-25 00:42:25 +00:00
Sam Hocevar
9e89a7fde7 More zzcat stuff. 2009-11-25 00:42:17 +00:00
Sam Hocevar
f1b8f58cd2 We need to know the FILE buffer's current fill status. Implemented for
glibc for now.
2009-11-24 01:25:44 +00:00
Sam Hocevar
008cbf6065 More zzcat additions. 2009-11-24 01:25:37 +00:00
Sam Hocevar
efdb4997e2 Fix a compilation warning in the network code. 2009-11-23 11:16:03 +00:00
Sam Hocevar
128bcc1770 More fread() behaviour improvements, with documentation. 2009-11-23 01:35:23 +00:00
Sam Hocevar
13585b793e Document the __srefill strategy in the source code. 2009-11-23 00:27:11 +00:00
Sam Hocevar
9ec47e4193 Reimplement __uflow() under Linux. Unlocked IO now works on Linux, except
in combination with getdelim()/getline().
2009-11-23 00:27:05 +00:00
Sam Hocevar
f36a3e475c Minor refactoring in zzcat. 2009-11-23 00:26:59 +00:00
Sam Hocevar
906ef22f84 Add a second level of debugging for slightly less useful information. 2009-11-23 00:26:53 +00:00
Sam Hocevar
6b8b80e24d Improve the zzcat test suite with more unlocked IO functions. 2009-11-22 18:54:49 +00:00
Sam Hocevar
9b0c5acea1 Add a check to __uflow(). This will hopefully help us fix the problem with
recent sed versions.
2009-11-22 18:54:43 +00:00
Sam Hocevar
7ac20e160c Refactor dummy memory manager and fix a bug in realloc(). 2009-11-22 18:54:37 +00:00
Sam Hocevar
2e6ce6d101 Refactor zzcat for clarity. 2009-11-22 18:54:31 +00:00
Sam Hocevar
f324673387 Check for typical source code issues in the testsuite. 2009-11-22 18:54:25 +00:00
Sam Hocevar
e6604121cb Add a getc_unlocked method to zzcat. 2009-11-22 18:54:17 +00:00
Sam Hocevar
cbd74358b4 Add mingw32 defines to msvc/config.h. Needs to be tuned furthermore. 2009-11-20 22:47:38 +00:00