45 Commits

Author SHA1 Message Date
van Hauser
bab60b68d9 changed the default schedule to coe 2020-10-04 20:45:59 +02:00
van Hauser
e69b25e34b increase havoc_stack_pow2 on no finds 2020-09-28 10:13:00 +02:00
van Hauser
6b3b1775b6 improving on splice candidate check patch 2020-09-25 12:03:24 +02:00
Vitalii Akolzin
888d63748a Fix potential endless loop in custom_mutator_stage
Co-authored-by: Ivan Gulakov <gulakov@ispras.ru>
2020-09-24 18:25:32 +03:00
van Hauser
5f52f72761 set explore as default, fix schedule display 2020-09-20 14:58:08 +02:00
van Hauser
163e5ffd10 -p seek is now the default 2020-09-05 17:40:39 +02:00
Dominik Maier
e2b54bfa05 code format 2020-08-23 10:40:46 +02:00
Marius Muench
425908a00c
Option for specifying forkserver initialization timeout via environment variable (#522)
* Addition of AFL_FORKSRV_INIT_TMOUT env var

This commit introduces a new environment variable which allows to
specify the timespan AFL should wait for initial contact with the
forkserver.

This is useful for fuzz-targets requiring a rather long setup time
before the actual fuzzing can be started (e.g., unicorn).

* add .swp files to .gitignore

* Inherit init_tmout in afl_fsrv_init_dup

Without this patch, the forkserver would spawn with a timeout of 0 in
cmplog mode, leading to an immediate crash.

Additionally, this commit removes a spurious whitespace.

* Initialize afl->fsrv.init_tmout in afl_fsrv_init

Not all afl-components will need the new AFL_FORKSRV_INIT_TMOUT
environment variable. Hence, it's initialized to the safe "default"
value from before in afl_fsrv_init now.
2020-08-23 10:39:34 +02:00
Dominik Maier
1301552101 added AFL_MAX_DET_EXTRAS env var 2020-08-23 01:48:36 +02:00
Dominik Maier
b504b9313a code-format, changelog 2020-08-18 01:36:49 +02:00
Dominik Maier
1a94cfe2af moved autodict extras away from extras_a 2020-08-18 01:31:40 +02:00
Dominik Maier
7470b475a9
Reworked maybe_grow to take a single ptr, renamed to afl_realloc (#505)
* maybe_grow takes a single ptr

* fixed use_deflate

* reworked maybe_grow_bufsize

* helper to access underlying buf

* remove redundant realloc_block

* code format

* fixes

* added unit tests

* renamed maybe_grow to afl_realloc

* BUF_PARAMS -> AFL_BUF_PARAM
2020-08-18 00:50:52 +02:00
root
af14acf2c1 Revert "Merge branch 'debug' into dev"
This reverts commit a7537b5511ad767d2240cf2dc6d3e261daa676f9, reversing
changes made to 15e799f7ae666418e75c6a79db833c5316b21f97.
2020-08-14 14:35:05 +02:00
van Hauser
a7537b5511
Merge branch 'debug' into dev 2020-08-14 13:23:14 +02:00
Dominik Maier
69f8c62955 code-format 2020-08-14 00:46:48 +02:00
Dominik Maier
83df65a66b cleaned up maybe_add_auto calls 2020-08-14 00:46:15 +02:00
van Hauser
32db31b555 fixes 2020-08-09 12:35:52 +02:00
van Hauser
320f26d26f add -b option to afl-fuzz 2020-07-30 19:00:41 +02:00
van Hauser
30c0991543 better text mutation 2020-07-24 13:26:07 +02:00
van Hauser
ce9b4698fe added andrea's splicing, added cycle_schedules 2020-07-21 20:53:51 +02:00
Andrea Fioraldi
c2b04bdf6c queue buffer and new splice havoc mutation 2020-07-16 14:32:41 +02:00
van Hauser
97cef46b62 warn on deprecated env vars 2020-07-01 10:03:34 +02:00
van Hauser
b5573b3adb add seek power schedule, remove update stats in calibration, fix help output 2020-06-25 10:33:59 +02:00
van Hauser
61107c59cf fix displayed schedule 2020-06-17 16:46:30 +02:00
hexcoder-
bac2da8669 fix for *BSD: remove all HAVE_ARC4RANDOM dependencies 2020-06-16 01:29:07 +02:00
van Hauser
d334093606 deprecated AFL_POST_LIBRARY 2020-05-14 01:00:11 +02:00
rish9101
9627458ecc Add post library API as custom mutator and rename pre_save 2020-05-13 18:59:12 +05:30
Dominik Maier
66eee34709 refactored global lists 2020-04-26 02:32:09 +02:00
Dominik Maier
85627516a4 map_size one liner 2020-04-26 02:05:17 +02:00
van Hauser
766085293d variable map size fix, error reporting through forkserver, code format 2020-04-24 12:09:25 +02:00
Dominik Maier
8197e9b2e4
clang-tidy readability-braces (#323) 2020-04-19 16:42:40 +02:00
Dominik Maier
49753eb2d0 unused var 2020-04-17 14:27:28 +02:00
van Hauser
6ee11c2a6f little more speed for queue analysis 2020-04-17 14:08:40 +02:00
van Hauser
1931838a11 remove unnecessary map_size variables 2020-04-17 11:39:38 +02:00
van Hauser
6bd49b1d5c final fix for map_size 2020-04-17 11:24:40 +02:00
van Hauser
bda4d8812e forgot MAP_SIZE for afl struct maps 2020-04-17 11:15:04 +02:00
van Hauser
5b70d23211 added AFL_MAP_SIZE (wip) 2020-04-17 09:10:49 +02:00
Andrea Fioraldi
92aaaef381 code format 2020-04-14 12:42:38 +02:00
Andrea Fioraldi
26e690c220 cmplog loop detection 2020-04-14 12:39:29 +02:00
van Hauser
32ba60185e more refactoring and update changelog 2020-04-11 08:02:54 +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
hexcoder-
5b977453cb another mem leak fix for master/slave usage 2020-04-10 15:06:31 +02:00
hexcoder-
a60e425d39 fix small memory leak for in_place_resume 2020-04-10 14:52:59 +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