Commit Graph

  • 012baa84b1 Also include <sys/select.h> where available master Pierre Pronchery 2017-04-16 23:12:50 +02:00
  • 91da7e10c1 Only include <alloca.h> if available Pierre Pronchery 2017-04-16 23:11:11 +02:00
  • 192812ef51 Fix a possible crash in the getopt_long reimplementation. Sam Hocevar 2016-09-20 08:57:14 +02:00
  • 6ca3b49e69 Add missing configure checks for getopt.h and getopt_long. Sam Hocevar 2016-09-20 08:56:54 +02:00
  • e049a4336e Fix help message layout. Sam Hocevar 2016-09-20 08:56:19 +02:00
  • 574b1bb8a5 Quick fix for wrong mmap data size calculation. Sam Hocevar 2016-07-03 13:29:50 +02:00
  • eeed494c4b Make sure to distribute README.md with tarballs. Sam Hocevar 2016-05-03 08:39:35 +02:00
  • 171cf4fa41 Merge pull request #15 from funman/master Sam Hocevar 2016-06-03 01:01:57 +02:00
  • a37e3d8af4 Fix 32 bits overflow with -M option Rafaël Carré 2016-06-03 00:19:39 +02:00
  • 14138cd218 Merge pull request #13 from archey/master Sam Hocevar 2016-05-04 15:29:00 +02:00
  • 91ca149479 added _DEFAULT_SOURCE to fix compilation warnings on gcc 5 arch3y 2016-05-03 21:47:34 -04:00
  • 012da78b04 Prepare 0.15 release. Sam Hocevar 2016-05-03 08:19:12 +02:00
  • 418fae2ab6 Do not use rand() within fseek(), it might break reproducibility. Sam Hocevar 2016-05-03 08:05:14 +02:00
  • e413984095 Work around an issue with fseek() diversion. Closes #7. Sam Hocevar 2016-05-02 19:45:24 +02:00
  • a4625ca02b More verbose debug messages. Sam Hocevar 2016-05-02 00:15:08 +02:00
  • dd94449e75 Merge pull request #12 from edmcman/feature/retain_file_extension_in_copy_mode Sam Hocevar 2016-02-07 14:00:25 +01:00
  • 17f2ef46b2 Also include alloca.h Edward J. Schwartz 2016-02-05 11:16:01 -05:00
  • f25eafa586 Retain file extension in copy mode. Will Dormann 2016-02-02 13:28:09 -05:00
  • cc872b8062 Merge 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
  • f3280455ea Add new "null" opmode which doesn't mutate the file. Will Dormann 2016-02-02 13:55:48 -05:00
  • d16576b2ba Export VERBOSE=1 in Travis so that the test suite outputs debug information. Sam Hocevar 2015-11-07 13:22:52 +01:00
  • b426e7104d Add #pragma once directives in all our headers, for safety. Sam Hocevar 2015-11-07 13:13:12 +01:00
  • 1658b4f59b Tell Travis to try to build on OS X, too. Sam Hocevar 2015-11-07 13:08:02 +01:00
  • 37e6d87770 Add Travis build status to README. Sam Hocevar 2015-11-07 12:58:07 +01:00
  • 4a86ff8c36 Move Travis builds to the container-based infrastructure. Sam Hocevar 2015-11-07 12:51:14 +01:00
  • efb7046411 Tell Travis to bootstrap before running configure. Sam Hocevar 2015-11-07 12:39:32 +01:00
  • 5f0e0253aa Add a .travis.yml configuration file for CI. Sam Hocevar 2015-11-07 12:37:13 +01:00
  • c49f4f17bf Disable the mmap regression test on OS X. Sam Hocevar 2015-08-16 23:02:31 +02:00
  • cec3584c95 Hopefully fix OS X compilation now. Fixes #5. Sam Hocevar 2015-08-05 09:13:08 +02:00
  • 613fb6e64e Disable unnecessary weak symbol declaration. Sam Hocevar 2015-08-02 19:39:10 +02:00
  • ad61125c41 Merge pull request #4 from x9prototype/master Sam Hocevar 2015-07-22 08:27:02 +02:00
  • a8ea1fb693 Merge pull request #1 from x9prototype/x9prototype-patch-1 Jeff 2015-07-21 15:41:21 -07:00
  • 9eb78c602c Update libzzuf/lib-stream.c Jeff 2015-07-21 15:39:30 -07:00
  • 1b20e81b94 zzuf: set program version to 0.14 and prepare release. Sam Hocevar 2015-05-30 17:41:09 +02:00
  • baf828863b win32: using <stdint.h> instead of defining our own types. Sam Hocevar 2015-05-30 17:38:02 +02:00
  • 1c7ffee4a2 misc: fix a few minor issues found by static code analysis. Sam Hocevar 2015-05-30 16:42:25 +02:00
  • 73ec5ee6e4 sys: unsatisfying workaround for an issue with libasan. Sam Hocevar 2015-01-29 09:34:18 +01:00
  • 923fffb27f win32: clean up some Windows code. Sam Hocevar 2015-01-29 03:03:00 +01:00
  • bad2925778 libzzuf: protect library initialisation with a mutex. Sam Hocevar 2015-01-29 02:21:08 +01:00
  • cc2cb7e305 build: remove spurious binary file. Sam Hocevar 2015-01-29 03:11:54 +01:00
  • ad11cdd72a libzzuf: 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
  • 56b013a605 Allow debug_str to be provided a negative length count for convenience. Sam Hocevar 2015-01-24 16:01:29 +01:00
  • c88842f9a4 zzuf: 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
  • 13f63b0419 doc: group command line options by category in the man page. Sam Hocevar 2015-01-21 08:10:37 +01:00
  • 6ccb82a9ff stream: 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
  • 1d0fd3c370 debug: minor tweak to the debug string formatter. Sam Hocevar 2015-01-20 00:08:59 +01:00
  • a5bb4b567e debug: refactor a lot of buffer debug functions using a shared formatter. Sam Hocevar 2015-01-19 23:54:58 +01:00
  • 60e1d2f001 test: 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
  • d8d799cd81 misc: rename a lot of _zz_-prefixed variables. Sam Hocevar 2015-01-19 14:12:58 +01:00
  • 2c9718bd04 test: add a regression test for a bug in our mmap function. Sam Hocevar 2015-01-16 01:12:46 +01:00
  • eb8c73c57d zzuf: add a -X flag for hexadecimal dumps. Sam Hocevar 2015-01-19 00:26:05 +01:00
  • 2738d9bd9d debug: 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
  • 145e6afdd7 stream: rename a few functions for clarity. Sam Hocevar 2015-01-18 20:59:36 +01:00
  • f69ee9d126 stream: fuzz the whole stream buffer upon opening. Sam Hocevar 2015-01-18 20:55:41 +01:00
  • 90efa83537 stream: refactor some streambuf getter functions. Sam Hocevar 2015-01-18 20:53:02 +01:00
  • f9f1d70889 test: add a new regression test for a bug at stream EOF. Sam Hocevar 2015-01-18 14:39:34 +01:00
  • 53ece09b65 stream: rename “s” to “stream” for consistency. Sam Hocevar 2015-01-18 12:41:17 +01:00
  • 8aa27ed6c6 mem: fix a buffer overflow bug in the mmap() replacement. Sam Hocevar 2015-01-16 03:46:21 +01:00
  • 21cb084712 misc: factor several common tests into one must_fuzz_fd() function. Sam Hocevar 2015-01-16 03:14:03 +01:00
  • 4f7a76385a test: add a regression test for a bug in our mmap function. Sam Hocevar 2015-01-16 01:12:46 +01:00
  • da669bb2b9 misc: C99 refactoring; put variable declarations closer to their first use Sam Hocevar 2015-01-15 21:29:20 +01:00
  • 6af0fb2c4b misc: typo of the ass. Sam Hocevar 2015-01-07 12:08:30 +01:00
  • 2a51af27be win32: some compilation fixes introduced by refactoring for Linux. Sam Hocevar 2015-01-06 18:09:40 +01:00
  • 1dcd34eef3 doc: update copyright and URLs. Sam Hocevar 2015-01-06 02:04:05 +01:00
  • 3feba75a3c zzuf: replace a critical section with a simple spinlock. Sam Hocevar 2015-01-06 00:44:05 +01:00
  • c0ca87d5b2 misc: move a lot of generic stuff to a new util/ source subdirectory. Sam Hocevar 2015-01-06 00:36:24 +01:00
  • e8abdc2bd0 win32: some mingw32/mingw64 warning and compilation fixes. Sam Hocevar 2015-01-05 22:49:06 +01:00
  • 7ade84442d build: remove ChangeLog, as it’s convenient enough to have it in Git. Sam Hocevar 2015-01-05 22:11:15 +01:00
  • da98aa3dbc misc: various compilation warning fixes and copyright updates. Sam Hocevar 2015-01-05 18:57:40 +01:00
  • 585ec6d1ce libzzuf: fix fseeko64 parameter type. Sam Hocevar 2015-01-05 18:57:07 +01:00
  • 8b468ad504 fork: document more code and fix a bug reported by Will Newton. Sam Hocevar 2015-01-05 18:52:49 +01:00
  • 08d023b37c test: several fixes in the testsuite. Sam Hocevar 2015-01-05 18:11:43 +01:00
  • 53084c70a0 misc: now that Visual Studio supports it some 15 years later, switch to C99. Sam Hocevar 2015-01-05 16:02:51 +01:00
  • 1c2ccb1dc5 misc: minor fixes for compilation warnings. Sam Hocevar 2015-01-05 11:49:38 +01:00
  • 33cbf9c2eb win32: Windows-specific compilation fixes. Sam Hocevar 2015-01-05 11:58:37 +01:00
  • 15ad356faa win32: add spinlock implementation for Windows. Sam Hocevar 2015-01-05 11:29:10 +01:00
  • 39f48f37d6 win32: update to newer mingw compiler version. Sam Hocevar 2014-11-05 00:23:27 +00:00
  • aba365f2a5 build: remove the libcaca dependency and embed code instead. Sam Hocevar 2014-11-05 00:23:22 +00:00
  • eb2f7b3fe8 build: refresh build system. Sam Hocevar 2014-11-05 00:23:17 +00:00
  • d979cd4fcd build: fix a few compilation warnings. Sam Hocevar 2014-11-05 00:23:12 +00:00
  • fd7e90d858 core: add a lightweight spinlock to protect the list of file descriptors. Sam Hocevar 2014-10-31 10:48:46 +00:00
  • 01297f5a6e sys: fix coding style. Sam Hocevar 2014-10-31 10:48:33 +00:00
  • 125f4ebc87 fix crash on windows 32-bit and compute_patch_size Kévin Szkudłapski 2012-09-17 16:34:54 +00:00
  • ae3f5c5a31 win32: add some console handling function diversions. Sam Hocevar 2012-08-23 14:10:27 +00:00
  • 96c7e71350 win32: add more explicit error messages and add support for 0xb8 opcode. Sam Hocevar 2012-08-23 11:21:31 +00:00
  • 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 Kévin Szkudłapski 2012-08-20 12:27:26 +00:00
  • 60a9b3a67a build: fix compilation by including <wchar.h> and checking for regwexec. Sam Hocevar 2012-08-05 12:24:53 +00:00
  • 1684e8936e cosmetic: get rid of CRLF line endings. Sam Hocevar 2012-08-05 12:24:46 +00:00
  • 6b45a58b96 add 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
  • 22b40f04a0 port zzuf to win64 (amd64) Kévin Szkudłapski 2012-08-02 14:50:21 +00:00
  • a50075a0f3 add regex feature for win32 Kévin Szkudłapski 2012-08-01 12:17:25 +00:00
  • 7e045dfcd2 change 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
  • fca5de058a start 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
  • 9c9d0b082a win32 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
  • bc1087d8b0 fix 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
  • 8349e4746d on 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
  • 714c203ece Kévin Szkudłapski 2012-07-10 10:18:31 +00:00
  • f6f9cad61f win32: add debug information to the function diversion code. Sam Hocevar 2012-06-11 17:05:19 +00:00
  • df2dfb9ffa linux: fix a few compilation warnings. Sam Hocevar 2012-04-16 23:09:37 +00:00
  • 177d421111 Fix a weird problem with lib6 versioned symbols. Sam Hocevar 2012-04-16 23:02:42 +00:00