14138cd218Merge pull request #13 from archey/master
Sam Hocevar
2016-05-04 15:29:00 +02:00
91ca149479added _DEFAULT_SOURCE to fix compilation warnings on gcc 5
arch3y
2016-05-03 21:47:34 -04:00
012da78b04Prepare 0.15 release.
Sam Hocevar
2016-05-03 08:19:12 +02:00
418fae2ab6Do not use rand() within fseek(), it might break reproducibility.
Sam Hocevar
2016-05-03 08:05:14 +02:00
e413984095Work around an issue with fseek() diversion. Closes#7.
Sam Hocevar
2016-05-02 19:45:24 +02:00
a4625ca02bMore verbose debug messages.
Sam Hocevar
2016-05-02 00:15:08 +02:00
dd94449e75Merge pull request #12 from edmcman/feature/retain_file_extension_in_copy_mode
Sam Hocevar
2016-02-07 14:00:25 +01:00
17f2ef46b2Also include alloca.h
Edward J. Schwartz
2016-02-05 11:16:01 -05:00
f25eafa586Retain file extension in copy mode.
Will Dormann
2016-02-02 13:28:09 -05:00
cc872b8062Merge pull request #11 from CERTCC-Vulnerability-Analysis/feature/add_opmode_null_to_run_without_fuzzing
Sam Hocevar
2016-02-03 20:36:17 +01:00
f3280455eaAdd new "null" opmode which doesn't mutate the file.
Will Dormann
2016-02-02 13:55:48 -05:00
d16576b2baExport VERBOSE=1 in Travis so that the test suite outputs debug information.
Sam Hocevar
2015-11-07 13:22:52 +01:00
b426e7104dAdd #pragma once directives in all our headers, for safety.
Sam Hocevar
2015-11-07 13:13:12 +01:00
1658b4f59bTell Travis to try to build on OS X, too.
Sam Hocevar
2015-11-07 13:08:02 +01:00
37e6d87770Add Travis build status to README.
Sam Hocevar
2015-11-07 12:58:07 +01:00
4a86ff8c36Move Travis builds to the container-based infrastructure.
Sam Hocevar
2015-11-07 12:51:14 +01:00
efb7046411Tell Travis to bootstrap before running configure.
Sam Hocevar
2015-11-07 12:39:32 +01:00
5f0e0253aaAdd a .travis.yml configuration file for CI.
Sam Hocevar
2015-11-07 12:37:13 +01:00
c49f4f17bfDisable the mmap regression test on OS X.
Sam Hocevar
2015-08-16 23:02:31 +02:00
cec3584c95Hopefully fix OS X compilation now. Fixes#5.
Sam Hocevar
2015-08-05 09:13:08 +02:00
613fb6e64eDisable unnecessary weak symbol declaration.
Sam Hocevar
2015-08-02 19:39:10 +02:00
ad61125c41Merge pull request #4 from x9prototype/master
Sam Hocevar
2015-07-22 08:27:02 +02:00
a8ea1fb693Merge pull request #1 from x9prototype/x9prototype-patch-1
Jeff
2015-07-21 15:41:21 -07:00
9eb78c602cUpdate libzzuf/lib-stream.c
Jeff
2015-07-21 15:39:30 -07:00
1b20e81b94zzuf: set program version to 0.14 and prepare release.
Sam Hocevar
2015-05-30 17:41:09 +02:00
baf828863bwin32: using <stdint.h> instead of defining our own types.
Sam Hocevar
2015-05-30 17:38:02 +02:00
1c7ffee4a2misc: fix a few minor issues found by static code analysis.
Sam Hocevar
2015-05-30 16:42:25 +02:00
73ec5ee6e4sys: unsatisfying workaround for an issue with libasan.
Sam Hocevar
2015-01-29 09:34:18 +01:00
923fffb27fwin32: clean up some Windows code.
Sam Hocevar
2015-01-29 03:03:00 +01:00
bad2925778libzzuf: protect library initialisation with a mutex.
Sam Hocevar
2015-01-29 02:21:08 +01:00
cc2cb7e305build: remove spurious binary file.
Sam Hocevar
2015-01-29 03:11:54 +01:00
ad11cdd72alibzzuf: fix compiler warnings by adding declarations for functions that are unlikely to be exposed by system headers.
Sam Hocevar
2015-01-26 01:29:51 +01:00
56b013a605Allow debug_str to be provided a negative length count for convenience.
Sam Hocevar
2015-01-24 16:01:29 +01:00
c88842f9a4zzuf: fix a minor inconsistency between short and long options when compiled on a system with a useless rlimit().
Sam Hocevar
2015-01-21 08:11:35 +01:00
13f63b0419doc: group command line options by category in the man page.
Sam Hocevar
2015-01-21 08:10:37 +01:00
6ccb82a9ffstream: fix a nasty bug that completely messed up with the streambuf structure tracking. Now when the new streambuf position is exactly at the end of the previous streambuf, we only fuzz the streambuf if new data is available (i.e. when streambuf_count != 0); otherwise, it just means that we’re at the end of the file, waiting for new read orders.
Sam Hocevar
2015-01-20 01:32:51 +01:00
1d0fd3c370debug: minor tweak to the debug string formatter.
Sam Hocevar
2015-01-20 00:08:59 +01:00
a5bb4b567edebug: refactor a lot of buffer debug functions using a shared formatter.
Sam Hocevar
2015-01-19 23:54:58 +01:00
60e1d2f001test: use the -d flag in unit tests so that we can find potential errors in the debug() function calls.
Sam Hocevar
2015-01-19 23:10:14 +01:00
d8d799cd81misc: rename a lot of _zz_-prefixed variables.
Sam Hocevar
2015-01-19 14:12:58 +01:00
2c9718bd04test: add a regression test for a bug in our mmap function.
Sam Hocevar
2015-01-16 01:12:46 +01:00
eb8c73c57dzzuf: add a -X flag for hexadecimal dumps.
Sam Hocevar
2015-01-19 00:26:05 +01:00
2738d9bd9ddebug: try to output as much debug output as possible and make debug() thread safe on Unix platforms.
Sam Hocevar
2015-01-18 21:49:01 +01:00
145e6afdd7stream: rename a few functions for clarity.
Sam Hocevar
2015-01-18 20:59:36 +01:00
f69ee9d126stream: fuzz the whole stream buffer upon opening.
Sam Hocevar
2015-01-18 20:55:41 +01:00
90efa83537stream: refactor some streambuf getter functions.
Sam Hocevar
2015-01-18 20:53:02 +01:00
f9f1d70889test: add a new regression test for a bug at stream EOF.
Sam Hocevar
2015-01-18 14:39:34 +01:00
53ece09b65stream: rename “s” to “stream” for consistency.
Sam Hocevar
2015-01-18 12:41:17 +01:00
8aa27ed6c6mem: fix a buffer overflow bug in the mmap() replacement.
Sam Hocevar
2015-01-16 03:46:21 +01:00
21cb084712misc: factor several common tests into one must_fuzz_fd() function.
Sam Hocevar
2015-01-16 03:14:03 +01:00
4f7a76385atest: add a regression test for a bug in our mmap function.
Sam Hocevar
2015-01-16 01:12:46 +01:00
da669bb2b9misc: C99 refactoring; put variable declarations closer to their first use
Sam Hocevar
2015-01-15 21:29:20 +01:00
6af0fb2c4bmisc: typo of the ass.
Sam Hocevar
2015-01-07 12:08:30 +01:00
2a51af27bewin32: some compilation fixes introduced by refactoring for Linux.
Sam Hocevar
2015-01-06 18:09:40 +01:00
1dcd34eef3doc: update copyright and URLs.
Sam Hocevar
2015-01-06 02:04:05 +01:00
3feba75a3czzuf: replace a critical section with a simple spinlock.
Sam Hocevar
2015-01-06 00:44:05 +01:00
c0ca87d5b2misc: move a lot of generic stuff to a new util/ source subdirectory.
Sam Hocevar
2015-01-06 00:36:24 +01:00
e8abdc2bd0win32: some mingw32/mingw64 warning and compilation fixes.
Sam Hocevar
2015-01-05 22:49:06 +01:00
7ade84442dbuild: remove ChangeLog, as it’s convenient enough to have it in Git.
Sam Hocevar
2015-01-05 22:11:15 +01:00
da98aa3dbcmisc: various compilation warning fixes and copyright updates.
Sam Hocevar
2015-01-05 18:57:40 +01:00
585ec6d1celibzzuf: fix fseeko64 parameter type.
Sam Hocevar
2015-01-05 18:57:07 +01:00
8b468ad504fork: document more code and fix a bug reported by Will Newton.
Sam Hocevar
2015-01-05 18:52:49 +01:00
08d023b37ctest: several fixes in the testsuite.
Sam Hocevar
2015-01-05 18:11:43 +01:00
53084c70a0misc: now that Visual Studio supports it some 15 years later, switch to C99.
Sam Hocevar
2015-01-05 16:02:51 +01:00
1c2ccb1dc5misc: minor fixes for compilation warnings.
Sam Hocevar
2015-01-05 11:49:38 +01:00
33cbf9c2ebwin32: Windows-specific compilation fixes.
Sam Hocevar
2015-01-05 11:58:37 +01:00
15ad356faawin32: add spinlock implementation for Windows.
Sam Hocevar
2015-01-05 11:29:10 +01:00
39f48f37d6win32: update to newer mingw compiler version.
Sam Hocevar
2014-11-05 00:23:27 +00:00
aba365f2a5build: remove the libcaca dependency and embed code instead.
Sam Hocevar
2014-11-05 00:23:22 +00:00
eb2f7b3fe8build: refresh build system.
Sam Hocevar
2014-11-05 00:23:17 +00:00
d979cd4fcdbuild: fix a few compilation warnings.
Sam Hocevar
2014-11-05 00:23:12 +00:00
fd7e90d858core: add a lightweight spinlock to protect the list of file descriptors.
Sam Hocevar
2014-10-31 10:48:46 +00:00
01297f5a6esys: fix coding style.
Sam Hocevar
2014-10-31 10:48:33 +00:00
125f4ebc87fix crash on windows 32-bit and compute_patch_size
Kévin Szkudłapski
2012-09-17 16:34:54 +00:00
ae3f5c5a31win32: add some console handling function diversions.
Sam Hocevar
2012-08-23 14:10:27 +00:00
96c7e71350win32: add more explicit error messages and add support for 0xb8 opcode.
Sam Hocevar
2012-08-23 11:21:31 +00:00
b77afc7583add 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
Kévin Szkudłapski
2012-08-20 12:27:26 +00:00
60a9b3a67abuild: fix compilation by including <wchar.h> and checking for regwexec.
Sam Hocevar
2012-08-05 12:24:53 +00:00
1684e8936ecosmetic: get rid of CRLF line endings.
Sam Hocevar
2012-08-05 12:24:46 +00:00
6b45a58b96add new hook for windows (CreateFileMapping(A|W), MapViewOfFile, ReadFileEx), re-enable option -U, start to port network on windows
Kévin Szkudłapski
2012-08-03 17:26:43 +00:00
22b40f04a0port zzuf to win64 (amd64)
Kévin Szkudłapski
2012-08-02 14:50:21 +00:00
a50075a0f3add regex feature for win32
Kévin Szkudłapski
2012-08-01 12:17:25 +00:00
7e045dfcd2change the method of hooking, now we disassemble the beginning of the targeted function and insert a jump to the new function.
Kévin Szkudłapski
2012-07-31 13:54:47 +00:00
fca5de058astart to implement hotpatch hook on win32 port, but some API don't look to use it for some reason (e.g. kernel32!ReadFile)
Kévin Szkudłapski
2012-07-12 14:26:10 +00:00
9c9d0b082awin32 port starts to fuzz executable (only few functions related to file handling are implemented)
Kévin Szkudłapski
2012-07-11 17:39:13 +00:00
bc1087d8b0fix tmp file creation on win32, start to implement handling of win32 exception with GetExitCodeProcess
Kévin Szkudłapski
2012-07-11 15:31:23 +00:00
8349e4746don win32, use a named pipe and IOCP to read stdout, stderr and debugfd correctly.
Kévin Szkudłapski
2012-07-11 13:01:20 +00:00