3919 Commits

Author SHA1 Message Date
Joshua Rogers
fee7470083 Remove check for exit_code on LSAN and replace it with check for
symbolize=0.
2021-04-03 14:57: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
van Hauser
e98cd00822
Merge pull request #831 from AFLplusplus/dev
Push to stable
2021-03-19 19:04:59 +01:00
vanhauser-thc
2102264acf fix for new llvm 13 change 2021-03-19 16:06:06 +01:00
vanhauser-thc
e73c7c59c1 refactor finding binaries 2021-03-19 14:55:25 +01:00
vanhauser-thc
99525dee38 remove unneeded code 2021-03-19 10:57:18 +01:00
vanhauser-thc
848ea17154 add header to PCGUARD 2021-03-19 10:42:23 +01:00
Andrea Fioraldi
1cdf0a898c update test-dlopen tuples number 2021-03-19 09:58:27 +01:00
Andrea Fioraldi
00913bce81 update dynamic list with cmplog 2021-03-19 09:56:00 +01:00
Andrea Fioraldi
5be7d9c1cc fix dynamic list usage error in afl-cc 2021-03-19 09:44:04 +01:00
Andrea Fioraldi
44347beff0 check test-dlopen return code 2021-03-18 21:44:20 +01:00
Andrea Fioraldi
166c8f93b5 test-dlopen llvm test 2021-03-18 21:34:12 +01:00
Dominik Maier
9393452d1c
The official casing is AFLplusplus 2021-03-18 18:42:33 +01:00
hexcoder
66fa76a061
typo 2021-03-18 16:41:02 +01:00
vanhauser-thc
d2e7c4ec05 better installation example 2021-03-18 14:04:18 +01:00
vanhauser-thc
10fb46301c afl-fuzz cleanup 2021-03-18 11:05:53 +01:00
vanhauser-thc
94312796f9 better map variability 2021-03-17 13:16:02 +01:00
Andrea Fioraldi
adeeed9e43 fix dynamic list 2021-03-17 12:48:30 +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
hexcoder
a7797f0cb9
fix is now closer to original statement 2021-03-17 08:04:29 +01:00
Dominik Maier
b715050de9 deepclean no longer removes submodules 2021-03-17 05:13:34 +01:00
Dominik Maier
da5a32792d bring back unicornafl 2021-03-17 04:56:24 +01:00
vanhauser-thc
f36341b3b4 when you think you work on a debug branch but it is dev. git sucks so much ... 2021-03-17 02:00:14 +01:00
vanhauser-thc
dda4757b35 debug 2021-03-17 01:40:27 +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
f59ef29c26 fix attempt 2021-03-17 01:08:10 +01:00
vanhauser-thc
65b90001f6 debug 2021-03-16 23:24:34 +01:00
hexcoder
6840e8fd2a
fix two bugs in error message
$1 and $2 have been modified here by two previous shift commands.
2021-03-16 22:58:10 +01:00
vanhauser-thc
7c2436c711 no runtime for shared linking 2021-03-16 19:34:34 +01:00
Andrea Fioraldi
c2df65a0af Merge branch 'dev' of github.com:AFLplusplus/AFLplusplus into dev 2021-03-16 17:04:59 +01:00
Andrea Fioraldi
175a275a3d changelog 2021-03-16 17:04:52 +01:00
vanhauser-thc
bd64315395 blacklist sanitize and debug in c++ 2021-03-16 16:54:48 +01:00
Andrea Fioraldi
65e3770bad qemuafl 2021-03-16 16:32:35 +01:00
vanhauser-thc
f5420e737a rtn fix 2021-03-16 16:15:29 +01:00
Andrea Fioraldi
4e567d3f5d update qemuafl 2021-03-16 15:38:45 +01:00
vanhauser-thc
1227776251 fix cmplog 2021-03-16 14:39:48 +01:00
vanhauser-thc
862cb3217f fix cmplog rtn 2021-03-16 14:38:13 +01:00
Andrea Fioraldi
8e11546536
Merge pull request #816 from realmadsci/add-more-qasan-checks
Add more qasan checks
2021-03-16 09:10:42 +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
vanhauser-thc
1dcc3549b6 v3.12a init 2021-03-15 23:21:03 +01:00
van Hauser
23f7bee81c
Merge pull request #820 from AFLplusplus/dev
push to stable
3.11c
2021-03-15 23:14:07 +01:00
vanhauser-thc
ac795ae1e1 v3.11c release 2021-03-15 23:08:28 +01:00
vanhauser-thc
aa6a50c2b4 fix test 2021-03-15 23:01:07 +01: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