2380 Commits

Author SHA1 Message Date
van Hauser
06264df168 rename whitelist -> instrumentlist 2020-06-30 17:28:21 +02:00
van Hauser
878b27af76 blacklist -> ignore renaming 2020-06-30 16:52:48 +02:00
root
4b99ebbf22 Revert "Merge branch 'text_inputs' into dev"
This reverts commit 6d9b29daca46c8912aa9ddf6c053bc8554e9e9f7, reversing
changes made to 07648f75ea5ef8f03a92db0c7566da8c229dc27b.
2020-06-29 18:48:17 +02:00
van Hauser
6d9b29daca
Merge branch 'text_inputs' into dev 2020-06-29 18:35:51 +02:00
van Hauser
07648f75ea workaround for recent afl++ versions 2020-06-29 12:21:14 +02:00
van Hauser
3a0c91b862 fix unittest 2020-06-29 01:23:30 +02:00
van Hauser
e5e485fcdb fix autodict 2020-06-29 00:58:05 +02:00
van Hauser
16f3df7cc6 fix for shmem+autodict 2020-06-29 00:18:29 +02:00
van Hauser
6d0f086d9c less problematic definitions 2020-06-28 23:50:25 +02:00
van Hauser
c25a602a03 less problematic definitions 2020-06-28 23:47:57 +02:00
van Hauser
81974c4d5e debug code 2020-06-28 22:50:18 +02:00
hexcoder
5f3b7e6cdf
typo aonce -> once 2020-06-28 21:21:27 +02:00
van Hauser
910b9f3f25 O2 instead of O3 for .o target files 2020-06-28 16:53:31 +02:00
van Hauser
4fd2cb2ce0 update idea list 2020-06-28 14:51:49 +02:00
van Hauser
e234a6ae4e update schedules in readme 2020-06-28 14:46:57 +02:00
van Hauser
ee17782e61 fix output for LTOinstrim 2020-06-28 00:13:31 +02:00
van Hauser
cd6954e3c1 fix make static 2020-06-27 23:11:10 +02:00
van Hauser
29e41a09d5 fix typos 2020-06-27 18:16:27 +02:00
hexcoder-
4103687f76 afl-sharedmem.c: fix leaks on error paths (SysV shared memory) 2020-06-27 00:13:24 +02:00
Andrea Fioraldi
976e99b1d4 original fix for calibration error 2020-06-26 10:17:21 +02:00
van Hauser
da7c548452 afl-plot remove error print 2020-06-26 09:53:54 +02:00
van Hauser
1ecfd78418 implement sharedmem mmap for cmplog 2020-06-26 09:13:07 +02:00
hexcoder-
07fead0466 fix shared memory leaks in afl-showmap, initialize cmplog_mode 2020-06-26 01:14:21 +02:00
van Hauser
8bd8442bcc fix for schedules 2020-06-25 22:44:46 +02:00
van Hauser
5904083231 remove debug 2020-06-25 22:28:56 +02:00
van Hauser
171b1923e9 shmem release fix 2020-06-25 22:02:02 +02:00
van Hauser
8d5eb9487d make llvm_mode pcguard instrumentation collision free 2020-06-25 20:09:56 +02:00
van Hauser
633a3feab9 fix makefile 2020-06-25 17:51:48 +02:00
Dominik Maier
c8f60a7fbf initialized variable 2020-06-25 17:25:16 +02:00
Dominik Maier
3a62bb68e0 updated unicornafl 2020-06-25 17:13:16 +02:00
van Hauser
8178f4dfdd remove radamsa, add radamsa custom mutator 2020-06-25 16:51:29 +02:00
Andrea Fioraldi
4a3305c007
Merge pull request #425 from dgmelski/fix-recalibration
Fix saturated maps & stability cliff in recalibration
2020-06-25 15:16:10 +02:00
hexcoder-
9858bc81a3 GNUmakefile: warn about '.' being first path in PATH environment variable. This causes recursion in 'as'. (seen in Haiku) 2020-06-25 13:28:34 +02:00
van Hauser
b5573b3adb add seek power schedule, remove update stats in calibration, fix help output 2020-06-25 10:33:59 +02:00
van Hauser
15dd4ad177 fix plot 2020-06-25 08:50:34 +02:00
David Melski
d540971443 Fix saturated maps & stability cliff in recalibration
I have observed two problems:

  1. A sudden "stability cliff" where stability drops precipitously.

  2. A sudden jump to a 100% saturated "density map".

Both issues are due to attempted "recalibration" of a case at the
beginning of fuzz_one_original() or mopt_common_fuzzing().  See the
comments "CALIBRATION (only if failed earlier on)" in those functions
and the subsequent call to calibrate_case().

At those calls to calibrate_case(), afl->fsrv.trace_bits holds
trace_bits for a run of the SUT on a prior queue entry.  However,
calibrate_case() may use the trace_bits as if they apply to the
current queue entry (afl->queue_cur).

Most often this bug causes the "stability cliff".  Trace bits are
compared for runs on distinct inputs, which can be very different.
The result is a sudden drop in stability.

Sometimes it leads to the "saturated map" problem.  A saturated
density map arises if the trace bits on the previous entry were
"simplified" by simplify_trace().  Simplified traces only contain the
values 1 and 128.  They are meant to be compared against
virgin_crashes and virgin_tmouts.

However, this bug causes the (stale) simplified trace to be compared
against virgin_bits during a call to has_new_bits(), which causes
every byte in vigin_bits to be something other than 255.  The overall
map density is determined by the percentage of bytes not 255, which
will be 100%.  Worse, AFL++ will be unable to detect novel occurrences
of edge counts 1 and 128 going forward.

This patch avoids the above issues by clearing q->exec_cksum when
calibration fails.  Recalibrations are forced to start with a fresh
trace on the queue entry.

Thanks to @andreafioraldi for suggesting the current, improved patch.
2020-06-24 17:59:04 -04:00
van Hauser
1d7c76d141 decrease time to sync for main 2020-06-24 17:37:16 +02:00
van Hauser
224a49341a update .gitignore 2020-06-24 17:04:28 +02:00
van Hauser
fce010f051 add -D option for -S 2020-06-24 11:14:00 +02:00
van Hauser
bdc8e3b79e create .synced/NAMES.last to document last sync attempts 2020-06-24 11:09:33 +02:00
van Hauser
9289af040c gitignore 2020-06-24 08:23:31 +02:00
van Hauser
49a769ac06 lto whitelist in test.sh 2020-06-23 21:23:10 +02:00
van Hauser
2b450aeb20 fix test.sh 2020-06-23 18:21:50 +02:00
van Hauser
5f1c0111a6 fix make files 2020-06-23 18:06:08 +02:00
van Hauser
89f0dc2d14 fix gcc mode for travis 2020-06-23 17:43:04 +02:00
van Hauser
cffb0e9a25 fix gcc makefile 2020-06-23 17:36:05 +02:00
van Hauser
2b26e3867f fix gcc makefile 2020-06-23 17:31:52 +02:00
Dominik Maier
aad433e11e Merge branch 'dev' of github.com:vanhauser-thc/AFLplusplus into dev 2020-06-23 15:08:49 +02:00
Dominik Maier
59e1a18197
Merge pull request #422 from devnexen/haiku__build_upd
Haiku  build upd
2020-06-23 11:01:22 +02:00
David Carlier
8f98044d69 Libdislocator Haiku build fix 2020-06-23 09:41:38 +00:00