97 Commits

Author SHA1 Message Date
van Hauser
26f8708fed fix warning, code format 2020-05-10 11:35:31 +02:00
Dominik Maier
66eee34709 refactored global lists 2020-04-26 02:32:09 +02:00
Dominik Maier
8197e9b2e4
clang-tidy readability-braces (#323) 2020-04-19 16:42:40 +02:00
van Hauser
5b70d23211 added AFL_MAP_SIZE (wip) 2020-04-17 09:10:49 +02:00
van Hauser
c961925356 fix plot_data output and code-format 2020-04-17 07:10:42 +02:00
Dominik Maier
6dc36f1e6e unified forkservered run_target, fixes #308 2020-04-14 19:27:25 +02:00
Dominik Maier
326ab632c3 fixed uaf and warnings 2020-04-13 16:57:19 +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
Dominik Maier
29ee3a1ffc refactored cmplog 2020-04-11 01:09:07 +02:00
van Hauser
3a509c6168
LTO optimization, variable map size, autodictionary (#307)
* lto module clean-up

* step 1/3

* step 1/3 completed

* if tmp is ever made non-static

* parts 2 and 3 - autodictionary is complete

* variable map_size support

* variable map size: changed overlooked functions

* remove debug for autodict

* 64 bit alignment of map size

* fix review comments

* force 64 bit alignment on both sides

* typo
2020-04-10 22:33:11 +02:00
Dominik Maier
f0f83bab52 resize fix + code format 2020-04-10 17:47:22 +02:00
hexcoder-
fbf5e08425 merge PR#306 from neoni (thanks), silence test when bash is not found 2020-04-09 18:11:39 +00:00
van Hauser
7a6b66e684 fix limits.h include 2020-04-09 10:23:37 +02:00
hexcoder-
e6daeef55c fix compilation in OpenBSD 2020-04-09 10:23:37 +02:00
Dominik Maier
eca55be4fb minor changes 2020-04-01 13:10:07 +02:00
Dominik Maier
9785b15ed2 more custom mutator remodelling 2020-04-01 13:10:05 +02:00
Dominik Maier
5bd8aa489b fixed leak 2020-04-01 13:10:05 +02:00
Dominik Maier
e71c2937de code format 2020-04-01 13:10:05 +02:00
Dominik Maier
b7f3d180aa not allocating paths anymore 2020-04-01 13:10:05 +02:00
Andrea Fioraldi
ee9447de01 libasan.so is not a thing. libclang-rt.asan-ARCH.so is the asan DSO and it is not linked by default. Search for __asan_init instead. 2020-03-23 10:09:55 +01:00
Dominik Maier
f08a3fedf6 renamed UB to rand_below 2020-03-21 22:26:13 +01:00
van Hauser
5cf3426834 remove debug code 2020-03-21 22:17:57 +01:00
Dominik Maier
54d01fec43 moved string formatting to header 2020-03-21 21:48:52 +01:00
van Hauser
c6db05c5ae test.sh with -no-pie 2020-03-21 21:10:38 +01:00
Dominik Maier
6f78b67f03 adjusted int_bufs 2020-03-21 20:28:01 +01:00
van Hauser
dcd9cd638b fix stat display 2020-03-21 17:42:00 +01:00
Dominik Maier
5b9d306cdf no more (?) statics 2020-03-19 22:54:09 +01:00
Dominik Maier
b22e890ec2 fixed resize; removed more statics 2020-03-19 21:32:08 +01:00
Dominik Maier
b6fa63abdf code format 2020-03-19 19:23:58 +01:00
Dominik Maier
51a346bcbe 50% less globals 2020-03-19 19:22:57 +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
cfd451c6f3 cmplog was neither quiet nor where its llvm passes installed 2020-03-17 16:26:51 +01:00
Dominik Maier
a57896a7ce fixed segfault on early bailout 2020-03-17 00:00:36 +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
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
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
38d9aedb26 code-format - and afl-cmin/afl-showmap was fixed in the bugfix for afl-tmin 2020-03-10 06:54:31 +01:00
Dominik Maier
782cffb130 fixed numerous leaks 2020-03-09 19:30:26 +01:00
van Hauser
988a32ced5 code-format 2020-03-09 12:21:54 +01:00
Dominik Maier
dba3595c0a
AFL without globals (#220)
* moved globals to afl, shm and fsrv 

* moved argv to afl state, less bugs

* fixed unicorn docu

* lists everywhere

* merged custom mutators

* fixed leaks in afl-fuzz
2020-03-09 11:24:10 +01:00
van Hauser
36ce9c1fb9 more code format 2020-03-09 08:30:28 +01:00
h1994st
031946136b Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus 2020-03-02 15:27:31 -05:00
h1994st
7b59e05600 Add new APIs for the custom mutator 2020-03-02 15:27:29 -05:00
Dominik Maier
3e0a3ec45f migrated autoresume to use get_afl_env 2020-03-01 14:09:21 +01:00
Dominik Maier
6865cd8d69 Added AFL_AUTORESUME option 2020-03-01 13:47:33 +01:00
van Hauser
95322c11d9 print OKF if an environment variable is successfully loaded - feebdack to this please ... 2020-02-29 20:49:16 +01:00
van Hauser
4e37e12c06 code-format 2020-02-28 00:19:36 +01:00
hexcoder-
891b568678 fix references to README docs 2020-02-25 08:34:44 +01:00