157 Commits

Author SHA1 Message Date
hexcoder-
87d27b8616 add AFL_NO_PYTHON to list of env variables 2020-04-17 13:29:32 +02:00
van Hauser
76e15a0695 refactoring getting the map size 2020-04-17 11:56:08 +02:00
van Hauser
6bd49b1d5c final fix for map_size 2020-04-17 11:24:40 +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
5b70d23211 added AFL_MAP_SIZE (wip) 2020-04-17 09:10:49 +02:00
van Hauser
16ce555845 fixed 2 unimportant leaks 2020-04-17 07:52:21 +02:00
Dominik Maier
6940e13629 removed redundent funcs 2020-04-16 17:50:08 +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
d928b148d8 tackeled some warnings 2020-04-10 20:57:46 +02:00
Dominik Maier
f0f83bab52 resize fix + code format 2020-04-10 17:47:22 +02:00
van Hauser
66f535ad61 check for empty AFL env vars 2020-04-09 16:27:00 +02:00
van Hauser
314debb799 ctx done 2020-04-09 10:23:37 +02:00
Andrea Fioraldi
24ad714d0d update env with AFL_NO_SNAPSHOT 2020-04-09 10:23:37 +02:00
van Hauser
ccbcb5c8d3 added AFL_LLVM_INSTRUMENT, made USE_TRACE_PC obselete and llvm_mode Makefile fix, fixed for FUSELD (for LTO) 2020-04-09 10:23:37 +02:00
Dominik Maier
b83a2c1a00 make travis happy 2020-04-01 13:10:07 +02:00
Dominik Maier
5bc6dccbbd src doku is now markdown 2020-04-01 13:10:07 +02:00
Dominik Maier
42ee300e92 dropped make switches 2020-04-01 13:10:07 +02:00
van Hauser
34c090a31d add CFI sanitizer 2020-04-01 13:10:05 +02:00
van Hauser
5a74cffa0f added llvm_mode ngram coverage 2020-03-20 17:10:44 +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-
08fe1e2cd7 afl-common.c: fix my error: argv is a copy (ck_alloc based)
Now unicorn_mode works with ASAN_BUILD and _WANT_ORIGINAL_AFL_ALLOC
and DEBUG_BUILD also.
2020-03-13 20:37:39 +01:00
hexcoder-
d2787519e3 afl-common.c: ... but that breaks unicorn_mode, which it should not. 2020-03-13 10:06:02 +01:00
hexcoder-
23d0cea3c9 afl-common.c: avoid AFL++'s allocation API for libc's argv[] and reduce
complexity for cwd
2020-03-13 01:21:07 +01:00
hexcoder-
8adc2648f8 fix afl-common.c for *BSD 2020-03-12 21:43:53 +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
1136e887bd now wiht 90% less leaks 2020-03-09 21:34:11 +01:00
van Hauser
416020daef quickfix for first big bug that use_stdin was not correctly initialized and could not be set 2020-03-09 19:42:23 +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
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
dcf7d85cba honor no_quiet for missing llvm_mode output, also print to stderr with afl-*-rt.o.c instead of stdout for errors plus two potential bad free() fixes 2020-03-09 10:56:53 +01:00
Dominik Maier
3ac568c40c
Fix leaks when stopping afl (#228) 2020-03-05 20:23:04 +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
hexcoder-
891b568678 fix references to README docs 2020-02-25 08:34:44 +01:00
hexcoder-
d23d44a3d5 fix stupid gcc compiler warnings on arm32 (specified size 4294967284 exceeds maximum object size 2147483647) 2020-02-23 09:54:07 +01:00
van Hauser
204059c61a check for mistyped env vars 2020-02-16 18:16:10 +01:00
van Hauser
1edc392194 afl-showmap fix 2020-02-05 17:33:02 +01:00
van Hauser
0d5a8f69e9 fixed Heiko's global search-replace :) 2020-01-20 19:21:44 +01:00
van Hauser
3b9517ae73 v2.60d and year 2020 init 2019-12-31 13:01:08 +01:00
van Hauser
878a80de7f critical bugfix for afl-tmin 2019-12-30 22:01:36 +01:00
hexcoder-
c83e8e1e62 Remove lcamtuf's old email from Google (not valid anymore), also remove maintainance from him. 2019-10-19 18:23:01 +02:00