1074 Commits

Author SHA1 Message Date
Sergio Paganoni
1efc6e59b7
Added out_file value when using stdio (#524) 2020-08-24 21:18:51 +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
Dominik Maier
b9b6f06429
Allow Large Extras (#523)
* allow large extras

* skipping large testcases again
2020-08-24 12:04:29 +02:00
Dominik Maier
a1442bd1ac no longer warns for prob. extras 2020-08-23 11:21:49 +02:00
Dominik Maier
4d9d52e3d9 code format 2020-08-23 11:00:46 +02:00
Dominik Maier
6184832ea9 added more env var docs, fsrv fixes for cmin, tmin 2020-08-23 10:59:56 +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
van Hauser
c4f71ab201 enable autodict for cmplog compile, it is ensure not be used in the forkserver 2020-08-22 10:01:45 +02:00
Dominik Maier
5ec91fce23 fix for bad free (#520) 2020-08-21 23:03:08 +02:00
van Hauser
47878f6974 add execs_done to plot file 2020-08-21 23:33:35 +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
van Hauser
43214d6b46 more likely 2020-08-15 22:10:28 +02:00
van Hauser
2f28ecd3a5 more unlikely 2020-08-15 20:51:57 +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
van Hauser
ce92adcb9b formatting 2020-08-14 08:33:36 +02:00
Dominik Maier
d1bc0207cc no longer using alloc for autodict 2020-08-14 01:33:03 +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
b5d1a021ef fix llvm and afl-showmap 2020-08-13 22:34:11 +02:00
van Hauser
212bb990b7 LTO: apply laf-intel+redqueen/cmplog at link time 2020-08-13 21:27:11 +02:00
van Hauser
c4e52e20c9 fix warning 2020-08-13 12:58:10 +02:00
van Hauser
2c5e103278 make cmplog deterministic 2020-08-13 12:39:18 +02:00
van Hauser
7a6867e2f8 split up __afl_manual_init, added internal AFL_DISABLE_LLVM_INSTRUMENTATION, skipping ctor+ifunc functions for all llvm, code-format 2020-08-12 16:06:30 +02:00
van Hauser
b38837f4ff setting attribute hot intelligently gives 0.5% speed 2020-08-12 14:14:44 +02:00
van Hauser
b604f5eafc finalize first beta! yay! 2020-08-11 18:06:18 +02:00
van Hauser
220dc4a43d review done, pray 2020-08-11 16:25:35 +02:00
van Hauser
457f627101 move taint_mode var 2020-08-11 15:10:18 +02:00
van Hauser
4f695b6f4c fixes 2020-08-11 11:16:48 +02:00
van Hauser
3ec1b23743 cleanup minor issues 2020-08-11 10:36:34 +02:00
van Hauser
0ba09ee85a enhancements 2020-08-11 10:24:45 +02:00
van Hauser
67dac15226
Merge branch 'debug' into taint 2020-08-11 03:40:12 +02:00
van Hauser
9cf8637fab break up llvm rt afl init 2020-08-11 03:37:02 +02:00
van Hauser
701fb95d24 LTO: make dynamic map the default 2020-08-10 23:42:33 +02:00
Dominik Maier
7d7a8c7c39 code-format 2020-08-10 19:05:22 +02:00
Dominik Maier
a422fcaa40 fixed minor inconsistencies, reenabled warnings 2020-08-10 19:04:51 +02:00
van Hauser
3ecafde29d increase stack size 2020-08-10 13:59:30 +02:00
van Hauser
8428b18d2a fix another segfault 2020-08-10 13:30:25 +02:00
van Hauser
9c953ab51f memory grab at startup to prevent crashes 2020-08-10 13:03:59 +02:00
van Hauser
f181a8307b put ! in .new map 2020-08-10 12:48:15 +02:00
van Hauser
84b9d551fd disable expand havoc mopt for taint 2020-08-10 12:11:49 +02:00
van Hauser
8f8555dfdf fix segfault 2020-08-10 12:05:30 +02:00
van Hauser
9ec223c844 final touches for first testing 2020-08-09 23:47:51 +02:00