3357 Commits

Author SHA1 Message Date
van Hauser
f4a0407270 add comment for future 2020-09-22 20:06:39 +02:00
van Hauser
daa2285083 fix LTO autodictionary for ints > 64 bits 2020-09-22 09:32:16 +02:00
van Hauser
639372b644 code-format, and no code-format for custom mutators 2020-09-22 02:11:10 +02:00
van Hauser
52c135e1a2 fix warning 2020-09-22 02:05:31 +02:00
aflpp
093754f6bf dict2file fix for integers > 64 bit 2020-09-22 02:04:23 +02:00
van Hauser
207cbd5cf7 fix and update libfuzzer custom mutator 2020-09-21 15:47:10 +02:00
Dominik Maier
f34fe1f81e updated unicornafl 2020-09-21 13:13:03 +02:00
van Hauser
5f52f72761 set explore as default, fix schedule display 2020-09-20 14:58:08 +02:00
van Hauser
6d99695108 fix travis 2020-09-19 17:25:39 +02:00
van Hauser
a18523f018 fix exploit, mmopt and rare schedule 2020-09-19 15:13:58 +02:00
van Hauser
7ff9800804 fix exploit, mmopt and rare schedule 2020-09-19 15:13:15 +02:00
van Hauser
44c0dc6d96 fix expand havoc 2020-09-18 12:19:27 +02:00
van Hauser
1225f3aa70 improved defaults from fuzzbench results 2020-09-18 10:29:49 +02:00
hexcoder-
9eed8fe588 portability: type -> command -v, compiler warnings 2020-09-18 09:02:43 +02:00
Edznux
4561a9590f
WIP. basic state working: submitting statsd metrics (path, crashes, hangs) 2020-09-17 01:29:09 +02:00
van Hauser
5241d1221b fix if no clang is present 2020-09-14 15:46:36 +02:00
van Hauser
a95427a873 fix if no clang is present 2020-09-14 15:15:53 +02:00
van Hauser
c5c5570d97 fix if no clang is present 2020-09-14 15:08:07 +02:00
David CARLIER
3abace4f54
Haiku build fix. (#556) 2020-09-13 16:58:06 +02:00
Dominik Maier
7cdbe3173e fixed ngram size unset 2020-09-13 15:00:10 +02:00
Dominik Maier
7f94fe3587 code format 2020-09-13 14:26:57 +02:00
Dominik Maier
060dbe1239 wine argv fix 2020-09-13 14:26:24 +02:00
Choongwoo Han
a9ba907676
Fix qemu argv construction (#555) 2020-09-13 14:25:02 +02:00
hexcoder-
fe39e0184f gcc_plugin switch CC to gcc when cc is something else 2020-09-13 00:02:42 +02:00
hexcoder-
688e2c87df portability: make llvm-dict2file compilable under Ubuntu xenial (llvm 3.8.0) 2020-09-11 22:13:42 +02:00
hexcoder-
38e6de1eff portability: make new gcc-plugin compilable under Ubuntu 16.04 (gcc 5.4.0) 2020-09-11 21:46:20 +02:00
van Hauser
862b6d0382 fix for afl-compiler-rt to only send dictionary data if there is some 2020-09-11 08:56:28 +02:00
van Hauser
543765bc0d fix unittests 2020-09-10 16:41:40 +02:00
van Hauser
380051868a add libfuzzer custom mutator, minor enhancements and fixes 2020-09-10 15:26:46 +02:00
van Hauser
fdb0452245 update documentation 2020-09-10 08:54:57 +02:00
van Hauser
454a860020 update gcc readme 2020-09-09 23:25:01 +02:00
van Hauser
a4cac3fce5 new custom mutator: symcc 2020-09-09 17:49:43 +02:00
van Hauser
f8c0182e16 fix travis 2020-09-09 12:49:49 +02:00
van Hauser
d3282ef1fe fix makefile 2020-09-09 10:37:04 +02:00
van Hauser
9b6564f0a3 fix for gcc_plugin 2020-09-09 09:36:27 +02:00
Andrea Fioraldi
eb9f323d7c Merge branch 'dev' of github.com:vanhauser-thc/AFLplusplus into dev 2020-09-08 20:58:44 +02:00
Andrea Fioraldi
fe98e2d760 update qemuafl 2020-09-08 20:58:35 +02:00
van Hauser
ab744abc4b code-format 2020-09-08 17:54:01 +02:00
van Hauser
2802245da7 update instrumenation/README.instrument_file.md for gcc_plugin 2020-09-08 17:15:32 +02:00
van Hauser
c091340a85 new gcc_plugin integration 2020-09-08 16:15:31 +02:00
van Hauser
3890225c35
Merge pull request #551 from AdaCore/topic/plugin
rewrite gcc plugin
2020-09-08 15:21:55 +02:00
Alexandre Oliva
9544b3dbf2 rewrite gcc plugin
When we started using AFL, it did not have an integrated GCC plugin.
There was one proposed by Austin Seipp, but for various reasons we
ended up using some of its infrastructure (runtime and wrapper), but
writing the GCC plugin proper from scratch.

With AFL++'s renewed interest in a GCC plugin, we rebased ours, with
some features that are or were missing in the one that was integrated:

* efficient, fully-functional inline and out-of-line instrumentation

Inline instrumentation was work in progress in the original plugin.
Controlled by AFL_GCC_OUT_OF_LINE.

* reproducible instrumentation

Obey -frandom-seed for pseudorandom number generation.

* licensing clarity and strict compliance

GPLv3+ for the plugin, that uses GCC internals; add a copy of the
license, as required.

* allow/deny list support

Copied and adjusted from the LLVM plugin implementation.

* neverZero support

Not as compact as the asm-wrapper version, but likely more efficient.
Both are quite thread-unsafe, with different caveats.
Controlled with AFL_GCC_SKIP_NEVERZERO.
2020-09-08 14:55:19 +02:00
van Hauser
43cb626ad3 revert for unicorn_mode 2020-09-08 14:03:53 +02:00
van Hauser
13f2ac83a9 fix GNUmakefile for new qemuafl 2020-09-08 11:48:31 +02:00
van Hauser
374e068f97 set correct error code when -V 2020-09-08 11:37:09 +02:00
Andrea Fioraldi
10f775be07 conflicts 2020-09-08 11:19:17 +02:00
Andrea Fioraldi
3565641c41 arm64 travis 2020-09-08 11:13:16 +02:00
Andrea Fioraldi
679b2d63a8 qemuafl + arm 2020-09-08 10:56:37 +02:00
van Hauser
6404abd7d6 bugfix for fixed seeds 2020-09-07 17:30:28 +02:00
van Hauser
7bcbfd48e5 update ideas 2020-09-06 15:12:23 +02:00