about summary refs log tree commit diff
path: root/src/afl-fuzz-run.c
AgeCommit message (Collapse)Author
2024-01-18push to stable (#1960)van Hauser
* Output afl-clang-fast stuffs only if necessary (#1912) * afl-cc header * afl-cc common declarations - Add afl-cc-state.c - Strip includes, find_object, debug/be_quiet/have_*/callname setting from afl-cc.c - Use debugf_args in main - Modify execvp stuffs to fit new aflcc struct * afl-cc show usage * afl-cc mode selecting 1. compiler_mode by callname in argv[0] 2. compiler_mode by env "AFL_CC_COMPILER" 3. compiler_mode/instrument_mode by command line options "--afl-..." 4. instrument_mode/compiler_mode by various env vars including "AFL_LLVM_INSTRUMENT" 5. final checking steps 6. print "... - mode: %s-%s\n" 7. determine real argv[0] according to compiler_mode * afl-cc macro defs * afl-cc linking behaviors * afl-cc fsanitize behaviors * afl-cc misc * afl-cc body update * afl-cc all-in-one formated with custom-format.py * nits --------- Co-authored-by: vanhauser-thc <vh@thc.org> * changelog * update grammar mutator * lto llvm 12+ * docs(custom_mutators): fix missing ':' (#1953) * Fix broken LTO mode and response file support (#1948) * Strip `-Wl,-no-undefined` during compilation (#1952) Make the compiler wrapper stripping `-Wl,-no-undefined` in addition to `-Wl,--no-undefined`. Both versions of the flag are accepted by clang and, therefore, used by building systems in the wild (e.g., samba will not build without this fix). * Remove dead code in write_to_testcase (#1955) The custom_mutators_count check in if case is duplicate with if condition. The else case is custom_mutators_count == 0, neither custom_mutator_list iteration nor sent check needed. Signed-off-by: Xeonacid <h.dwwwwww@gmail.com> * update qemuafl * WIP: Add ability to generate drcov trace using QEMU backend (#1956) * Document new drcov QEMU plugin * Add link to lightkeeper for QEMU drcov file loading --------- Co-authored-by: Jean-Romain Garnier <jean-romain.garnier@airbus.com> * code format * changelog * sleep on uid != 0 afl-system-config * fix segv about skip_next, warn on unsupported cases of linking options (#1958) * todos * ensure afl-cc only allows available compiler modes * update grammar mutator * disable aslr on apple * fix for arm64 --------- Signed-off-by: Xeonacid <h.dwwwwww@gmail.com> Co-authored-by: Sonic <50692172+SonicStark@users.noreply.github.com> Co-authored-by: Xeonacid <h.dwwwwww@gmail.com> Co-authored-by: Nils Bars <nils.bars@rub.de> Co-authored-by: Jean-Romain Garnier <7504819+JRomainG@users.noreply.github.com> Co-authored-by: Jean-Romain Garnier <jean-romain.garnier@airbus.com>
2023-11-28code formatvanhauser-thc
2023-11-28changesvanhauser-thc
2023-11-27merge functionyangzao
2023-11-27updateyangzao
2023-11-27format codeyangzao
2023-11-24update afl-fuzz-runyangzao
2023-11-24add custom_post_run.cyangzao
2023-04-21fixed AFL_POST_PROCESS_KEEP_ORIGINAL for version 4.07aMaik Betka
2023-04-21Merge remote-tracking branch 'origin/dev' into atnwalkMaik Betka
# Conflicts: # include/afl-fuzz.h # src/afl-fuzz-run.c
2023-04-17fixed code clones in atnwalk.c, introduced new environment variable ↵Maik Betka
AFL_POST_PROCESS_KEEP_ORIGINAL in AFL++ to integrate atnwalk without re-compiling afl-fuzz
2023-04-17first version with unix domain sockets is ready for testingMaik Betka
2023-04-15fix post_processvanhauser-thc
2023-04-13fix attempt at post_process implementationvanhauser-thc
2023-02-15debug outputvanhauser-thc
2023-01-03welcome 2023vanhauser-thc
2022-11-14custom mutator fixvanhauser-thc
2022-11-11afl_custom_fuzz_send addedvanhauser-thc
2022-08-19shorter calibrationvanhauser-thc
2022-07-19remove debugvanhauser-thc
2022-07-19fixvanhauser-thc
2022-07-19fixvanhauser-thc
2022-07-19post_process 0/NULL return supportvanhauser-thc
2022-07-12clang format 14vanhauser-thc
2022-06-08honor AFL_MAP_SIZE well outside of afl++vanhauser-thc
2022-05-09fixvanhauser-thc
2022-05-09support post_process's own return buffervanhauser-thc
2022-03-18fix LTO with cmplog and lafvanhauser-thc
2022-03-07Fix issue with trim in shared memory modemchesser
2022-02-05add afl-fuzz -y fuzz length supportvanhauser-thc
2022-01-01welcome 2022vanhauser-thc
2021-12-09rename pathvanhauser-thc
2021-11-06http->httpsvanhauser-thc
2021-10-15fix lto cmplog stability issuevanhauser-thc
2021-07-31use HASH_CONSTyuawn
2021-06-29fix linefeedvanhauser-thc
2021-06-22reverse read the queue n resumesvanhauser-thc
2021-06-16correct map size for small targetsvanhauser-thc
2021-06-14code formatvanhauser-thc
2021-06-14Add debug output to alert user to calibration progress/issues (#969)Dustin Spicuzza
2021-06-10fix AFL_CAL_FASTvanhauser-thc
2021-06-01remove redundant unsetenv (#947)terrynini
2021-06-01fixesvanhauser-thc
2021-06-01fix afl_custom_post_process with multiple custom mutatorsvanhauser-thc
2021-05-25less executions on variable pathsvanhauser-thc
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-30fix stdin trimmingvanhauser-thc
2021-04-30fixed potential double free in custom trim (#881)Dominik Maier
2021-03-27ensure one fuzzer sync per cycle, cycle introspectionvanhauser-thc
2021-03-24better forkserver error help and code formatvanhauser-thc