9d20383fa3
Fix missing ZZUF_DEBUGFD passing and debug function availability.
Sam Hocevar
2010-10-06 21:33:19 +00:00
4c3383d7c4
Fix a bug in the %i formatting and implement %S.
Sam Hocevar
2010-10-06 21:31:40 +00:00
b69bd84604
Get the debug channel to work on Win32.
Sam Hocevar
2010-10-06 21:10:15 +00:00
6b942564a2
Treat %x arguments as unsigned in the printf reimplementation.
Sam Hocevar
2010-10-06 21:08:28 +00:00
22935dc54c
Fix the printf reimplementation to properly handle INT_MIN.
Sam Hocevar
2010-10-06 21:04:50 +00:00
2eab0c2b46
Disable select() on Win32. It is not supported on non-sockets.
Sam Hocevar
2010-10-06 19:33:24 +00:00
531ad70c79
Remove useless PARENT_FD/CHILD_FD hack.
Sam Hocevar
2010-10-05 12:57:09 +00:00
111bdd0735
Make it easier to dynamically allocate the debug filedescriptor later.
Sam Hocevar
2010-10-05 12:57:03 +00:00
6c5d32e89b
Filedescriptor 0 is the debug channel, not stdin! Fix that.
Sam Hocevar
2010-10-05 12:40:19 +00:00
9476ba411d
Proper child command line construction on Win32. There is no need to hardcode stuff for debugging purposes any longer.
Sam Hocevar
2010-10-05 12:08:03 +00:00
46d9462488
Inherit stdin/stdout/stderr in the child process under Win32.
Sam Hocevar
2010-10-05 00:16:54 +00:00
bfcb7051fb
Remove useless code for Win32 diversions.
Sam Hocevar
2010-10-04 21:37:41 +00:00
8ad42b6b1c
Mark diverted Win32 functions as __stdcall, it's the correct calling convention.
Sam Hocevar
2010-09-22 23:57:01 +00:00
2552b8cae1
Divert ReadFile() and CloseHandle().
Sam Hocevar
2010-09-22 23:38:36 +00:00
58bac4bfc4
Drop Visual Studio 2008 support and require the 2010 version. The 2010 express version is free to use and it's a lot better.
Sam Hocevar
2010-09-22 22:42:04 +00:00
775042db3a
Fix compilation warnings on Win32.
Sam Hocevar
2010-09-22 22:31:55 +00:00
f377a31839
Divert CreateFileW in addition to CreateFileA.
Sam Hocevar
2010-09-22 22:26:44 +00:00
c60b52ccb3
Fix the Linux build to accomodate with the new Win32 features.
Sam Hocevar
2010-09-22 22:18:07 +00:00
6ac571b003
CreateFile() diversion proof of concept.
Sam Hocevar
2010-09-22 22:06:46 +00:00
9cb7e326fc
Add a mechanism for Win32 diversions.
Sam Hocevar
2010-09-22 21:21:52 +00:00
8609a8a230
Fix a bug caused by undefined function call precedence.
Sam Hocevar
2010-09-22 20:34:37 +00:00
44d11b68e7
Fix zzat compilation on Win32 and create a .vcxproj file for it.
Sam Hocevar
2010-09-22 19:47:56 +00:00
6214fcb74c
Minor Win32 code simplification in sys.c.
Sam Hocevar
2010-09-22 19:47:00 +00:00
3b69b6baae
Divert AttachConsole() and AllocConsole() for debugging purposes.
Sam Hocevar
2010-09-20 23:48:51 +00:00
3dc685c15f
Full support for ASLR in the Win32 loader.
Sam Hocevar
2010-09-20 23:32:40 +00:00
df1395cdf0
Refactor the DLL initialisation code to allow several diversions.
Sam Hocevar
2010-09-20 21:53:57 +00:00
55f403c4af
Improve the DLL injection code. Now seems to work rather well under Windows. But it needs a lot of polishing.
Sam Hocevar
2010-09-20 01:16:36 +00:00
d03919c8bf
Do not build ASLR binaries on Windows for now.
Sam Hocevar
2010-09-20 01:14:17 +00:00
21c74dbd95
Fix Win32 build.
Sam Hocevar
2010-09-19 21:13:33 +00:00
1a4cc6a224
Add a few comments in the code for new Win32 strategies.
Sam Hocevar
2010-09-17 23:09:03 +00:00
ed209b9b90
Make check-zzuf-r-ratio slightly more tolerant.
Sam Hocevar
2010-04-19 20:52:05 +00:00
c8601a2926
New operating mode "copy". It uses temporary files instead of preloading libzzuf into the process.
Sam Hocevar
2010-04-19 20:51:58 +00:00
12b111545b
Grammar.
Sam Hocevar
2010-04-01 22:00:48 +00:00
d61e61796b
Add a regression test for our Gentoo __fread_chk() bug.
Sam Hocevar
2010-02-27 19:38:54 +00:00
abae6a4d0b
Fix old typos in check-utils.
Sam Hocevar
2010-02-27 19:38:49 +00:00
6e34e54dda
Add fortify versions of libc calls to zzat.
Sam Hocevar
2010-02-27 19:27:41 +00:00
6f18cda6cd
Fortify functions actually have extra arguments. Fix that.
Sam Hocevar
2010-02-27 18:42:01 +00:00
6258de5efa
Update TODO list.
Sam Hocevar
2010-02-27 18:17:25 +00:00
6050095bee
Revert any potential overriding macro before declaring a new function.
Sam Hocevar
2010-02-27 18:17:21 +00:00
38c86c28ea
Add support for fortified glibc functions (__fgets_chk, __read_chk, etc.).
Sam Hocevar
2010-02-27 18:17:14 +00:00
4c6ce1350e
Rename zzcat to zzat to avoid conflicts with zziplib.
Sam Hocevar
2010-02-15 21:25:30 +00:00
bfb4a9dd1a
Clean up ChangeLog generation.
Sam Hocevar
2010-02-09 02:16:20 +00:00
f3a6225995
Split check-build into check-source and check-win32.
Sam Hocevar
2010-02-09 02:15:06 +00:00
8b515b6a58
Add an OS X build script that generates fat binaries.
Sam Hocevar
2010-02-07 14:21:35 +00:00
1e0f3b8e15
Add missing svn:ignore properties.
Sam Hocevar
2010-02-06 01:39:00 +00:00
f400833cb2
On OS X, resident_size is actually in bytes, not pages. Fixing memory check routine.
Sam Hocevar
2010-02-06 01:37:52 +00:00
bc79e209f0
Preparing zzuf-0.13 release.
Sam Hocevar
2010-01-31 12:25:16 +00:00
70b8eacf6f
Minor testsuite behaviour updates.
Sam Hocevar
2010-01-31 12:18:01 +00:00
586b5df8a0
Simplify ChangeLog output.
Sam Hocevar
2010-01-31 12:05:43 +00:00
5a967b990b
Properly document the -a flag.
Sam Hocevar
2010-01-31 12:04:56 +00:00
05ea84ecf4
Fix a regression in myfork.c causing build failures when libtool does not define LT_OBJDIR.
Sam Hocevar
2010-01-21 09:31:47 +00:00
99d37ae471
Use LD_PRELOAD_32 on OpenSolaris i386.
Sam Hocevar
2010-01-21 01:17:27 +00:00
96d16fc2fe
Add a debug mode to zzcat.
Sam Hocevar
2010-01-21 01:17:21 +00:00
b9cc488ad5
Fix a buffer overflow in zzcat.
Sam Hocevar
2010-01-21 01:17:15 +00:00
00b4da4774
Fix testsuite behaviour on OpenSolaris /bin/sh.
Sam Hocevar
2010-01-21 01:17:09 +00:00
bc58be1c91
Fix compilation warnings and errors on OpenSolaris caused by a few of our source feature macros.
Sam Hocevar
2010-01-21 01:17:01 +00:00
55339f7d8a
Improve the OpenSolaris port: support for FILE structures, and a few additional defines to activate libc features.
Sam Hocevar
2010-01-20 07:59:01 +00:00
3d3b3008e7
Don't try to use waitpid() information on Win32.
Sam Hocevar
2010-01-19 13:01:45 +00:00
db0788c5f7
Drop atoll() usage. It's not portable.
Sam Hocevar
2010-01-19 12:44:29 +00:00
f081c1882f
Fix memory limitation method on OS X (page size was ignored) and other systems (was using MBs instead of MiBs).
Sam Hocevar
2010-01-19 12:44:23 +00:00
f728c13edf
Fix a bug in the -s test script that failed to detect failures.
Sam Hocevar
2010-01-19 12:44:15 +00:00
e4b6cd9bcd
Prepare for zzuf 0.13. Soon.
Sam Hocevar
2010-01-18 02:19:07 +00:00
254eeacc6d
Add a check-zzuf-s-seed that tests whether all bits in a sequence have a chance of being toggled.
Sam Hocevar
2010-01-18 02:02:12 +00:00
36058474dc
Add a -r flag to zzcat to repeatedly cat file lists.
Sam Hocevar
2010-01-18 02:02:06 +00:00
8ac7c35099
In verbose mode, tell when a process exits.
Sam Hocevar
2010-01-18 02:02:00 +00:00
f4d4744684
Fix zzcat's -s flag. It must propagate to the next file.
Sam Hocevar
2010-01-15 21:14:39 +00:00
ac372df746
Rename check-flag-# tests to check-zzuf-#-#### with the option's long name, to avoid problems with case-insensitive filesystems.
Sam Hocevar
2010-01-15 17:03:39 +00:00
e74e0aacc8
Implement zzcat -b and -n. Fixes#74.
Sam Hocevar
2010-01-14 00:27:03 +00:00
cfbc0415be
Avoid leading zeroes in the unit tests' initial random seed.
Sam Hocevar
2010-01-14 00:26:52 +00:00
eaf40002d5
Rename check-memory to check-flag-M and check-rng to check-flag-r.
Sam Hocevar
2010-01-14 00:26:46 +00:00
311692ae3c
Add a check-flag-f test.
Sam Hocevar
2010-01-14 00:26:35 +00:00
0a82c5a740
Add a check-flag-A test and rename check-md5 to check-flag-m.
Sam Hocevar
2010-01-14 00:26:21 +00:00
bbd8f065d8
Add informative messages about why we exit the main loop.
Sam Hocevar
2010-01-13 01:16:32 +00:00
1cdf594c54
Rename -t/--max-time to -U/--max-usertime, and add -t/--max-time to roughly mean "maximum zzuf run time". Fixes bug #45.
Sam Hocevar
2010-01-13 01:09:30 +00:00
7c57c81b92
Add CONNECT_USES_STRUCT_SOCKADDR to msvc/config.h.
Sam Hocevar
2010-01-13 01:09:19 +00:00
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.
Sam Hocevar
2010-01-13 00:11:14 +00:00
7e045d886e
Fix check-build on platforms without sh's pushd/popd or grep's \<\>.
Sam Hocevar
2010-01-12 23:54:49 +00:00
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.
Sam Hocevar
2010-01-12 23:54:43 +00:00
92c8464db2
Minor zzcat refactoring.
Sam Hocevar
2010-01-12 23:54:38 +00:00
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.
Sam Hocevar
2010-01-12 23:54:31 +00:00
920ba80caa
Fix fork() return value check.
Sam Hocevar
2010-01-12 23:54:25 +00:00
e88488fcf0
Properly compute SONAME using libtool variables.
Sam Hocevar
2010-01-12 23:54:20 +00:00
4a860d6be8
Improve the default zzcat sequence to improve performance.
Sam Hocevar
2010-01-12 23:54:15 +00:00
66da2fdd51
Support cat's -AeEtTv flags in zzcat.
Sam Hocevar
2010-01-12 23:54:09 +00:00
a3161049df
Fix copyright information and remove Id tag everywhere.
Sam Hocevar
2010-01-12 23:54:02 +00:00
550abdd84b
Reduce the number of hardcoded figures in check-utils.
Sam Hocevar
2010-01-12 23:53:56 +00:00
6c35b0a4e1
Fix compilation warning in lib-fd.c.
Sam Hocevar
2010-01-12 23:53:50 +00:00
2999267319
Minor cosmetic change in the verbose debug output.
Sam Hocevar
2010-01-12 23:53:43 +00:00
66223df9e6
Fix the FreeBSD port by not fuzzing the __srget() output unless it's called directly.
Sam Hocevar
2010-01-12 23:53:38 +00:00