167 Commits

Author SHA1 Message Date
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
ef2ccc8117 added AFL_LLVM_SKIPSINGLEBLOCK and changed default behaviour to instrument single block functions 2020-05-07 14:59:12 +02:00
van Hauser
378573ab8b AFL_LLVM_SKIP_NEVERZERO added 2020-05-02 00:39:13 +02:00
van Hauser
a37eca9df5 afl-untracer - next step 2020-04-30 16:27:31 +02:00
Dominik Maier
66eee34709 refactored global lists 2020-04-26 02:32:09 +02:00
van Hauser
766085293d variable map size fix, error reporting through forkserver, code format 2020-04-24 12:09:25 +02:00
van Hauser
cce8c4dbae fixed map location support for LTO 2020-04-23 08:56:06 +02:00
Dominik Maier
8197e9b2e4
clang-tidy readability-braces (#323) 2020-04-19 16:42:40 +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
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