about summary refs log tree commit diff
path: root/include/afl-fuzz.h
AgeCommit message (Collapse)Author
2021-07-09more fixesvanhauser-thc
2021-07-09fixesvanhauser-thc
2021-06-27Select (#995)van Hauser
* favor unfuzzed * fix * reinit table after a new fuzz
2021-06-10fix AFL_CAL_FASTvanhauser-thc
2021-05-25add AFL_TRY_AFFINITYvanhauser-thc
2021-05-25AFL_SKIP_CRASHES is obsolete since 3.0vanhauser-thc
2021-05-08ensure crashes/README.txt existsvanhauser-thc
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-05-07Fix memory errors when trim causes testcase growth (#881) (#903)realmadsci
* Revert "fixed potential double free in custom trim (#881)" This reverts commit e9d2f72382cab75832721d859c3e731da071435d. * Revert "fix custom trim for increasing data" This reverts commit 86a8ef168dda766d2f25f15c15c4d3ecf21d0667. * Fix memory errors when trim causes testcase growth Modify trim_case_custom to avoid writing into in_buf because some custom mutators can cause the testcase to grow rather than shrink. Instead of modifying in_buf directly, we write the update out to the disk when trimming is complete, and then the caller is responsible for refreshing the in-memory buffer from the file. This is still a bit sketchy because it does need to modify q->len in order to notify the upper layers that something changed, and it could end up telling upper layer code that the q->len is *bigger* than the buffer (q->testcase_buf) that contains it, which is asking for trouble down the line somewhere... * Fix an unlikely situation Put back some `unlikely()` calls that were in the e9d2f72382cab75832721d859c3e731da071435d commit that was reverted.
2021-04-30fixed potential double free in custom trim (#881)Dominik Maier
2021-04-13add AFL_EXIT_ON_SEED_ISSUESvanhauser-thc
2021-04-13ui custom mutator only displayvanhauser-thc
2021-03-27ensure one fuzzer sync per cycle, cycle introspectionvanhauser-thc
2021-03-25remove warningsvanhauser-thc
2021-03-24Merge branch 'replay' into tmpvan Hauser
2021-03-23fixed tiny nitpicksDominik Maier
2021-03-06complete implemenation, still no testvanhauser-thc
2021-03-02add de-unicoded dictionary entriesvanhauser-thc
2021-02-24edges in plot fileAndrea Fioraldi
2021-02-22code formatvanhauser-thc
2021-02-22minimum sync timevanhauser-thc
2021-02-21cmplog config.h -> -l optionvanhauser-thc
2021-02-07persistent replay env setupvanhauser-thc
2021-02-07prev_run_time loaded used only for ui and when writing the stats filevj-27
2021-02-06set prev_run_time inside afl statevj-27
2021-02-05load run time and donot load pending_* or *_favouredvj-27
2021-02-05load existing stats file when in AFL_AUTORESUME or -i -vj-27
2021-02-01import cmplog optsvan Hauser
2021-01-31fix -Z, remove q->nextaflpp
2021-01-30added AFL_CMPLOG_ONLY_NEW featurevan Hauser
2021-01-30foreign sync from ctime to mtime (libfuzzer)van Hauser
2021-01-21Merge pull request #689 from AFLplusplus/cmplog_mergevan Hauser
cmplog merge
2021-01-20Fix build error for AndroidJoey Jiao
- LTO not work yet
2021-01-17fix colorizationvan Hauser
2021-01-15merge cmplogvan 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.
2021-01-04code cleanups (shadowed vars, (un)signed type mismatches, format types, etc.)hexcoder-
2021-01-03cmplog cleanupvan Hauser
2020-12-31float2doublevan Hauser
2020-12-30cleanup of hot fix for -s on 32-bithexcoder-
2020-12-28added corpus introspectionvan Hauser
2020-12-21another 32 bit fixvan Hauser
2020-12-18mem error fixvan Hauser
2020-12-18fixvan Hauser
2020-12-18merge romu and skimvan Hauser
2020-12-17skim importvan Hauser
2020-12-08fix aflfast changesvan Hauser
2020-12-07Sampling next seed by weight (hit_count, bitmap_size, exec_us)Marcel Boehme
2020-12-04fixed bugs in custom_describe, reported by wizcheDominik Maier
2020-12-04added python mutator, documentationDominik Maier