374 Commits

Author SHA1 Message Date
van Hauser
d9b63766df fix new seed selection algo 2020-10-12 11:12:16 +02:00
vanhauser-thc
b7e0490bcd Revert "Merge branch 'memcache_marc' into dev"
This reverts commit c03fbcedaa68db5324423975a34331287426f7c2, reversing
changes made to dab017dddaaab6d836a590f7bba3eea3549758d2.
2020-10-12 03:44:34 +02:00
van Hauser
c03fbcedaa
Merge branch 'memcache_marc' into dev 2020-10-12 03:18:54 +02:00
van Hauser
6a397d6111 add new seed selection algo and make it the default 2020-10-11 14:31:31 +02:00
van Hauser
c075003bd2
Merge pull request #571 from Edznux/statsd_implem
Statsd support implementation
2020-10-10 10:36:48 +02:00
Edznux
0220a8ff66
Add env var toggle for StatsD 2020-10-08 20:48:46 +02:00
Edznux
17abe7d36e
Fixed segfault because wrong order in args 2020-10-06 23:23:45 +02:00
Edznux
3d7bdc9f0b
[WIP: segfault on non dogstatsd] Adding MACROS for format 2020-10-06 23:00:11 +02:00
Dominik Maier
74dc227c44 code format 2020-10-06 15:38:36 +02:00
Dominik Maier
a4b60ca5b6 testcase cache added 2020-10-06 15:37:59 +02:00
Edznux
9ac9aa2511
Fix code format 2020-10-05 22:21:24 +02:00
Edznux
916b6fd317
Refactor global var into afl_state_t struct 2020-10-05 22:21:01 +02:00
Edznux
2bf3a70e2b
Correctly handle env var. 2020-10-05 22:01:50 +02:00
Edznux
1a12db1b59
Code format 2020-10-04 16:11:05 +02:00
Edznux
1e0bc2e5c3
Merge remote-tracking branch 'origin/dev' into statsd_implem 2020-10-04 16:03:15 +02:00
Edznux
ca6106a1dc
Refactor 2020-10-04 14:24:25 +02:00
Edznux
ff8c6d2415
Adds other metrics 2020-10-04 03:22:28 +02:00
Edznux
2239743361 Rewrote format metric to be simpler/more static 2020-10-01 00:11:01 +02:00
van Hauser
383cd487a2 small improvements to Marcel's patch, fix laf-intel + redqueen crashes 2020-09-29 15:02:57 +02:00
Marcel Boehme
e87eca7fe8 Patching and improving AFLFast schedules. 2020-09-29 11:53:27 +00:00
van Hauser
e69b25e34b increase havoc_stack_pow2 on no finds 2020-09-28 10:13:00 +02:00
Edznux
a55e0d1189
WIP envs 2020-09-25 23:28:15 +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
7ff9800804 fix exploit, mmopt and rare schedule 2020-09-19 15:13:15 +02:00
Edznux
4561a9590f
WIP. basic state working: submitting statsd metrics (path, crashes, hangs) 2020-09-17 01:29:09 +02:00
vanhauser-thc
e30b2c6af6 final changes for pre-3.0 2020-09-05 13:18:28 +02:00
vanhauser-thc
4b3ad5f037 add cull queue, -i subdir traversal 2020-09-05 12:32:10 +02:00
hexcoder-
0625eb0a05 avoid signed ints for amounts (which are positive) 2020-09-04 22:26:39 +02:00
van Hauser
6c715f1a69 more changes to fuzzer_setup 2020-09-04 17:04:42 +02:00
Thomas Rooijakkers
50f61b64b1
Make open_file() inline 2020-09-04 16:22:22 +02:00
Thomas Rooijakkers
809a7cffe2
Write set environment variables in an env file style. 2020-09-04 16:02:09 +02:00
Thomas Rooijakkers
6adaacbb3a
Seperate fuzzer_setup from fuzzer_stats, only write fuzzer_setup at the start 2020-09-04 15:54:57 +02:00
Dominik Maier
4697e4a5a5 description for AFL_MAX_DET_EXTRAS added 2020-08-31 12:26:41 +02:00
Dominik Maier
92b1f9cf36 added SO link about rand for clarification 2020-08-31 12:11:38 +02:00
van Hauser
4566bcf122 code-format 2020-08-31 10:57:01 +02:00
Dominik Maier
4be0ea596b rand unlikely added 2020-08-26 13:04:03 +02:00
Dominik Maier
96ef7083c8 using unbiased rand_below 2020-08-26 05:28:33 +02:00
van Hauser
19eddbb0c7 make py functions as optional as they are in the doc 2020-08-24 18:12:08 +02:00
van Hauser
6a34c5aa3e fix python implementation for new function 2020-08-24 18:06:07 +02:00
van Hauser
c7f0d30668 added afl_custom_fuzz_count 2020-08-24 17:32:41 +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
van Hauser
47878f6974 add execs_done to plot file 2020-08-21 23:33:35 +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
van Hauser
ce513c4f3e fix llvm12 -fuseld warning 2020-08-14 10:10:23 +02:00
Dominik Maier
d1bc0207cc no longer using alloc for autodict 2020-08-14 01:33:03 +02:00