1074 Commits

Author SHA1 Message Date
van Hauser
6177954773 fix custom mutators and add real test cases 2020-05-12 16:32:40 +02:00
van Hauser
7b40d7b942 new code formatting + applied 2020-05-12 11:12:25 +02:00
Andrea Fioraldi
8bb10c3bf1 fix issue in describe_op showing time inside src 2020-05-12 09:20:02 +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
van Hauser
2e553bcd69 code-format 2020-05-10 10:24:24 +02:00
David CARLIER
515de0d68d
Illumos biuld fix (#357) 2020-05-10 00:21:26 +02:00
van Hauser
c380819e02 remove debug output 2020-05-09 11:58:47 +02:00
van Hauser
fa84e52af0 custom mutator code enhancements and code-format 2020-05-09 11:35:54 +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
ef2ccc8117 added AFL_LLVM_SKIPSINGLEBLOCK and changed default behaviour to instrument single block functions 2020-05-07 14:59:12 +02:00
van Hauser
02887dc164 fix static and profiling compilation and add profiling calculation 2020-05-07 14:09:58 +02:00
van Hauser
5b1b986c89 fix for afl-tmin -f 2020-05-03 14:19:03 +02:00
van Hauser
378573ab8b AFL_LLVM_SKIP_NEVERZERO added 2020-05-02 00:39:13 +02:00
Dominik Maier
cc78fb721b code format 2020-05-01 01:11:54 +02:00
van Hauser
efa9df24c2 afl-untracer completed 2020-04-30 17:59:59 +02:00
van Hauser
a37eca9df5 afl-untracer - next step 2020-04-30 16:27:31 +02:00
van Hauser
fbd9994f6f better fix for showmap 2020-04-27 22:11:58 +02:00
van Hauser
087c368242 better fix for showmap 2020-04-27 22:10:08 +02:00
van Hauser
a56354a893 fix for afl-showmap with -Q 2020-04-27 19:30:32 +02:00
van Hauser
4ffa5b0636 fix negative stability bug (hopefully) 2020-04-26 18:42:42 +02:00
Dominik Maier
66eee34709 refactored global lists 2020-04-26 02:32:09 +02:00
Dominik Maier
85627516a4 map_size one liner 2020-04-26 02:05:17 +02:00
Dominik Maier
b26ee09f71 minor fixes 2020-04-26 01:59:38 +02:00
van Hauser
62aacf88ab fix simple names 2020-04-24 23:26:38 +02:00
van Hauser
766085293d variable map size fix, error reporting through forkserver, code format 2020-04-24 12:09:25 +02:00
Rick van Schijndel
82b6b8c87e afl-gcc and afl-clang: fail when binary name can't be used to determine build mode
This is a continuation of PR #318.
The goal is to prevent issues where binaries with the wrong name will
silently pass control to the C compiler instead of failing.
This makes it more explicit that aflplusplus relies on the name of the
binary for correct compiler execution.
2020-04-23 23:21:38 +02:00
van Hauser
cce8c4dbae fixed map location support for LTO 2020-04-23 08:56:06 +02:00
Andrea Fioraldi
df8a0e8418 Merge branch 'dev' of github.com:vanhauser-thc/AFLplusplus into dev 2020-04-22 13:51:40 +02:00
Andrea Fioraldi
b8a25063f6 fix sed errors in afl_shm_init when using mmap 2020-04-22 13:51:36 +02:00
Dominik Maier
3d52079a7c removed done todo 2020-04-20 22:18:39 +02:00
Dominik Maier
280374f739 clang warning fixed 2020-04-20 22:07:47 +02:00
Dominik Maier
ce15937717 code format 2020-04-20 21:54:55 +02:00
Dominik Maier
8197e9b2e4
clang-tidy readability-braces (#323) 2020-04-19 16:42:40 +02:00
Dominik Maier
49753eb2d0 unused var 2020-04-17 14:27:28 +02:00
van Hauser
6ee11c2a6f little more speed for queue analysis 2020-04-17 14:08:40 +02:00
hexcoder-
ef1d384184 add missing limits.h include for PATH_MAX (OpenBSD) 2020-04-17 13:45:22 +02:00
hexcoder-
a6d4f04019 Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev 2020-04-17 13:30:12 +02:00
hexcoder-
87d27b8616 add AFL_NO_PYTHON to list of env variables 2020-04-17 13:29:32 +02:00
hexcoder-
f22d8120ef fix afl-showmap for PATH_MAX on *BSD 2020-04-17 13:22:39 +02:00
Dominik Maier
8ecfbcdf34 removed tmp alloc in queue 2020-04-17 13:15:24 +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
6bd49b1d5c final fix for map_size 2020-04-17 11:24:40 +02:00
Dominik Maier
2d4d16755c merged upstream 2020-04-17 11:20:09 +02:00
Dominik Maier
bfcf6db17a fixes 2020-04-17 11:18:04 +02:00
van Hauser
bda4d8812e forgot MAP_SIZE for afl struct maps 2020-04-17 11:15:04 +02:00
Dominik Maier
90ff345d73 Merge branch 'dev' of github.com:aflplusplus/aflplusplus into dev 2020-04-17 11:01:20 +02:00
Dominik Maier
8fa5d4c313 clearer code 2020-04-17 11:01:14 +02:00
van Hauser
2162fd8e1a preliminary stuff for AFL_MAP_SIZE and afl-llvm-pass 2020-04-17 10:46:35 +02:00