76 Commits

Author SHA1 Message Date
Your Name
1725e6be31 Fix support for afl-cmin and updated README 2021-03-25 17:41:14 +00:00
Your Name
e1384b5086 Add support for FRIDA mode 2021-03-24 18:17:10 +00:00
vanhauser-thc
dfe6f7f8c9 make setting different file permissions easy via config.h 2021-03-23 20:21:08 +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
vanhauser-thc
b6dc529bc3 no ASAN odr violations by default 2021-03-04 14:55:57 +01:00
van Hauser
9d08f0d098 added AFL_CMPLOG_ONLY_NEW feature 2021-01-30 15:39:47 +01:00
Andrea Fioraldi
6f5746d428 AFL_USE_QASAN 2021-01-29 15:38:49 +01:00
Joey Jiao
0306261fec Fix build error for Android
- LTO not work yet
2021-01-20 15:46:39 +08:00
hexcoder-
c6e038fe25 code cleanups (shadowed vars, (un)signed type mismatches, format types, etc.) 2021-01-04 20:40:53 +01:00
van Hauser
03849d147a warn on _AFL and __AFL env vars 2020-12-23 17:56:39 +01:00
hexcoder-
e790667fd2 one more with nonstd array initializers 2020-12-22 20:29:22 +01:00
Dominik Maier
a2e2fae840 AFL_CRASH_EXITCODE env var added, u8->bool 2020-12-03 14:43:06 +01:00
van Hauser
029d44a6ec asan_build for tmin and analyze 2020-10-24 19:20:27 +02:00
van Hauser
ca938e7c4e asan_build for tmin and analyze 2020-10-24 19:11:41 +02:00
hexcoder-
01ec0cce47 fix for afl-analyze thanks to JJY-sec! 2020-10-10 15:44:47 +02:00
Dominik Maier
22d3a5e90a enabled Wextra, fixed bugs 2020-08-07 16:55:58 +02:00
Andrea Fioraldi
139665c01d ubsan options 2020-07-03 10:20:10 +02:00
hexcoder-
07fead0466 fix shared memory leaks in afl-showmap, initialize cmplog_mode 2020-06-26 01:14:21 +02:00
Dominik Maier
dc002b4b35 code format 2020-06-15 11:08:24 +02:00
David Carlier
67d87dd2a9 Porting to Haiku.
getrusage does not implement resident memory gathering, no shm api neither.
2020-06-14 15:32:02 +00:00
van Hauser
40aca0b6b3 fix for checksums 2020-06-12 16:33:20 +02:00
van Hauser
a632c00b0d switch to faster and better hash + random 2020-06-12 16:08:49 +02:00
van Hauser
7b40d7b942 new code formatting + applied 2020-05-12 11:12:25 +02:00
van Hauser
30bfd44dfd indenting preprocessor directives breaks compilation and cant be fixed, reverting ... :-( 2020-05-10 12:09:37 +02:00
van Hauser
26f8708fed fix warning, code format 2020-05-10 11:35:31 +02:00
David CARLIER
515de0d68d
Illumos biuld fix (#357) 2020-05-10 00:21:26 +02:00
Dominik Maier
8197e9b2e4
clang-tidy readability-braces (#323) 2020-04-19 16:42:40 +02:00
van Hauser
76e15a0695 refactoring getting the map size 2020-04-17 11:56:08 +02:00
van Hauser
248a2f2f0b added AFL_MAP_SIZE to env help output 2020-04-17 10:21:41 +02:00
van Hauser
5b70d23211 added AFL_MAP_SIZE (wip) 2020-04-17 09:10:49 +02:00
Dominik Maier
35937e6263 leak? 2020-04-16 19:33:40 +02:00
Dominik Maier
69bd7c16eb silence some clang warnings 2020-04-16 19:15:14 +02:00
Dominik Maier
6940e13629 removed redundent funcs 2020-04-16 17:50:08 +02:00
Dominik Maier
b10007a7b5 renamed duplicated func names 2020-04-16 15:32:04 +02:00
Dominik Maier
c009896c34 code format 2020-04-14 19:29:18 +02:00
Dominik Maier
6dc36f1e6e unified forkservered run_target, fixes #308 2020-04-14 19:27:25 +02:00
Dominik Maier
a897f355a9 code format 2020-04-13 16:57:41 +02:00
Dominik Maier
326ab632c3 fixed uaf and warnings 2020-04-13 16:57:19 +02:00
Dominik Maier
995e556065 cmplog forkserver tidying 2020-04-13 08:54:59 +02:00
David CARLIER
7919545499
Better solution for ARM64 build fix (#315) 2020-04-12 16:55:52 +02:00
David CARLIER
ee4e1936d0
build on arm64 fix. tested on Android. (#313) 2020-04-12 14:20:10 +02:00
van Hauser
32ba60185e more refactoring and update changelog 2020-04-11 08:02:54 +02:00
Dominik Maier
29ee3a1ffc refactored cmplog 2020-04-11 01:09:07 +02:00
Dominik Maier
25d6d21617 code format 2020-04-01 13:10:07 +02:00
Dominik Maier
b83a2c1a00 make travis happy 2020-04-01 13:10:07 +02:00
Dominik Maier
b22e890ec2 fixed resize; removed more statics 2020-03-19 21:32:08 +01:00
van Hauser
684f4dd1c4 honor afl_quiet on env var checks + code-format 2020-03-11 11:42:57 +01:00
Dominik Maier
cc1d6b33b1 unified pointer placement 2020-03-10 22:04:05 +01:00
van Hauser
73a1b39446 quickfix for first big bug that use_stdin was not correctly initialized and could not be set 2020-03-09 19:40:59 +01:00
van Hauser
988a32ced5 code-format 2020-03-09 12:21:54 +01:00