160 Commits

Author SHA1 Message Date
van Hauser
1cc637a0a0 support AFL_LLVM_INSTRUMENT env for our own PCGUARD 2020-11-16 10:59:09 +01:00
hexcoder-
40e10895a2 now really fix -n 2020-11-14 17:21:43 +01:00
hexcoder-
30cd8a8397 fix non instrumented mode, fix check_binary 2020-11-14 12:28:51 +01:00
van Hauser
e5f30c6908 fix testcache bug 2020-10-24 16:28:46 +02:00
vanhauser-thc
2e8ec1e339 allow symbolize=1 for asan/debug 2020-10-23 22:49:20 +02:00
David Carlier
638bf19b65 DragonFlyBSD build fix proposal. 2020-10-14 17:21:22 +01: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
van Hauser
6a397d6111 add new seed selection algo and make it the default 2020-10-11 14:31:31 +02:00
van Hauser
383cd487a2 small improvements to Marcel's patch, fix laf-intel + redqueen crashes 2020-09-29 15:02:57 +02:00
Marcel Boehme
e87eca7fe8 Patching and improving AFLFast schedules. 2020-09-29 11:53:27 +00:00
hexcoder-
9eed8fe588 portability: type -> command -v, compiler warnings 2020-09-18 09:02:43 +02:00
van Hauser
2802245da7 update instrumenation/README.instrument_file.md for gcc_plugin 2020-09-08 17:15:32 +02:00
van Hauser
ded4d093ff skip crashes but keep for splices 2020-09-05 16:16:56 +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
David CARLIER
155ef8875a
Fix few warnings for FreeBSD case. (#536) 2020-08-31 16:37:46 +02:00
van Hauser
4566bcf122 code-format 2020-08-31 10:57:01 +02:00
Sergio Paganoni
1efc6e59b7
Added out_file value when using stdio (#524) 2020-08-24 21:18:51 +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
b604f5eafc finalize first beta! yay! 2020-08-11 18:06:18 +02:00
van Hauser
220dc4a43d review done, pray 2020-08-11 16:25:35 +02:00
van Hauser
457f627101 move taint_mode var 2020-08-11 15:10:18 +02:00
van Hauser
ff40359a60 fixes 2020-08-09 21:09:07 +02:00
van Hauser
b60663c031 taint integration done 2020-08-09 18:48:12 +02:00
hexcoder-
27abecbff5 compile fixes on 32-bit OSs 2020-08-07 21:07:05 +02:00
Dominik Maier
22d3a5e90a enabled Wextra, fixed bugs 2020-08-07 16:55:58 +02:00
Dominik Maier
38bed607d1 code format 2020-08-03 20:50:47 +02:00
van Hauser
16b674c652 fix find free cpu 2020-07-31 18:35:43 +02:00
Dominik Maier
729445b64f
Bind cpu (#480)
* silence compiletime warning

* refactored cpu binding

* formatted code
2020-07-31 18:17:03 +02:00
van Hauser
320f26d26f add -b option to afl-fuzz 2020-07-30 19:00:41 +02:00
van Hauser
9cddbc0420 add -F option to sync to foreign fuzzer queues 2020-07-24 12:26:52 +02:00
van Hauser
2ba88dcd8a skip large files, dont bail 2020-07-23 14:17:29 +02:00
David Carlier
90adc2cb85 illumos littlefixes: little typo for cpu binding and
even tough gcc plugin less good than LLVM, clang
is more buggy on this os.
2020-07-09 15:43:05 +01:00
van Hauser
83790d65af eliminate race condition for cpu affinity on -M/-S 2020-07-08 11:16:39 +02:00
van Hauser
a49b5ef072 allow /tmp 2020-06-22 07:16:24 +02:00
hexcoder-
bac2da8669 fix for *BSD: remove all HAVE_ARC4RANDOM dependencies 2020-06-16 01:29:07 +02:00
van Hauser
e8da5f9e28 code format and debug 2020-06-11 19:30:28 +02:00
David Carlier
b3feda052d start of illumos cpu binding implementation.
The current user needs the proc_owner permission, not something doable
 via the settings script.
2020-06-10 16:16:47 +01:00
Dominik Maier
feffae60dd code format 2020-06-09 03:48:50 +02:00
Dominik Maier
92b8c5bb60 fixed shmap fuzzing 2020-06-09 03:03:21 +02:00
van Hauser
ea91cfdf9a fix shmem 2020-06-03 18:09:06 +02:00
van Hauser
031e4300a5 switch order of shmem fuzz 2020-06-03 16:19:09 +02:00
van Hauser
dd0ca7335f switch shmem_len to the map 2020-06-03 15:49:23 +02:00
van Hauser
fc164e4709 code format 2020-06-03 10:50:49 +02:00
Dominik Maier
83112ed5e0 got rid of questionable phrasing 2020-06-02 14:54:24 +02:00
van Hauser
0de25f08ba code format 2020-06-01 12:30:55 +02:00
Dominik Maier
ee14785f68 starting shmap support for unicorn 2020-05-31 04:13:41 +02:00
van Hauser
707145c491 persistent mode: shared memory test case transfer 2020-05-25 16:40:55 +02:00
van Hauser
d37a8f72d6 fix master creation file 2020-05-17 01:36:03 +02:00