about summary refs log tree commit diff
path: root/include/envs.h
AgeCommit message (Collapse)Author
2021-05-25add AFL_TRY_AFFINITYvanhauser-thc
2021-05-19cleaned up AFL_PRINT_FILENAMES envDominik Maier
2021-05-17FASAN Support (#918)WorksButNotTested
* FASAN Support * Fix handling of Address Sanitizer DSO * Changes to identification of Address Sanitizer DSO Co-authored-by: Your Name <you@example.com>
2021-05-07Exit on time (#904)Roman M. Iudichev
* 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-04-28Frida persistent (#880)WorksButNotTested
* Added x64 support for persistent mode (function call only), in-memory teest cases and complog * Review changes, fix NeverZero and code to parse the .text section of the main executable. Excluded ranges TBC * Various minor fixes and finished support for AFL_INST_LIBS * Review changes Co-authored-by: Your Name <you@example.com>
2021-04-13add AFL_EXIT_ON_SEED_ISSUESvanhauser-thc
2021-04-06add missing envvanhauser-thc
2021-04-04Merge pull request #855 from MegaManSec/leak-sanitizervan Hauser
Add support for standalone leak-sanitizer
2021-04-02 Add support for standalone leak-sanitizer, introducting the environmentJoshua Rogers
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-03-25Merge pull request #833 from WorksButNotTested/fridavan Hauser
Frida
2021-03-24Add support for FRIDA modeYour Name
2021-03-24Merge branch 'replay' into tmpvan Hauser
2021-03-19Merge branch 'dev' into devvan Hauser
2021-03-20add AFL_TARGET_ENV to afl-fuzzfuzzah
2021-03-19refactor finding binariesvanhauser-thc
2021-03-16fix cmplog rtnvanhauser-thc
2021-03-15Add AFL_QEMU_CUSTOM_BIN environment flagrealmadsci
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-09fix ctx-1vanhauser-thc
2021-03-09add AFL_NOOPTvanhauser-thc
2021-03-06fixesvanhauser-thc
2021-03-04fix kctx compilation hangAndrea Fioraldi
2021-03-02cpu-exec: Add AFL_QEMU_EXCLUDE_RANGESrealmadsci
This environment variable allows rejection of specific regions from instrumentation. It takes priority over AFL_INST_LIBS and AFL_QEMU_INST_RANGES, so it can be used to poke a "hole" in previously included sections.
2021-02-17minor fixesvanhauser-thc
2021-02-15Revert "llvm bug workaround for lto extint"Michael Rodler
This reverts commit e3a5c31307f323452dc4b5288e0d19a02b596a33.
2021-02-15llvm bug workaround for lto extintvanhauser-thc
2021-02-13added AFL_IGNORE_UNKNOWN_ENVSvanhauser-thc
2021-02-07persistent replay env setupvanhauser-thc
2021-01-30added AFL_CMPLOG_ONLY_NEW featurevan Hauser
2021-01-29qasan support in aflppAndrea Fioraldi
2021-01-27fix includevan Hauser
2021-01-27update envsvan Hauser
2021-01-07User defined kill signal value (#678)buherator
* 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.
2020-12-20fix endless loop in afl-cc allow/blocklists starting a line with a commentvan Hauser
2020-12-18apply nocolor changeshexcoder-
2020-12-04Add missing env var used in ↵Thomas Rooijakkers
https://github.com/qemu/qemu/blob/bec7edf41d2d0e8006637a739881abcea1d1305c/accel/tcg/cpu-exec.c#L389 and ./qemu_mode/README.persistent.md
2020-12-03AFL_CRASH_EXITCODE env var added, u8->boolDominik Maier
2020-12-01added AFL_NO_AUTODICTvan Hauser
2020-11-18renamed env var to AFL_DEBUG_CHILDDominik Maier
2020-10-23set max testcache entries automated if not specified by the uservan Hauser
2020-10-14configurable testcache with malloc (#581)van Hauser
* 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-08Add env var toggle for StatsDEdznux
2020-10-06[WIP: segfault on non dogstatsd] Adding MACROS for formatEdznux
2020-10-04Merge remote-tracking branch 'origin/dev' into statsd_implemEdznux
2020-09-25WIP envsEdznux
2020-09-08rewrite gcc pluginAlexandre Oliva
When we started using AFL, it did not have an integrated GCC plugin. There was one proposed by Austin Seipp, but for various reasons we ended up using some of its infrastructure (runtime and wrapper), but writing the GCC plugin proper from scratch. With AFL++'s renewed interest in a GCC plugin, we rebased ours, with some features that are or were missing in the one that was integrated: * efficient, fully-functional inline and out-of-line instrumentation Inline instrumentation was work in progress in the original plugin. Controlled by AFL_GCC_OUT_OF_LINE. * reproducible instrumentation Obey -frandom-seed for pseudorandom number generation. * licensing clarity and strict compliance GPLv3+ for the plugin, that uses GCC internals; add a copy of the license, as required. * allow/deny list support Copied and adjusted from the LLVM plugin implementation. * neverZero support Not as compact as the asm-wrapper version, but likely more efficient. Both are quite thread-unsafe, with different caveats. Controlled with AFL_GCC_SKIP_NEVERZERO.
2020-09-05final changes for pre-3.0vanhauser-thc
2020-09-01Merge branch 'dev' of github.com:vanhauser-thc/AFLplusplus into devAndrea Fioraldi
2020-09-01qemuafl envsAndrea Fioraldi
2020-09-01add qemu driver env varvan Hauser
2020-08-23Option for specifying forkserver initialization timeout via environment ↵Marius Muench
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.