van Hauser
9d08f0d098
added AFL_CMPLOG_ONLY_NEW feature
2021-01-30 15:39:47 +01:00
van Hauser
a0e884cf8b
merge cmplog
2021-01-15 16:56:40 +01:00
buherator
9cdf5c4150
User defined kill signal value ( #678 )
...
* Adding AFL_KILL_SIGNAL environment variable
Controlling the kill signal used to end forked processes.
* Checking validity of AFL_KILL_SIGNAL env variable
This commit also sets a valid value in the environment to avoid
duplicating code in at_exit(). Changing data type of
fsrv->kill_signal to u8 to match last_kill_signal.
* Adding afl_kill_signal to AFL (environment) state
This commit simply introduces a struct member for future use. The
env variable is not used from the afl struct but from fsrv, where
its validity is checked, resulting in a FATAL in case of errors.
2021-01-07 22:35:34 +01:00
van Hauser
0b9ca807f2
fix exec/s display
2020-12-26 13:15:05 +01:00
van Hauser
98ee17bc47
fix endless loop in afl-cc allow/blocklists starting a line with a comment
2020-12-20 14:30:06 +01:00
hexcoder-
12ebb351dc
apply nocolor changes
2020-12-18 21:10:39 +01:00
van Hauser
cc781e44f3
code format
2020-12-11 11:21:28 +01:00
van Hauser
8a1acac559
schedule improvements, new default is FAST
2020-12-11 10:28:39 +01:00
Dominik Maier
a2e2fae840
AFL_CRASH_EXITCODE env var added, u8->bool
2020-12-03 14:43:06 +01:00
Dominik Maier
f80f62f14b
renamed env var to AFL_DEBUG_CHILD
2020-11-18 03:02:13 +01:00
van Hauser
44c65fa0a0
add no splicing compile option and print used compile options in afl-fuzz help
2020-10-26 14:44:05 +01:00
van Hauser
aa0d378520
better cache entry algo
2020-10-23 15:21:21 +02:00
van Hauser
0e748ccda7
set max testcache entries automated if not specified by the user
2020-10-23 14:05:34 +02:00
van Hauser
56ac3fcdc5
configurable testcache with malloc ( #581 )
...
* cache item number to cache memory size
* reload testcase if trimming changed the size
* fix splicing selection
* slim splicing
* import sync fix
* write testcache stats to fuzzer_stats
* fix new seed selection algo
* malloc+read instead of mmap
* fix
* testcache is configurable now and no reference counts
* fixes compilation, test script
* fixes
* switch TEST_CC to afl-cc in makefile
* code format
* fix
* fix crash
* fix crash
* fix env help output
* remove unnecessary pointer resets
* fix endless loop bug
* actually use the cache if set
* one more fix
* increase default cache entries, add default cache size value to config.h
Co-authored-by: hexcoder- <heiko@hexco.de>
2020-10-14 15:30:30 +02:00
van Hauser
445aba9221
determinstic fuzzing is now disabled by default
2020-10-10 10:55:56 +02:00
van Hauser
c075003bd2
Merge pull request #571 from Edznux/statsd_implem
...
Statsd support implementation
2020-10-10 10:36:48 +02:00
van Hauser
125f8b6ba7
-m none is the default now
2020-10-09 23:23:44 +02:00
Edznux
0220a8ff66
Add env var toggle for StatsD
2020-10-08 20:48:46 +02:00
Edznux
3d7bdc9f0b
[WIP: segfault on non dogstatsd] Adding MACROS for format
2020-10-06 23:00:11 +02:00
Edznux
9ac9aa2511
Fix code format
2020-10-05 22:21:24 +02:00
Edznux
2bf3a70e2b
Correctly handle env var.
2020-10-05 22:01:50 +02:00
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