Commit Graph
408 Commits
Author SHA1 Message Date
Sam Hocevar df2dfb9ffa linux: fix a few compilation warnings. 2012-04-16 23:09:37 +00:00
Sam Hocevar 177d421111 Fix a weird problem with lib6 versioned symbols. 2012-04-16 23:02:42 +00:00
Sam Hocevar 2384fa2601 osx: do not enforce flat namespace in copy mode on OS X. 2012-04-16 23:02:35 +00:00
Sam Hocevar b86cd9d9ce Fix wrong pointer types in the network range structures. 2010-10-07 22:53:05 +00:00
Sam Hocevar 710b26fd21 Fix line endings. 2010-10-07 22:53:00 +00:00
Sam Hocevar ca2d1ada85 Get rid of the getopt reimplementation and depend on libcaca instead. 2010-10-07 22:52:54 +00:00
Sam Hocevar 4c504ac53e Implement ReOpenFile and fix a few Win32 compilation warnings. 2010-10-06 22:44:47 +00:00
Sam Hocevar 9d20383fa3 Fix missing ZZUF_DEBUGFD passing and debug function availability. 2010-10-06 21:33:19 +00:00
Sam Hocevar 4c3383d7c4 Fix a bug in the %i formatting and implement %S. 2010-10-06 21:31:40 +00:00
Sam Hocevar b69bd84604 Get the debug channel to work on Win32. 2010-10-06 21:10:15 +00:00
Sam Hocevar 6b942564a2 Treat %x arguments as unsigned in the printf reimplementation. 2010-10-06 21:08:28 +00:00
Sam Hocevar 22935dc54c Fix the printf reimplementation to properly handle INT_MIN. 2010-10-06 21:04:50 +00:00
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 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 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 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 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 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 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 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 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