285 Commits

Author SHA1 Message Date
Dominik Maier
0fa47bb867 removed unneeded func 2020-03-19 21:33:17 +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
3aa7242925 added mmopt power schedule 2020-03-17 21:42:36 +01:00
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-
e77c431582 fix compilation under FreeBSD: ugly name clash of LIST_FOREACH (FreeBSDs fault) 2020-03-14 13:21:39 +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
1148a2d0d1 document new environment variables and code format 2020-03-10 07:14:42 +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
Dominik Maier
253bbf3a5c replaced free with ck_free 2020-03-09 19:36:02 +01:00
van Hauser
a24352ddfd fix leaks 2020-03-09 15:52:14 +01:00
Andrea Fioraldi
2f41663673 copyleft note 2020-03-09 14:43:40 +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
8e953d9931
Merge pull request #240 from rish9101/refactor
Remove get_cut_time function from multiple places and refactor code
2020-03-09 09:30:25 +01:00
van Hauser
36ce9c1fb9 more code format 2020-03-09 08:30:28 +01:00
rish9101
1a582d54e5 Remove get_cut_time function from multiple places and refactor code 2020-03-09 10:04:32 +05:30
h1994st
8f93cf5c55 Add two new hooks for the custom mutator
- `afl_custom_queue_get` and `afl_custom_queue_new_entry`
- Update the corresponding document and examples
2020-03-07 16:28:48 -05:00
Andrea Fioraldi
ed5d65b54f solve linking error when python is not available 2020-03-07 14:26:33 +01:00
Andrea Fioraldi
172d384bf2 custom havoc mutation 2020-03-07 12:11:06 +01:00
van Hauser
9d686ba523
Add LTO collision free llvm_mode (#223)
* first new implementation, only works with AFL_DONT_OPTIMIZE

* bug hunting

* interim commit

* finalized LTO non-collision solution

* update documentation

* merge resulted in some problems, fixing these

* added lto env to env check

* fixed llvm weirdness to messes up our instrumentation due CFG rewrite optimizations

* all llvm instrumentation issues have been resolved! :-)

* llvm 9 is required (so far)

* update lto readme
2020-03-05 10:52:26 +01:00
Andrea Fioraldi
e43473faef
Merge pull request #221 from h1994st/master
Uniform Python and custom mutator API
2020-03-04 18:38:03 +01:00
van Hauser
05a3418f86 added __afl_final_loc to all compile RTs 2020-03-04 01:51:41 +01: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
7862416844 Uniform API for both Python and custom mutator 2020-03-02 19:29:41 -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
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
van Hauser
212e5d1a72 v2.62d 2020-02-28 01:16:36 +01:00
van Hauser
20b8fc075b v2.62c 2020-02-28 01:12:44 +01:00
van Hauser
f526bb2ecb better alloc-inl.h 2020-02-28 00:35:59 +01:00
van Hauser
4e37e12c06 code-format 2020-02-28 00:19:36 +01:00
Andrea Fioraldi
d83ab141f6 cpyright 2020-02-27 23:22:29 +01:00
Andrea Fioraldi
11236dd545 restore alloc-inl from AFL 2020-02-27 21:11:45 +01:00
hexcoder-
901360b902 sync afl-as setup with afl-llvm-rt (add __afl_area_ptr[0] = 1) 2020-02-24 23:19:56 +01:00
van Hauser
9cc8ebd351 2.61d init 2020-02-24 17:26:02 +01:00
van Hauser
3f6bfbd981 v2.61c 2020-02-24 17:24:06 +01:00
van Hauser
f807d7cefb important InsTrim fixes! 2020-02-24 02:45:17 +01:00
van Hauser
ec8e8cb51c no unnecessary warnings in test.sh 2020-02-21 18:10:50 +01:00
Andrea Fioraldi
97d34b52d7
Merge pull request #202 from vanhauser-thc/cmplog_routines
Cmplog routines for LLVM mode
2020-02-19 20:48:26 +01:00
van Hauser
f9d7ad8e43 forgot cleanup 2020-02-19 10:52:44 +01:00