93 Commits

Author SHA1 Message Date
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
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
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
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
van Hauser
cc72f5dfd0 clarify -N option 2020-03-05 11:04:55 +01:00
h1994st
445d4b7e59 Update the documents of the custom mutator
- Merge python_mutators.md into custom_mutator.md
- Remove python_mutators.md
2020-03-03 23:17:24 -05:00
h1994st
df46521658 Finish refactoring APIs for the custom mutator and Python module
- Remove AFL_PYTHON_ONLY (env) and python_only (variable)
- Unify fuzz API of the custom mutator and Python module
- Merge the custom mutator into the old python_stage, which is now renamed to custom_mutator_stage
2020-03-03 19:48:13 -05:00
h1994st
90506479e7 Refactoring fuzz_py API 2020-03-02 21:30:10 -05: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
43e97a5aa2 Autoresume added to help 2020-03-02 16:10:08 +01: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
6730b6a15a code-format, env.md fixes and adding -hh for env usage display into afl-fuzz and Makefile 2020-02-29 14:23:44 +01:00
hexcoder-
6e08be1d0b add env info to afl-fuzz (please review!), small clarifications in docs/env_variables.md 2020-02-28 22:02:55 +01:00
hexcoder-
caa8fea8e2 add env info to afl-showmap, in qemu_mode add forgotten MacOSX env var to afl-analyze, afl-fuzz, afl-tmin 2020-02-28 03:31:50 +01:00
van Hauser
4e37e12c06 code-format 2020-02-28 00:19:36 +01:00
Konrad Welc
3549cbb3a2 Fix hanging fork and child with -V -E
If we let multiple fuzzers end with -V or -E option, it will cause it to think we are still occupying the cores, even if they are free, once we try to run another job it would return an error that no free nodes are available.

This change fixes that problem.
2020-02-27 00:09:26 +01:00
hexcoder-
891b568678 fix references to README docs 2020-02-25 08:34:44 +01:00
Andrea Fioraldi
7323833888 block the usage of mopt with optionals mutators (redqueen/radamsa/etc...) 2020-02-21 16:50:06 +01:00
van Hauser
f9d7ad8e43 forgot cleanup 2020-02-19 10:52:44 +01:00
van Hauser
ecce840eca moved AFL_TMPDIR check further down and better error message 2020-02-18 21:41:28 +01:00
van Hauser
273e3aed10 allow -i - resume with AFL_TMPDIR 2020-02-18 21:09:44 +01:00
Andrea Fioraldi
0a5929cc85 better -h for cmplog 2020-02-18 11:30:15 +01:00
hexcoder-
8330e0e8ba fix issue #198 AFL_TMPDIR is ignored for file .cur_input 2020-02-17 22:29:17 +01:00
van Hauser
55e90c0c36 code format 2020-02-17 08:26:26 +01:00
van Hauser
e40415cf16 fix 2020-02-16 19:22:12 +01:00
van Hauser
204059c61a check for mistyped env vars 2020-02-16 18:16:10 +01:00
Andrea Fioraldi
420b1aa859 Merge branch 'master' of github.com:vanhauser-thc/AFLplusplus 2020-02-07 20:43:32 +01:00
Andrea Fioraldi
f2f6be5e99 afl qemu persistent hook 2020-02-07 20:43:17 +01:00
van Hauser
e360726730 todo update 2020-02-07 19:41:48 +01:00
van Hauser
542bea37fb fix MDs 2020-02-03 16:10:16 +01:00
Andrea Fioraldi
e2eedefc65 docs to md 2020-02-03 13:02:16 +01:00
Dominik Maier
b4d9d56af4 broader python support 2020-02-03 10:55:15 +01:00
Andrea Fioraldi
4384008f81 AFL_ALIGNED_ALLOC in libdislocator 2020-02-01 19:12:26 +01:00
Andrea Fioraldi
6e9fce1c2d
Merge branch 'master' into CmpLog 2020-01-30 22:52:27 +01:00
Andrea Fioraldi
b15cd4a82a cmplog check_binary 2020-01-30 22:43:04 +01:00
van Hauser
0d5a8f69e9 fixed Heiko's global search-replace :) 2020-01-20 19:21:44 +01:00
van Hauser
b8bad5a227 fix for getopt 2020-01-19 22:29:40 +01:00
Andrea Fioraldi
55e9297202 first experiment cmplog 2020-01-17 16:39:05 +01:00
Andrea Fioraldi
b2bee5c32a moar moar copyrights 2020-01-06 16:17:23 +01:00