about summary refs log tree commit diff
path: root/include/envs.h
AgeCommit message (Collapse)Author
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.
2020-08-23added AFL_MAX_DET_EXTRAS env varDominik Maier
2020-08-14Revert "Merge branch 'debug' into dev"root
This reverts commit a7537b5511ad767d2240cf2dc6d3e261daa676f9, reversing changes made to 15e799f7ae666418e75c6a79db833c5316b21f97.
2020-08-08initial integrationvan Hauser
2020-08-05add sancov-like allow/denylist instrument featurevan Hauser
2020-07-31add LTO AFL_LLVM_DOCUMENT_IDS featurevan Hauser
2020-07-22epand havoc now envAndrea Fioraldi
2020-07-21added andrea's splicing, added cycle_schedulesvan Hauser
2020-07-01warn on deprecated env varsvan Hauser
2020-03-15fix errors in last commit (u8)afl_get_envvan Hauser
2020-03-15Move afl-fuzz related env variables into afl_state_t (#252)Rishi Ranjan
* Move afl-fuzz related env variables into afl_state_t * Move the env variables assignment from fuzz_init and code Format * Fix typo * Remove redundant env variables from afl_env struct * Rename function to read_afl_environment
2020-03-10document new environment variables and code formatvan Hauser
2020-03-09more code formatvan Hauser
2020-03-05Add LTO collision free llvm_mode (#223)van Hauser
* first new implementation, only works with AFL_DONT_OPTIMIZE * bug hunting * interim commit * finalized LTO non-collision solution * update documentation * merge resulted in some problems, fixing these * added lto env to env check * fixed llvm weirdness to messes up our instrumentation due CFG rewrite optimizations * all llvm instrumentation issues have been resolved! :-) * llvm 9 is required (so far) * update lto readme
2020-03-03Finish refactoring APIs for the custom mutator and Python moduleh1994st
- Remove AFL_PYTHON_ONLY (env) and python_only (variable) - Unify fuzz API of the custom mutator and Python module - Merge the custom mutator into the old python_stage, which is now renamed to custom_mutator_stage
2020-03-01Added AFL_AUTORESUME optionDominik Maier
2020-02-29code-format, env.md fixes and adding -hh for env usage display into afl-fuzz ↵van Hauser
and Makefile
2020-02-24important InsTrim fixes!van Hauser
2020-02-21no unnecessary warnings in test.shvan Hauser
2020-02-17that env is not for the users, it is an internal env used to tell qemu that ↵Andrea Fioraldi
we want the cmplog shmem
2020-02-16fixvan Hauser