215 Commits

Author SHA1 Message Date
vanhauser-thc
c05e4efbe9 renamed examples/ to utils/ 2020-12-01 14:40:30 +01:00
hexcoder-
e83426a79b fix make DEBUG=1 2020-11-28 19:09:13 +01:00
hexcoder-
fdac887660 no fancy special options for the fundamental test compile (no unnecessary dependencies) 2020-11-27 21:10:55 +01:00
hexcoder-
d1259d0914 add -lm, afl-fuzz-queue.c wants log2(), fix GNUmakefile syntax 2020-11-27 20:54:07 +01:00
hexcoder-
ded80870a9 reenable afl-clang(++) 2020-11-01 06:22:18 +01:00
van Hauser
0fd98ae8b0 added mutation introspection make target 2020-11-01 21:34:08 +01:00
van Hauser
44c65fa0a0 add no splicing compile option and print used compile options in afl-fuzz help 2020-10-26 14:44:05 +01:00
Dominik Maier
eefc3608e7 added UBSAN, MSAN options 2020-10-24 03:31:41 +02:00
vanhauser-thc
2e8ec1e339 allow symbolize=1 for asan/debug 2020-10-23 22:49:20 +02:00
van Hauser
56ac3fcdc5
configurable testcache with malloc (#581)
* cache item number to cache memory size

* reload testcase if trimming changed the size

* fix splicing selection

* slim splicing

* import sync fix

* write testcache stats to fuzzer_stats

* fix new seed selection algo

* malloc+read instead of mmap

* fix

* testcache is configurable now and no reference counts

* fixes compilation, test script

* fixes

* switch TEST_CC to afl-cc in makefile

* code format

* fix

* fix crash

* fix crash

* fix env help output

* remove unnecessary pointer resets

* fix endless loop bug

* actually use the cache if set

* one more fix

* increase default cache entries, add default cache size value to config.h

Co-authored-by: hexcoder- <heiko@hexco.de>
2020-10-14 15:30:30 +02:00
Marcel Boehme
e87eca7fe8 Patching and improving AFLFast schedules. 2020-09-29 11:53:27 +00:00
David CARLIER
e85fde201e
OpenBSD build fix (#566)
* OpenBSD build fix proposal.
Mainly the gcc plugin, using one of the egcc/eg++ version available.
Needs pthread flag to r/w lock api.

* README update
2020-09-26 19:02:19 +02:00
van Hauser
639372b644 code-format, and no code-format for custom mutators 2020-09-22 02:11:10 +02:00
van Hauser
380051868a add libfuzzer custom mutator, minor enhancements and fixes 2020-09-10 15:26:46 +02:00
van Hauser
d3282ef1fe fix makefile 2020-09-09 10:37:04 +02:00
van Hauser
13f2ac83a9 fix GNUmakefile for new qemuafl 2020-09-08 11:48:31 +02:00
van Hauser
bd007c151d fix unicorn clean 2020-09-06 11:23:59 +02:00
van Hauser
2508922288 cmp dict for LTO 2020-09-05 15:49:10 +02:00
vanhauser-thc
e30b2c6af6 final changes for pre-3.0 2020-09-05 13:18:28 +02:00
vanhauser-thc
4b3ad5f037 add cull queue, -i subdir traversal 2020-09-05 12:32:10 +02:00
van Hauser
07cee6b750 fix unicorn clean 2020-09-01 11:13:26 +02:00
hexcoder-
4261e17b3e replace non portable echo -n with printf 2020-08-31 22:08:54 +02:00
Dominik Maier
b1b5e21600 removed dummy 2020-08-31 18:20:39 +02:00
van Hauser
d765740707 hopefully finally fix ancient apple gmake 2020-08-31 18:18:40 +02:00
Dominik Maier
01fcee1190 fixed make install on mac os 2020-08-31 17:36:16 +02:00
van Hauser
0805437222 fix make man 2020-08-31 17:10:13 +02:00
van Hauser
58cf030546 fix for MacOS sudo 2020-08-31 16:34:57 +02:00
van Hauser
a42b74b624
Merge pull request #530 from rhertzog/add-cppflags
Pass CPPFLAGS to all calls of the C compiler
2020-08-31 11:33:34 +02:00
van Hauser
7ee255cbcf
Merge pull request #529 from rhertzog/manpages
Manual pages related changes
2020-08-31 11:21:52 +02:00
hexcoder-
ca0105ddf6 fix make DEBUG=1 (error seen with gcc 10.2.0) 2020-08-29 21:45:23 +02:00
Raphaël Hertzog
c0fd7ba6d1 Pass CPPFLAGS to all calls of the C compiler
This variable is a standard way to inject options for the C
preprocessor. It's respected by the implicit rules of make
and autoconf/automake.

Debian sets this variable during package build to inject
`-D_FORTIFY_SOURCE=2` and we would like afl++ to respect it.

Note that this commit also adds $(CFLAGS) in the build of
afl-performance.o where it was missing. It might have been
on purpose but we want to keep CFLAGS everywhere as well
since Debian injects various options through that variable
(for hardening and reproducibility).
2020-08-28 21:55:52 +02:00
Raphaël Hertzog
b0b2a15891 Improve the generated manual page to be compatible with whatis
And generate the manual page for afl-g++ too.
2020-08-28 21:34:36 +02:00
Raphaël Hertzog
ff3c9cbd73 Fix installation path of manual pages
Manual pages are stored in /usr/share/man/.
2020-08-28 21:34:08 +02:00
van Hauser
c7f0d30668 added afl_custom_fuzz_count 2020-08-24 17:32:41 +02:00
van Hauser
9532499ef5 install libafldrivers 2020-08-16 14:14:24 +02:00
root
af14acf2c1 Revert "Merge branch 'debug' into dev"
This reverts commit a7537b5511ad767d2240cf2dc6d3e261daa676f9, reversing
changes made to 15e799f7ae666418e75c6a79db833c5316b21f97.
2020-08-14 14:35:05 +02:00
van Hauser
a7537b5511
Merge branch 'debug' into dev 2020-08-14 13:23:14 +02:00
van Hauser
212bb990b7 LTO: apply laf-intel+redqueen/cmplog at link time 2020-08-13 21:27:11 +02:00
van Hauser
67dac15226
Merge branch 'debug' into taint 2020-08-11 03:40:12 +02:00
Dominik Maier
a422fcaa40 fixed minor inconsistencies, reenabled warnings 2020-08-10 19:04:51 +02:00
van Hauser
fb84103ffb please no -Werror in the dev branch 2020-08-10 09:39:43 +02:00
van Hauser
e4a0237cbc step 1 2020-08-09 00:35:12 +02:00
van Hauser
d8f5502d83 initial integration 2020-08-08 20:29:56 +02:00
Dominik Maier
22d3a5e90a enabled Wextra, fixed bugs 2020-08-07 16:55:58 +02:00
van Hauser
4a859aff70 travis fixes 2020-08-05 10:25:53 +02:00
Dominik Maier
194188fe56 split up testcases 2020-08-04 21:33:29 +02:00
Dominik Maier
7cb00b69f0 warnings reenabled 2020-07-30 17:01:57 +02:00
van Hauser
a76e375d5c import lost PR when switching to stable, updated todo 2020-07-28 11:05:00 +02:00
van Hauser
1bbeef48e1 update readme, renice -20 2020-07-27 09:10:48 +02:00
van Hauser
9cddbc0420 add -F option to sync to foreign fuzzer queues 2020-07-24 12:26:52 +02:00