799 Commits

Author SHA1 Message Date
Dominik Maier
e9c7610cb7 edited custom mutator pre_save api 2020-03-27 11:06:06 +01:00
Dominik Maier
6d3dc83c5d code format 2020-03-27 11:06:06 +01:00
Dominik Maier
77b81e7361 custom mutators might work again like this 2020-03-23 18:18:54 +01:00
Dominik Maier
83f925ccc9 unsafer 2020-03-23 15:02:26 +01:00
Dominik Maier
cbde30e9d4 less branches, cleanup 2020-03-23 00:14:03 +01:00
van Hauser
d39e9ea11c little performance enhancements 2020-03-22 19:06:39 +01:00
van Hauser
7374af51d1 silly, silly typo 2020-03-22 10:07:59 +01:00
van Hauser
5a0cc43ee1 all afl msgs to stdout and only read AFL_BENCH_JUST_ONE once 2020-03-22 09:26:46 +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
van Hauser
29853549c3 add RARE schedule. also fixes doc_path 2020-03-20 08:54:09 +01:00
Dominik Maier
5b9d306cdf no more (?) statics 2020-03-19 22:54:09 +01:00
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