Commit Graph

49 Commits

Author SHA1 Message Date
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
1a94cfe2af moved autodict extras away from extras_a 2020-08-18 01:31:40 +02:00
root
af14acf2c1 Revert "Merge branch 'debug' into dev"
This reverts commit a7537b5511, reversing
changes made to 15e799f7ae.
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
0bb59ba116 code format 2020-08-09 01:09:26 +02:00
van Hauser
e4a0237cbc step 1 2020-08-09 00:35:12 +02:00
hexcoder-
bac2da8669 fix for *BSD: remove all HAVE_ARC4RANDOM dependencies 2020-06-16 01:29:07 +02:00
van Hauser
a9348e0acc fix cmplog for shmem persistent mode 2020-06-04 16:31:53 +02:00
van Hauser
dd0ca7335f switch shmem_len to the map 2020-06-03 15:49:23 +02:00
Dominik Maier
ee14785f68 starting shmap support for unicorn 2020-05-31 04:13:41 +02:00
van Hauser
707145c491 persistent mode: shared memory test case transfer 2020-05-25 16:40:55 +02:00
van Hauser
7b40d7b942 new code formatting + applied 2020-05-12 11:12:25 +02:00
van Hauser
30bfd44dfd indenting preprocessor directives breaks compilation and cant be fixed, reverting ... :-( 2020-05-10 12:09:37 +02:00
van Hauser
26f8708fed fix warning, code format 2020-05-10 11:35:31 +02:00
van Hauser
efa9df24c2 afl-untracer completed 2020-04-30 17:59:59 +02:00
Dominik Maier
4be0ae2008 double include removed 2020-04-20 21:06:16 +02:00
Dominik Maier
8197e9b2e4 clang-tidy readability-braces (#323) 2020-04-19 16:42:40 +02:00
Dominik Maier
0bd1264faf headers for clang-tidy 2020-04-17 14:30:36 +02:00
van Hauser
5b70d23211 added AFL_MAP_SIZE (wip) 2020-04-17 09:10:49 +02:00
Dominik Maier
19ce862810 decoupled run and classify 2020-04-16 15:21:34 +02:00
Dominik Maier
b420ccdbf8 fixed timeout flag to u32 2020-04-16 14:42:38 +02:00
Dominik Maier
0f08b13fa0 somewhat unified write_to_testcase 2020-04-15 23:22:23 +02:00
Dominik Maier
0c02a8f4d3 changed run_target 2020-04-15 19:23:26 +02:00