194 Commits

Author SHA1 Message Date
Dominik Maier
6d3dc83c5d code format 2020-03-27 11:06:06 +01:00
Dominik Maier
89512d4e05 fixed call of custom mutators 2020-03-27 11:06:06 +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
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
f8d717d195 test.sh fix 2020-03-21 21:42:32 +01:00
van Hauser
c6db05c5ae test.sh with -no-pie 2020-03-21 21:10:38 +01:00
Dominik Maier
5b9d306cdf no more (?) statics 2020-03-19 22:54:09 +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
f9f163e48f fix afl-fuzz-document 2020-03-15 17:07:06 +01:00
Dominik Maier
15ba6249fc fauxserver 2020-03-15 17:02:48 +01:00
Rishi Ranjan
f17a3dde1a
Replace timer with select in forkserver, where possible (#246) 2020-03-11 00:34:51 +01:00
Dominik Maier
cc1d6b33b1 unified pointer placement 2020-03-10 22:04:05 +01:00
van Hauser
2832cb643d removed debug output 2020-03-10 16:27:28 +01:00
Rishi Ranjan
cd377f3d99
Replace alarms with select and threads (#243)
* Use select to monitor forkserver for timeouts instead of alarm

* Remove redundent conditons in select monitoring of fdsin forkserver and cmplog

* Replace SIGALARM with POSIX timers in afl-fuzz-run

* Make changes to Makefile to use POSIX timers

* Resolve Merge Conflicts and rename variables accordingly

* Change forkserver and cmplog to handle exec_tmout = 0

* Handle timeout function bug rectify

* Add error handling to afl-fuzz run timers

* Add timer_delete to afl-fuzz-run

* Remove memory leaks
2020-03-10 13:07:29 +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
Dominik Maier
3ac568c40c
Fix leaks when stopping afl (#228) 2020-03-05 20:23:04 +01:00
Andrea Fioraldi
70a67ca67d fix null ptr deref before trim_case_custom call 2020-03-04 19:28:29 +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
7862416844 Uniform API for both Python and custom mutator 2020-03-02 19:29:41 -05:00
Andrea Fioraldi
f5d4618702 stop the fuzzer if AFL_QEMU_PERSISTENT_ADDR is wrong 2020-01-31 18:49:22 +01:00
Andrea Fioraldi
6e9fce1c2d
Merge branch 'master' into CmpLog 2020-01-30 22:52:27 +01:00
van Hauser
0d5a8f69e9 fixed Heiko's global search-replace :) 2020-01-20 19:21:44 +01:00
Andrea Fioraldi
55e9297202 first experiment cmplog 2020-01-17 16:39:05 +01:00
van Hauser
3b9517ae73 v2.60d and year 2020 init 2019-12-31 13:01:08 +01:00
van Hauser
f8bc9b54da added -N no_unlink option 2019-12-02 15:25:17 +01:00
Andrea Fioraldi
124ec8d297 code format (contributors, do it!) 2019-12-02 14:34:21 +01:00
van Hauser
760d4991f3 Android PR integration 2019-11-11 23:50:31 +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
hexcoder-
8a78637719 add gcc_plugin to code formatter and run it 2019-10-19 16:19:46 +02:00
van Hauser
73da639654 revert patch 2019-10-18 08:25:43 +02:00
van Hauser
9c105098dd general maintance 2019-10-04 10:33:28 +02:00
Matt C
8eafa90105 Improved error messaging when unable to communicate with the fork server 2019-10-01 16:00:40 -04:00
van Hauser
b4ca95a9fa afl-fuzz mutation documentation feature 2019-09-22 13:21:15 +02:00
Andrea Fioraldi
6b40189045 first version of persistent QEMU 2019-09-12 12:34:53 +02:00
van Hauser
df379dfcf4 no more unlink 2019-09-10 21:01:33 +02:00
Andrea Fioraldi
e1f18f6212 fix typo in custom format 2019-09-04 10:03:51 +02:00
Andrea Fioraldi
9705ccee67 credits and license header for src/* and include/* 2019-09-04 09:43:09 +02:00
Andrea Fioraldi
b24639d011 run code formatter 2019-09-02 18:49:43 +02:00
Andrea Fioraldi
e9d968e060 afl-fuzz.c completely splitted 2019-09-02 18:41:27 +02:00