1279 Commits

Author SHA1 Message Date
vanhauser-thc
7c2436c711 no runtime for shared linking 2021-03-16 19:34:34 +01:00
vanhauser-thc
862cb3217f fix cmplog rtn 2021-03-16 14:38:13 +01:00
Andrea Fioraldi
73641be796
Merge pull request #819 from realmadsci/qemu-consistent-preload
Remove AFL_PRELOAD and AFL_USE_QASAN handlers
2021-03-16 09:08:23 +01:00
Andrea Fioraldi
ff9f3fbe96
Merge pull request #818 from realmadsci/add-qemu-custom-bin
Add AFL_QEMU_CUSTOM_BIN environment flag
2021-03-16 09:01:13 +01:00
realmadsci
62f067ec71 afl-showmap: Unwind a change to keep it pre-C99 compatible 2021-03-15 14:04:10 -07:00
realmadsci
01ad7610be Remove AFL_PRELOAD and AFL_USE_QASAN handlers
These are now processed in afl-qemu-trace so that the "copy+paste" code
that is in all of the other AFL tools can be removed.

This also allows the AFL_USE_QASAN flag to work the same when used
with tools like afl-fuzz as it does with afl-qemu-trace. This is
important in situations where loading the QASAN library changes
the address of your desired entrypoint, or for crash validation
using the same environment that afl-fuzz was using.

With this change, the same set of environment variables can be used
in exactly the same way between afl-fuzz, afl-showmap, and
afl-qemu-trace, and you will get exactly the same guest environment.
2021-03-15 13:03:16 -07:00
realmadsci
d4fb7f8b40 Add AFL_QEMU_CUSTOM_BIN environment flag
In QEMU mode (-Q), setting AFL_QEMU_CUSTOM_BIN cause afl-fuzz to skip
prepending afl-qemu-trace to your command line. Use this if you wish to use a
custom afl-qemu-trace or if you need to modify the afl-qemu-trace arguments.
2021-03-15 12:57:06 -07:00
aflpp
61c8304f24 fixes 2021-03-15 20:32:01 +01:00
realmadsci
27c0480866 afl-showmap: Allow @@ to be part of an arg
The previous implementation of "@@ handling"
in afl-showmap differed greatly from how it was
handled in afl-fuzz and how the documentation presented it.

It used to require that the @@ be its own argument separated
by whitespace and could not be used in situations like "--file=@@".

This change standardizes it to use detect_file_args() like
everybody else does, so that it will have the expected and
documented behavior.
2021-03-15 12:25:01 -07:00
Dominik Maier
3753f56c25 make get_offsets executable 2021-03-12 03:47:12 +01:00
Dominik Maier
d32b1d6b0c unique crashes yellow on resume (#801) 2021-03-12 03:46:50 +01:00
aflpp
8ff5063545 fix 2021-03-11 18:03:18 +01:00
aflpp
b7d90a9e31 new auto map 2021-03-11 09:32:22 +01:00
vanhauser-thc
adeb0d18b1 fix the auto map fix 2021-03-11 08:59:34 +01:00
Dominik Maier
16e3e2a7f7 implemented #801 2021-03-11 01:39:21 +01:00
vanhauser-thc
a10a627622 fix auto map discovery 2021-03-10 19:22:57 +01:00
vanhauser-thc
a0c3011673 change map_size tests 2021-03-10 11:08:03 +01:00
Dominik Maier
851231c846 fixed scan-build warnings 2021-03-10 01:15:38 +01:00
Dominik Maier
f21a5c42c1 tiny typo fixed 2021-03-10 00:55:26 +01:00
David CARLIER
5fab0fa51f setting general schedule priority for performance on Mac. 2021-03-09 20:27:48 +00:00
vanhauser-thc
791c5c171d fix ctx-1 2021-03-09 18:44:42 +01:00
vanhauser-thc
0868ea8348 fix compiler rt on -c 2021-03-09 17:15:19 +01:00
vanhauser-thc
47f2650a32 add AFL_NOOPT 2021-03-09 16:53:56 +01:00
vanhauser-thc
74a6044b3f fix sanitizer settings 2021-03-09 14:11:52 +01:00
Andrea Fioraldi
c96fca6833
Merge pull request #779 from AFLplusplus/top-k-ctx
Restore correct CTX behaviour and enable K-CTX coverage for LLVM Classic
2021-03-08 09:50:18 +01:00
vanhauser-thc
d3f69ab4c6 documentation for AFL_PERSISTENT_RECORD 2021-03-07 08:43:01 +01:00
vanhauser-thc
517db1b8dc fixes 2021-03-06 23:12:44 +01:00
vanhauser-thc
7f062524c9 fixes 2021-03-06 23:01:13 +01:00
vanhauser-thc
99b4c3f362 fix 2021-03-06 22:19:56 +01:00
vanhauser-thc
4a0d4c50fc complete implemenation, still no test 2021-03-06 19:12:25 +01:00
vanhauser-thc
81442ba3f9 implementation without testing 2021-03-06 15:48:49 +01:00
Andrea Fioraldi
c429021de1 fix typos and format 2021-03-05 15:27:10 +01:00
vanhauser-thc
f848562732 point explicitly to AFL_MAP_SIZE on problems 2021-03-05 10:15:38 +01:00
vanhauser-thc
a2f40aa285 disable corpus introspection, potentially creates huge data 2021-03-04 22:10:32 +01:00
Andrea Fioraldi
af9aeb89d4 afl-cc code for k-ctx 2021-03-04 15:26:15 +01:00
vanhauser-thc
b6dc529bc3 no ASAN odr violations by default 2021-03-04 14:55:57 +01:00
Andrea Fioraldi
0aa93afeb8 vectorial top-k CTX first implementation 2021-03-04 14:50:26 +01:00
vanhauser-thc
96c526cb78 fix caller/ctx change, support dlopen in afl-compiler-rt 2021-03-04 14:04:40 +01:00
Andrea Fioraldi
8f538e77ed code format 2021-03-04 11:33:51 +01:00
Andrea Fioraldi
1e76079e93 llvm mode CALLER mode 2021-03-04 11:32:32 +01:00
vanhauser-thc
f0c7967fbf add new tutorial 2021-03-03 08:58:09 +01:00
vanhauser-thc
108e588e88 add de-unicoded dictionary entries 2021-03-02 17:46:43 +01:00
aflpp
7259075b71 len for cmplog rtn 2021-03-01 19:13:29 +01:00
vanhauser-thc
4619a1395b ensure proper aligning for skim patch 2021-03-01 09:57:57 +01:00
vanhauser-thc
f81ef4abf4 fix afl-common compile 2021-02-28 00:12:39 +01:00
vanhauser-thc
79f1a44a01 fix qasan search path 2021-02-27 18:14:58 +01:00
vanhauser-thc
ee0ca07f3c changing the -t ...+ meaning to "auto-calculate buth this is the max" 2021-02-25 12:19:46 +01:00
Andrea Fioraldi
6c9777de13 edges in afl-plot 2021-02-25 10:42:39 +01:00
Andrea Fioraldi
2f7e57f6aa helper_min3 func 2021-02-25 10:04:41 +01:00
Andrea Fioraldi
35ca51c5a8 Merge branch 'dev' of github.com:AFLplusplus/AFLplusplus into dev 2021-02-24 21:29:09 +01:00