577 Commits

Author SHA1 Message Date
Sam Hocevar
2eab0c2b46 Disable select() on Win32. It is not supported on non-sockets. 2010-10-06 19:33:24 +00:00
Sam Hocevar
531ad70c79 Remove useless PARENT_FD/CHILD_FD hack. 2010-10-05 12:57:09 +00:00
Sam Hocevar
111bdd0735 Make it easier to dynamically allocate the debug filedescriptor later. 2010-10-05 12:57:03 +00:00
Sam Hocevar
6c5d32e89b Filedescriptor 0 is the debug channel, not stdin! Fix that. 2010-10-05 12:40:19 +00:00
Sam Hocevar
9476ba411d Proper child command line construction on Win32. There is no need
to hardcode stuff for debugging purposes any longer.
2010-10-05 12:08:03 +00:00
Sam Hocevar
46d9462488 Inherit stdin/stdout/stderr in the child process under Win32. 2010-10-05 00:16:54 +00:00
Sam Hocevar
bfcb7051fb Remove useless code for Win32 diversions. 2010-10-04 21:37:41 +00:00
Sam Hocevar
8ad42b6b1c Mark diverted Win32 functions as __stdcall, it's the correct calling
convention.
2010-09-22 23:57:01 +00:00
Sam Hocevar
2552b8cae1 Divert ReadFile() and CloseHandle(). 2010-09-22 23:38:36 +00:00
Sam Hocevar
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.
2010-09-22 22:42:04 +00:00
Sam Hocevar
775042db3a Fix compilation warnings on Win32. 2010-09-22 22:31:55 +00:00
Sam Hocevar
f377a31839 Divert CreateFileW in addition to CreateFileA. 2010-09-22 22:26:44 +00:00
Sam Hocevar
c60b52ccb3 Fix the Linux build to accomodate with the new Win32 features. 2010-09-22 22:18:07 +00:00
Sam Hocevar
6ac571b003 CreateFile() diversion proof of concept. 2010-09-22 22:06:46 +00:00
Sam Hocevar
9cb7e326fc Add a mechanism for Win32 diversions. 2010-09-22 21:21:52 +00:00
Sam Hocevar
8609a8a230 Fix a bug caused by undefined function call precedence. 2010-09-22 20:34:37 +00:00
Sam Hocevar
44d11b68e7 Fix zzat compilation on Win32 and create a .vcxproj file for it. 2010-09-22 19:47:56 +00:00
Sam Hocevar
6214fcb74c Minor Win32 code simplification in sys.c. 2010-09-22 19:47:00 +00:00
Sam Hocevar
3b69b6baae Divert AttachConsole() and AllocConsole() for debugging purposes. 2010-09-20 23:48:51 +00:00
Sam Hocevar
3dc685c15f Full support for ASLR in the Win32 loader. 2010-09-20 23:32:40 +00:00
Sam Hocevar
df1395cdf0 Refactor the DLL initialisation code to allow several diversions. 2010-09-20 21:53:57 +00:00
Sam Hocevar
55f403c4af Improve the DLL injection code. Now seems to work rather
well under Windows. But it needs a lot of polishing.
2010-09-20 01:16:36 +00:00
Sam Hocevar
d03919c8bf Do not build ASLR binaries on Windows for now. 2010-09-20 01:14:17 +00:00
Sam Hocevar
21c74dbd95 Fix Win32 build. 2010-09-19 21:13:33 +00:00
Sam Hocevar
1a4cc6a224 Add a few comments in the code for new Win32 strategies. 2010-09-17 23:09:03 +00:00
Sam Hocevar
ed209b9b90 Make check-zzuf-r-ratio slightly more tolerant. 2010-04-19 20:52:05 +00:00
Sam Hocevar
c8601a2926 New operating mode "copy". It uses temporary files instead of preloading
libzzuf into the process.
2010-04-19 20:51:58 +00:00
Sam Hocevar
12b111545b Grammar. 2010-04-01 22:00:48 +00:00
Sam Hocevar
d61e61796b Add a regression test for our Gentoo __fread_chk() bug. 2010-02-27 19:38:54 +00:00
Sam Hocevar
abae6a4d0b Fix old typos in check-utils. 2010-02-27 19:38:49 +00:00
Sam Hocevar
6e34e54dda Add fortify versions of libc calls to zzat. 2010-02-27 19:27:41 +00:00
Sam Hocevar
6f18cda6cd Fortify functions actually have extra arguments. Fix that. 2010-02-27 18:42:01 +00:00
Sam Hocevar
6258de5efa Update TODO list. 2010-02-27 18:17:25 +00:00
Sam Hocevar
6050095bee Revert any potential overriding macro before declaring a new function. 2010-02-27 18:17:21 +00:00
Sam Hocevar
38c86c28ea Add support for fortified glibc functions (__fgets_chk, __read_chk, etc.). 2010-02-27 18:17:14 +00:00
Sam Hocevar
4c6ce1350e Rename zzcat to zzat to avoid conflicts with zziplib. 2010-02-15 21:25:30 +00:00
Sam Hocevar
bfb4a9dd1a Clean up ChangeLog generation. 2010-02-09 02:16:20 +00:00
Sam Hocevar
f3a6225995 Split check-build into check-source and check-win32. 2010-02-09 02:15:06 +00:00
Sam Hocevar
8b515b6a58 Add an OS X build script that generates fat binaries. 2010-02-07 14:21:35 +00:00
Sam Hocevar
1e0f3b8e15 Add missing svn:ignore properties. 2010-02-06 01:39:00 +00:00
Sam Hocevar
f400833cb2 On OS X, resident_size is actually in bytes, not pages. Fixing
memory check routine.
2010-02-06 01:37:52 +00:00
Sam Hocevar
bc79e209f0 Preparing zzuf-0.13 release. 2010-01-31 12:25:16 +00:00
Sam Hocevar
70b8eacf6f Minor testsuite behaviour updates. 2010-01-31 12:18:01 +00:00
Sam Hocevar
586b5df8a0 Simplify ChangeLog output. 2010-01-31 12:05:43 +00:00
Sam Hocevar
5a967b990b Properly document the -a flag. 2010-01-31 12:04:56 +00:00
Sam Hocevar
05ea84ecf4 Fix a regression in myfork.c causing build failures when libtool does not
define LT_OBJDIR.
2010-01-21 09:31:47 +00:00
Sam Hocevar
99d37ae471 Use LD_PRELOAD_32 on OpenSolaris i386. 2010-01-21 01:17:27 +00:00
Sam Hocevar
96d16fc2fe Add a debug mode to zzcat. 2010-01-21 01:17:21 +00:00
Sam Hocevar
b9cc488ad5 Fix a buffer overflow in zzcat. 2010-01-21 01:17:15 +00:00
Sam Hocevar
00b4da4774 Fix testsuite behaviour on OpenSolaris /bin/sh. 2010-01-21 01:17:09 +00:00