about summary refs log tree commit diff
path: root/src/afl-fuzz.c
AgeCommit message (Collapse)Author
2024-11-25Pass dataflow map shm to fork serverNguyễn Gia Phong
2024-11-18remove compiler warningvanhauser-thc
2024-11-15-g/-G value checksvanhauser-thc
2024-10-14fix cycles_wo_finds countvanhauser-thc
2024-10-01persistent record for frida and qmeuvanhauser-thc
2024-09-14fix AFL_AUTORESUME=1 for Nyx modeSergej Schumilo
2024-09-12nitsvanhauser-thc
2024-08-19code format, llvm 18vanhauser-thc
2024-08-06Fix syntax error when compiling without zlibThomas Hebb
commit ecb5854be08fa ("add zlib compression for fast resume") added new logic selected at compile-time when zlib is present. Unfortunately, it also broke the existing logic by removing the last line of a multi-line if statement, resulting in a syntax error when zlib isn't present. Restore the line as it was.
2024-07-14Revert "Replace gettimeofday with clock_gettime (#2159)"vanhauser-thc
This reverts commit 7c380a6612f00e4a7ed02364dc2b3769e8edc8f8.
2024-07-14Replace gettimeofday with clock_gettime (#2159)carpintero-de-c
2024-07-12check the sync_id length onceWilliam Tan
2024-07-10Fix missed updates of alias table when INTROSPECTION is onTakuya Shimizu
In src/afl-fuzz.c `prev_queued_items` is used to decide whether the alias table should be recreated through the comparison with `afl->queued_items`. https://github.com/AFLplusplus/AFLplusplus/blob/43f462c91b3699b66e4aa1c5703b30f5189b5618/src/afl-fuzz.c#L3103-L3117 However, this variable is also updated to `afl->queued_items` when INTROSPECTION is enabled and the `fuzz_one` appends seeds. https://github.com/AFLplusplus/AFLplusplus/blob/43f462c91b3699b66e4aa1c5703b30f5189b5618/src/afl-fuzz.c#L3135-L3140 Due to the update of `prev_queued_items` when INTROSPECTION is on, alias table may not be recreated when it actually should be. This can lead to potential heap buffer-overflow in `select_next_queue_entry` due to the lack of `afl_realloc` called in `create_alias_table`. This patch fixes this bug by utilizing another variable for the INTROSPECTION part like other variables such as `prev_saved_tmouts`.
2024-06-27AFL_CUSTOM_MUTATOR_LATE_SEND addedvanhauser-thc
2024-06-21add zlib compression for fast resumevanhauser-thc
2024-06-20Auto disable memory limits for FASANkillerra
2024-06-19Collect persistent coverage data and dump it at the end of the runChristian Holler (:decoder)
With CODE_COVERAGE builds, we need to collect the coverage data of each iteration in a persistant buffer that has the same size as the regular trace buffer used for fuzzing. We dump this information at the end of the run and when combined with pointer data and module info, this can be used to calculate code coverage.
2024-06-18code format and changelogvanhauser-thc
2024-06-18Merge pull request #2128 from AFLplusplus/fastrestartvan Hauser
Fastrestart
2024-06-18fast resume optionvanhauser-thc
2024-06-17nitvanhauser-thc
2024-06-12fastresume implementationvanhauser-thc
2024-06-10fast resume setup detectionvanhauser-thc
2024-06-09nitvanhauser-thc
2024-06-09fix -nvanhauser-thc
2024-06-09allow multiple -mvanhauser-thc
2024-06-05nitsvanhauser-thc
2024-06-05optimize syncingvanhauser-thc
2024-06-04AFL_NO_SYNCvanhauser-thc
2024-05-17logvanhauser-thc
2024-05-17Fix runtime underflow & -V exiting before syncingCornelius Aschermann
print_stats sets exit_soon even while syncing, this leaves -V 0 still broken, as we don't finish syncing. Additionally, the change that introduced the previous -V fix also broke the runtime tracking, as runtime needs to include all time including sync, splice etc. This caused an underflow in the reported runtime.
2024-05-14backup afl->max_length to afl->fsrv.max_lengthnj00001
2024-05-13disable -> no variantsvanhauser-thc
2024-05-02AFL_DISABLE_REDUNDANTvanhauser-thc
2024-04-09fix -V, code formatvanhauser-thc
2024-04-08:Adds stats tracking time spend in calibration/trim/syncCornelius Aschermann
This currently does not affect statsd nor the UI. Only the fuzzer_stats file is updated
2024-03-12nitvanhauser-thc
2024-02-29gcc cmplog fixvanhauser-thc
2024-02-23Add upper and lower safety marginsLeon Weiß
2024-02-23Adhere to documented behaviorLeon Weiß
2024-02-22Do not circumvent sanity checks from arg parsingLeon Weiß
2024-02-22Convert from microseconds (us) to milliseconds (ms)Leon Weiß
2024-02-08code formatvanhauser-thc
2024-02-08Merge branch '420' into devvan Hauser
2024-02-08workaround for MOpt bug with -Svanhauser-thc
2024-02-08performancevanhauser-thc
2024-02-08Merge pull request #1965 from CodeLinaro/statefulvan Hauser
replay mode support
2024-02-04fix -zvanhauser-thc
2024-02-04add U256/32byte supportvanhauser-thc
2024-02-03deterministic fuzzing and -zvanhauser-thc