179 Commits

Author SHA1 Message Date
Dominik Maier
ccf739f880 AFL_PRINT_FILENAMES added 2021-05-17 18:16:51 +02:00
Roman M. Iudichev
069e61dfc6
Exit on time (#904)
* Variable AFL_EXIT_ON_TIME description has been added.
Variables AFL_EXIT_ON_TIME and afl_exit_on_time has been added.
afl->exit_on_time variable initialization has been added.
The asignment of a value to the afl->afl_env.afl_exit_on_time variable from
environment variables has been added.
Code to exit on timeout if new path not found has been added.

* Type of afl_exit_on_time variable has been changed.
Variable exit_on_time has been added to the afl_state_t structure.

* Command `export AFL_EXIT_WHEN_DONE=1` has been added.

* Millisecond to second conversion has been added.
Call get_cur_time() has been added.

* Revert to using the saved current time value.

* Useless check has been removed.
2021-05-07 17:32:17 +02:00
vanhauser-thc
e41d1183cc fix nits 2021-04-16 00:41:32 +02:00
vanhauser-thc
be880f2476 add AFL_EXIT_ON_SEED_ISSUES 2021-04-13 13:01:50 +02:00
van Hauser
c23183f1dc
Merge pull request #855 from MegaManSec/leak-sanitizer
Add support for standalone leak-sanitizer
2021-04-04 15:28:42 +02:00
Joshua Rogers
99819cf5d1 Move definition of __AFL_LEAK_CHECK inside ifguards,
use LSAN_OPTIONS=print_suppressions=0
2021-04-04 12:45:52 +00:00
Joshua Rogers
afc4da47f7 Fix typos,
Use symbolize=0 for LSAN,
Remove syntactic sugar.
2021-04-03 14:50:35 +00:00
Joshua Rogers
6514e33ab6 Replace __AFL_CHECK_LEAK with __AFL_LEAK_CHECK to be more proper.
Fix spelling mistakes.

Correctly call LSAN_ERROR not MSAN_ERROR.
2021-04-02 22:32:38 +00:00
Joshua Rogers
920e9402a4 Add support for standalone leak-sanitizer, introducting the environment
variable AFL_USE_LSAN.

AFL_USE_LSAN introduces the macro __AFL_CHECK_LEAK() which will check
for a memory leak when the macro is run. This is especially helpful
when using __AFL_LOOP().

If __AFL_LEAK_CHECK() is not used when AFL_USE_LSAN=1 is set,
the leak checker will run when the program exits.
2021-04-02 22:23:11 +00:00
vanhauser-thc
c169cb3911 integrate frida_mode, code-format 2021-03-25 20:10:09 +01:00
vanhauser-thc
0029c1a83e remove InsTrim 2021-03-25 15:35:06 +01:00
vanhauser-thc
836aeef595 changelog info 2021-03-24 18:22:50 +01:00
van Hauser
6e2a0ef233
Merge branch 'replay' into tmp 2021-03-24 18:19:13 +01:00
Dominik Maier
5fcd634f05 fixed tiny nitpicks 2021-03-23 18:47:07 +01:00
Joshua Pereyda
0f9dceff3d add details to AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES doc 2021-03-22 12:06:52 -07:00
fuzzah
d7e121e2c9 add AFL_TARGET_ENV to afl-fuzz 2021-03-20 01:32:28 +03:00
realmadsci
d4fb7f8b40 Add AFL_QEMU_CUSTOM_BIN environment flag
In QEMU mode (-Q), setting AFL_QEMU_CUSTOM_BIN cause afl-fuzz to skip
prepending afl-qemu-trace to your command line. Use this if you wish to use a
custom afl-qemu-trace or if you need to modify the afl-qemu-trace arguments.
2021-03-15 12:57:06 -07:00
vanhauser-thc
47f2650a32 add AFL_NOOPT 2021-03-09 16:53:56 +01:00
vanhauser-thc
d3f69ab4c6 documentation for AFL_PERSISTENT_RECORD 2021-03-07 08:43:01 +01:00
vanhauser-thc
dd2fd80274 doc updates 2021-02-15 12:40:10 +01:00
vanhauser-thc
9bd1e19d7f added AFL_IGNORE_UNKNOWN_ENVS 2021-02-13 22:43:56 +01:00
hexcoder
223bd70f1f
typo 2021-02-11 20:08:28 +01:00
Andrea Fioraldi
267b085f80 dlmalloc only for non glibc qasan and AFL_QEMU_FORCE_DFL 2021-02-10 15:15:16 +01:00
van Hauser
9d08f0d098 added AFL_CMPLOG_ONLY_NEW feature 2021-01-30 15:39:47 +01:00
Edznux
0a12d519f7
Add better doc for AFL_STATSD_TAGS_FLAVOR 2021-01-22 00:18:56 +01:00
van Hauser
e8c1b43a3d fix docs 2021-01-21 15:24:34 +01:00
Dominik Maier
a06b25538f cleaned up AFL_KILL_SIGNAL 2021-01-07 23:21:10 +01:00
van Hauser
27b9ba4502 better gcc and clang support for afl-cc 2020-12-22 10:51:40 +01:00
van Hauser
2e3cf10070 document AFL_LLVM_INSTRUMENT option NATIVE 2020-12-20 22:53:41 +01:00
hexcoder-
12ebb351dc apply nocolor changes 2020-12-18 21:10:39 +01:00
Dominik Maier
a2e2fae840 AFL_CRASH_EXITCODE env var added, u8->bool 2020-12-03 14:43:06 +01:00
vanhauser-thc
c05e4efbe9 renamed examples/ to utils/ 2020-12-01 14:40:30 +01:00
van Hauser
8584f9d2b5 added AFL_NO_AUTODICT 2020-12-01 13:13:11 +01:00
hexcoder
211a6eb411
typos and wording 2020-11-18 08:40:12 +01:00
Dominik Maier
68e18dbb7a more info about child_debug 2020-11-18 03:09:50 +01:00
Dominik Maier
f80f62f14b renamed env var to AFL_DEBUG_CHILD 2020-11-18 03:02:13 +01:00
Dominik Maier
57f8aec381 brought back missing env vars 2020-11-18 02:41:35 +01:00
hexcoder-
dfb847a51b review, mark env variables, linkify 2020-10-30 14:37:06 +01:00
van Hauser
23872d6f2c add documentation 2020-10-14 16:38:29 +02:00
Edznux
59815cd447
Add documentation for StatsD 2020-10-11 23:06:37 +02:00
vanhauser-thc
e30b2c6af6 final changes for pre-3.0 2020-09-05 13:18:28 +02:00
van Hauser
192cadee34 fix docs 2020-08-31 18:10:18 +02:00
hexcoder-
8253f90134 typos/wording 2020-08-31 15:16:55 +02:00
Dominik Maier
4697e4a5a5 description for AFL_MAX_DET_EXTRAS added 2020-08-31 12:26:41 +02:00
Dominik Maier
6184832ea9 added more env var docs, fsrv fixes for cmin, tmin 2020-08-23 10:59:56 +02:00
van Hauser
182b8b3e14 remove doc reference for SKIPSINGLEBLOCK 2020-08-20 19:00:15 +02:00
van Hauser
6d364dd2cb add sancov-like allow/denylist instrument feature 2020-08-05 01:13:51 +02:00
van Hauser
9439ba1dac document env var 2020-08-01 16:32:01 +02:00
van Hauser
185f443659 add LTO AFL_LLVM_DOCUMENT_IDS feature 2020-07-31 17:53:01 +02:00
van Hauser
06264df168 rename whitelist -> instrumentlist 2020-06-30 17:28:21 +02:00