54 Commits

Author SHA1 Message Date
Sam Hocevar
1b20e81b94 zzuf: set program version to 0.14 and prepare release. 2015-05-30 18:48:35 +02:00
Sam Hocevar
baf828863b win32: using <stdint.h> instead of defining our own types.
This used to be necessary back in 2008 but nowadays Visual Studio provides
enough C99 support for us.
2015-05-30 17:38:02 +02:00
Sam Hocevar
eb8c73c57d zzuf: add a -X flag for hexadecimal dumps. 2015-01-19 02:29:18 +01:00
Sam Hocevar
2a51af27be win32: some compilation fixes introduced by refactoring for Linux. 2015-01-06 18:09:43 +01:00
Sam Hocevar
c0ca87d5b2 misc: move a lot of generic stuff to a new util/ source subdirectory. 2015-01-06 00:43:34 +01:00
Sam Hocevar
e8abdc2bd0 win32: some mingw32/mingw64 warning and compilation fixes. 2015-01-05 23:20:51 +01:00
Sam Hocevar
da98aa3dbc misc: various compilation warning fixes and copyright updates. 2015-01-05 19:13:02 +01:00
Sam Hocevar
53084c70a0 misc: now that Visual Studio supports it some 15 years later, switch to C99. 2015-01-05 16:07:00 +01:00
Sam Hocevar
33cbf9c2eb win32: Windows-specific compilation fixes. 2015-01-05 12:17:17 +01:00
Sam Hocevar
39f48f37d6 win32: update to newer mingw compiler version. 2014-11-05 00:23:27 +00:00
Sam Hocevar
aba365f2a5 build: remove the libcaca dependency and embed code instead. 2014-11-05 00:23:22 +00:00
Sam Hocevar
ae3f5c5a31 win32: add some console handling function diversions. 2012-08-23 14:10:27 +00:00
Kévin Szkudłapski
b77afc7583 add relocate_hook to improve api hooking, fix dll name string comparison (no case sensitive), fix used after free on win32, add more hooks related to async file access 2012-08-20 12:27:26 +00:00
Sam Hocevar
60a9b3a67a build: fix compilation by including <wchar.h> and checking for regwexec. 2012-08-05 12:24:53 +00:00
Kévin Szkudłapski
6b45a58b96 add new hook for windows (CreateFileMapping(A|W), MapViewOfFile, ReadFileEx), re-enable option -U, start to port network on windows 2012-08-03 17:26:43 +00:00
Kévin Szkudłapski
22b40f04a0 port zzuf to win64 (amd64) 2012-08-02 14:50:21 +00:00
Kévin Szkudłapski
a50075a0f3 add regex feature for win32 2012-08-01 12:17:25 +00:00
Sam Hocevar
f6f9cad61f win32: add debug information to the function diversion code. 2012-06-11 17:05:19 +00:00
Sam Hocevar
177d421111 Fix a weird problem with lib6 versioned symbols. 2012-04-16 23:02:42 +00:00
Sam Hocevar
4724f045cf Win64 support in the VS solution. 2011-02-01 15:59:23 +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
8c527cd15a Fix Win32 intermediate build directories. 2010-10-06 22:33:15 +00:00
Sam Hocevar
9d20383fa3 Fix missing ZZUF_DEBUGFD passing and debug function availability. 2010-10-06 21:33:19 +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
6ac571b003 CreateFile() diversion proof of concept. 2010-09-22 22:06:46 +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
3dc685c15f Full support for ASLR in the Win32 loader. 2010-09-20 23:32:40 +00:00
Sam Hocevar
d03919c8bf Do not build ASLR binaries on Windows for now. 2010-09-20 01:14:17 +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
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
7c57c81b92 Add CONNECT_USES_STRUCT_SOCKADDR to msvc/config.h. 2010-01-13 01:09:19 +00:00
Sam Hocevar
7e045d886e Fix check-build on platforms without sh's pushd/popd or grep's \<\>. 2010-01-12 23:54:49 +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
31ae813b8d Reorganise FILE structure autoconf tests. 2010-01-12 23:53:30 +00:00
Sam Hocevar
36d0ed7e57 Synchronise VS 2010 solution with [4112]. 2009-12-16 16:15:40 +00:00
Sam Hocevar
abd4c9df92 Synchronise Win32 port with recent config.h changes. 2009-12-07 12:36:15 +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
76c49fd7cf Synchronise msvc/config.h. 2009-11-25 00:42:25 +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
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
cbd74358b4 Add mingw32 defines to msvc/config.h. Needs to be tuned furthermore. 2009-11-20 22:47:38 +00:00
Sam Hocevar
48d91662df Various compilation and unit test fixes. 2009-11-20 17:38:00 +00:00
Sam Hocevar
0f775dadc8 Add zznop, a small test program to help debug the Win32 port.
Also add check-build from libcaca to test that msvc/config.h is
up to date.
2009-11-20 12:06:17 +00:00
Sam Hocevar
020c1f88f0 Add a VS 2010 solution file and make the code build again for Win32. 2009-11-18 13:23:58 +00:00
Sam Hocevar
d45a5121ef * Better check for the __func__ keyword that does not rely on assumptions
about the compiler version.
2008-07-18 09:28:02 +00:00
Sam Hocevar
a5dcebc637 * zzuf.c: retrieve library object name from libtool's .la file so we don't
need to hardcode .so, .sl, .dylib etc. for various platforms.
2008-07-16 09:52:08 +00:00