1074 Commits

Author SHA1 Message Date
van Hauser
44c0dc6d96 fix expand havoc 2020-09-18 12:19:27 +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
Dominik Maier
7cdbe3173e fixed ngram size unset 2020-09-13 15:00:10 +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
van Hauser
380051868a add libfuzzer custom mutator, minor enhancements and fixes 2020-09-10 15:26:46 +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
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
374e068f97 set correct error code when -V 2020-09-08 11:37:09 +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
aflpp
8ec41b2585 fix various warnings 2020-09-06 11:40:41 +02:00
van Hauser
163e5ffd10 -p seek is now the default 2020-09-05 17:40:39 +02:00
van Hauser
ded4d093ff skip crashes but keep for splices 2020-09-05 16:16:56 +02:00
van Hauser
39c020ec74
Merge pull request #549 from AFLplusplus/ignore_unstable_edges
ignore unstable edges
2020-09-05 13:26:46 +02:00
vanhauser-thc
2f90f2faba code-format 2020-09-05 13:19:19 +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
vanhauser-thc
996986bed5 first batch of changes 2020-09-05 12:11:48 +02:00
van Hauser
976ee9022c fix assignment 2020-09-04 22:47:37 +02:00
hexcoder-
0625eb0a05 avoid signed ints for amounts (which are positive) 2020-09-04 22:26:39 +02:00
van Hauser
77b824d101 compile fix 2020-09-04 17:56:17 +02:00
van Hauser
b7b38205d8 fix travis 2020-09-04 17:37:11 +02:00
van Hauser
6c715f1a69 more changes to fuzzer_setup 2020-09-04 17:04:42 +02:00
Thomas Rooijakkers
50f61b64b1
Make open_file() inline 2020-09-04 16:22:22 +02:00
Thomas Rooijakkers
809a7cffe2
Write set environment variables in an env file style. 2020-09-04 16:02:09 +02:00
Thomas Rooijakkers
6adaacbb3a
Seperate fuzzer_setup from fuzzer_stats, only write fuzzer_setup at the start 2020-09-04 15:54:57 +02:00
Thomas Rooijakkers
e45ae8e5da
Export set afl_environment_variables to stats 2020-09-04 13:48:43 +02:00
van Hauser
4c48d3a3ad update xxh3 to 0.8.0, fix is_ascii 2020-09-03 09:59:23 +02:00
van Hauser
c39a552cc0 ignore unstable 2020-09-02 20:30:26 +02:00
van Hauser
08f6e1d66a children terminate on sigpipe 2020-09-02 17:54:54 +02:00
van Hauser
e4a86b40a5 child cleanup 2020-09-01 13:42:33 +02:00
Dominik Maier
bd57784664 code format 2020-08-31 23:59:10 +02:00
Andrea Fioraldi
8ca4414d70 merge conflicts 2020-08-31 20:34:28 +02:00
Andrea Fioraldi
6090bb1bca better fix for #539 2020-08-31 20:33:56 +02:00
Ahmad Hazimeh
9bbbec3fa8 Fixed stack use-after-return bug in strntoll 2020-08-31 18:39:50 +02:00
van Hauser
e4de4e3500 update gitignore 2020-08-31 18:32:01 +02:00
Dominik Maier
bea76b346c fixed build error 2020-08-31 18:29:45 +02:00
Dominik Maier
53e63e9ded added forkserver init timeout 2020-08-31 18:28:36 +02:00
van Hauser
d7d8afa512 fix afl-gcc help output 2020-08-31 17:54:21 +02:00
David CARLIER
155ef8875a
Fix few warnings for FreeBSD case. (#536) 2020-08-31 16:37:46 +02:00
domenukk
9e8b3f13e1 fixed warning on mac 2020-08-31 15:17:37 +02:00
van Hauser
d2c9e4baa7 fix warnings and weird code insert 2020-08-31 13:12:59 +02:00
van Hauser
81767287c3 improve documentation 2020-08-31 13:02:40 +02:00
van Hauser
4566bcf122 code-format 2020-08-31 10:57:01 +02:00
Raphaël Hertzog
41bb359428
Fix various spelling errors (#532)
All those spelling errors have been caught by lintian's built-in
spellchecker:
https://lintian.debian.org/tags/spelling-error-in-binary.html
2020-08-28 23:04:25 +02:00
h1994st
9a6a32775f Prevent afl-fuzz from modifying stage_max during fuzzing 2020-08-27 00:32:53 -04:00