137 Commits

Author SHA1 Message Date
van Hauser
c380819e02 remove debug output 2020-05-09 11:58:47 +02:00
Rishi Ranjan
190f3024da
Support multiple custom mutators (#282)
* Make a list of custom mutators using env variable

* Set up multiple custom mutators

* Add destroy custom mutator and changes to load_custom_mutator

* Use array instead of list, make changes to afl-fuzz-one for multiple mutators

* Make change to fuzz-one custom_queue_get to support multiple mutators

* Modify custom python mutator support

* Fix bug

* Fix missing afl->mutator->data

* Revert to list with max count

* Change custom_pre_save hook and code format

* Free custom_mutator struct in the list

* Add testcase for multiple custom mutators

* Resolve merge conflict
2020-05-08 20:08:27 +02:00
van Hauser
02887dc164 fix static and profiling compilation and add profiling calculation 2020-05-07 14:09:58 +02:00
Dominik Maier
8197e9b2e4
clang-tidy readability-braces (#323) 2020-04-19 16:42:40 +02:00
hexcoder-
ef1d384184 add missing limits.h include for PATH_MAX (OpenBSD) 2020-04-17 13:45:22 +02:00
van Hauser
76e15a0695 refactoring getting the map size 2020-04-17 11:56:08 +02:00
van Hauser
1931838a11 remove unnecessary map_size variables 2020-04-17 11:39:38 +02:00
van Hauser
bda4d8812e forgot MAP_SIZE for afl struct maps 2020-04-17 11:15:04 +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
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
6dc36f1e6e unified forkservered run_target, fixes #308 2020-04-14 19:27:25 +02:00
Andrea Fioraldi
1d62bf1c37 solve conflicts 2020-04-14 10:12:41 +02:00
Andrea Fioraldi
982d46e7cb solve conflicts 2020-04-14 10:11:22 +02:00
Andrea Fioraldi
1fbface656 cmplog is now better 2020-04-14 10:09:03 +02:00
van Hauser
dda096da03 allow -L -1 to enable mopt in parallel to classic mutation 2020-04-13 12:12:27 +02:00
Andrea Fioraldi
033c743a41 fix all cmplog errors 2020-04-13 11:37:48 +02:00
Andrea Fioraldi
0022cc4782 fix some cmplog refactoring bugs 2020-04-13 10:40:24 +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
cc3ac932d9 fix -E/-V 2020-04-11 09:16:30 +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
39e8b91806 code format 2020-04-10 22:54:31 +02:00
Dominik Maier
3209a9d4e8 removed vla for tmpfile 2020-04-10 20:35:16 +02:00
Dominik Maier
0b9f7c4c89 added back afl_state_deinit 2020-04-10 14:34:17 +02:00
van Hauser
04360a35ed fix review comments by Heiko 2020-04-09 10:23:37 +02:00
hexcoder-
ae05f5c4b0 afl-fuzz: add usage info when no python support is there, use it in test.sh 2020-04-09 10:23:37 +02:00
van Hauser
ecdffa03f8 added snapshot feature to documentation 2020-04-09 10:23:37 +02:00
van Hauser
e8e6dbf839 small enhancements and code-format 2020-04-09 10:23:37 +02:00
van Hauser
e95ac10ff7 fix ASAN check 2020-04-01 13:10:07 +02:00
Dominik Maier
29b1e30126 fixed asan mem limit 2020-04-01 13:10:07 +02:00
van Hauser
24b9eddc7e disable memory limits for ASAN build 2020-04-01 13:10:07 +02:00
Dominik Maier
b83a2c1a00 make travis happy 2020-04-01 13:10:07 +02:00
van Hauser
d39e9ea11c little performance enhancements 2020-03-22 19:06:39 +01:00
van Hauser
5b64681867 a little bit more performance 2020-03-22 18:27:04 +01:00
van Hauser
5a0cc43ee1 all afl msgs to stdout and only read AFL_BENCH_JUST_ONE once 2020-03-22 09:26:46 +01:00
van Hauser
5cf3426834 remove debug code 2020-03-21 22:17:57 +01:00
van Hauser
c6db05c5ae test.sh with -no-pie 2020-03-21 21:10:38 +01:00
van Hauser
29853549c3 add RARE schedule. also fixes doc_path 2020-03-20 08:54:09 +01:00
van Hauser
be261b3e69 moved repository to https://github.com/AFLplusplus/AFLplusplus and updated links 2020-03-19 15:20:39 +01:00
van Hauser
3aa7242925 added mmopt power schedule 2020-03-17 21:42:36 +01:00
van Hauser
61ba214f19 print a completed UI screen on exit without bugs :) 2020-03-15 22:51:22 +01:00
van Hauser
87599de782 fix errors in last commit (u8)afl_get_env 2020-03-15 19:39:03 +01:00
Rishi Ranjan
126d1f1cd1
Move afl-fuzz related env variables into afl_state_t (#252)
* Move afl-fuzz related env variables into afl_state_t

* Move the env variables assignment from fuzz_init and code Format

* Fix typo

* Remove redundant env variables from afl_env struct

* Rename function to read_afl_environment
2020-03-15 18:29:23 +01:00
Dominik Maier
15ba6249fc fauxserver 2020-03-15 17:02:48 +01:00
hexcoder-
746a2a0ed0 afl-fuzz-init.c, afl-fuzz.c: fix more wrong free() calls (found with
ASAN_BUILD=1 CFLAGS="-D_WANT_ORIGINAL_AFL_ALLOC -DDEBUG_BUILD")
2020-03-13 17:23:23 +01:00
Dominik Maier
cc1d6b33b1 unified pointer placement 2020-03-10 22:04:05 +01:00