105 Commits

Author SHA1 Message Date
vanhauser-thc
3c846859ee cleanup 2021-04-04 20:05:02 +02:00
van Hauser
c23183f1dc
Merge pull request #855 from MegaManSec/leak-sanitizer
Add support for standalone leak-sanitizer
2021-04-04 15:28:42 +02:00
Joshua Rogers
99819cf5d1 Move definition of __AFL_LEAK_CHECK inside ifguards,
use LSAN_OPTIONS=print_suppressions=0
2021-04-04 12:45:52 +00:00
Joshua Rogers
afc4da47f7 Fix typos,
Use symbolize=0 for LSAN,
Remove syntactic sugar.
2021-04-03 14:50:35 +00:00
Joshua Rogers
6514e33ab6 Replace __AFL_CHECK_LEAK with __AFL_LEAK_CHECK to be more proper.
Fix spelling mistakes.

Correctly call LSAN_ERROR not MSAN_ERROR.
2021-04-02 22:32:38 +00:00
Joshua Rogers
920e9402a4 Add support for standalone leak-sanitizer, introducting the environment
variable AFL_USE_LSAN.

AFL_USE_LSAN introduces the macro __AFL_CHECK_LEAK() which will check
for a memory leak when the macro is run. This is especially helpful
when using __AFL_LOOP().

If __AFL_LEAK_CHECK() is not used when AFL_USE_LSAN=1 is set,
the leak checker will run when the program exits.
2021-04-02 22:23:11 +00:00
vanhauser-thc
3ff4ca348c fix k-ctx 2021-04-02 14:39:56 +02:00
van Hauser
96533f627e
Merge pull request #845 from joeyjiaojg/dev
Dev
2021-03-26 09:03:51 +01:00
vanhauser-thc
c169cb3911 integrate frida_mode, code-format 2021-03-25 20:10:09 +01:00
vanhauser-thc
0029c1a83e remove InsTrim 2021-03-25 15:35:06 +01:00
Jiangen Jiao
c892642057 android: support host and target 32bit build 2021-03-25 20:40:31 +08:00
vanhauser-thc
72a70423c2 show afl-cc NATIVE when auto used 2021-03-22 09:24:36 +01:00
vanhauser-thc
84534ae2e8 format 2021-03-21 16:23:08 +01:00
Andrea Fioraldi
5be7d9c1cc fix dynamic list usage error in afl-cc 2021-03-19 09:44:04 +01:00
vanhauser-thc
513bd70384 shared linking fix 2021-03-17 12:44:07 +01:00
vanhauser-thc
cdd30c766b fix m32/m64 2021-03-17 11:25:14 +01:00
vanhauser-thc
5e2a5f1110 shmem map size in config.h 2021-03-17 10:27:23 +01:00
vanhauser-thc
c6f1c56c15 fix 2021-03-17 01:27:01 +01:00
vanhauser-thc
413807db01 lto test 2021-03-17 01:25:21 +01:00
vanhauser-thc
7c2436c711 no runtime for shared linking 2021-03-16 19:34:34 +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
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
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
Andrea Fioraldi
c429021de1 fix typos and format 2021-03-05 15:27:10 +01:00
Andrea Fioraldi
af9aeb89d4 afl-cc code for k-ctx 2021-03-04 15:26:15 +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
745bc083d1 fix error msg 2021-02-22 18:22:09 +01:00
vanhauser-thc
7674dac1a1 auto mode for CTX + NGRAM 2021-02-22 18:17:35 +01:00
vanhauser-thc
70fe872940 ensure a valid seed exists 2021-02-22 16:39:38 +01:00
vanhauser-thc
8ad78f5b65 fix 2021-02-21 23:42:08 +01:00
vanhauser-thc
ac9cfd89da how to compare afl++ 2021-02-21 23:27:07 +01:00
Michael Rodler
6caec2169c Revert "llvm bug workaround for lto extint"
This reverts commit e3a5c31307f323452dc4b5288e0d19a02b596a33.
2021-02-15 19:14:28 +01:00
vanhauser-thc
e3a5c31307 llvm bug workaround for lto extint 2021-02-15 13:25:15 +01:00
vanhauser-thc
9bd1e19d7f added AFL_IGNORE_UNKNOWN_ENVS 2021-02-13 22:43:56 +01:00
aflpp
1ba5d1008e fuck you llvm 13 2021-02-13 10:53:40 +01:00
vanhauser-thc
0ad56167c5 fix scan-build issues 2021-02-07 07:51:29 +01:00
vanhauser-thc
d920104248 remove compiler warnings 2021-02-06 12:26:51 +01:00
hexcoder
58a5372bf0
typo 2021-02-03 14:18:35 +01:00
van Hauser
1f71b85426 automagically fix sanitize fuzzer+coverage 2021-02-02 10:05:10 +01:00
van Hauser
654f389e73 try to remove warnings during compilation 2021-02-01 23:36:27 +01:00
van Hauser
b9f469e12f make some really weird targets compile 2021-02-01 20:00:29 +01:00
van Hauser
7a861498c2 added support for __afl_coverage_interesting 2021-01-31 15:04:40 +01:00
van Hauser
ce673ccab3 remove snapshot reference 2021-01-28 19:19:57 +01:00
van Hauser
2a9fcd2a87 warn on afl-gcc/afl-clang instrumentation 2021-01-28 18:01:27 +01:00