about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)Author
2021-05-17restrict afl-showmap in_file sizevanhauser-thc
2021-05-15additional safety checks for restartsDominik Maier
2021-05-15added bounds check to pivot_inputs (fixes #921)Dominik Maier
2021-05-11fix a few cur_time usesvanhauser-thc
2021-05-11OSX-specific improvements (#912)Dustin Spicuzza
* Fix afl-cc to work correctly by default on OSX using xcode - CLANG_ENV_VAR must be set for afl-as to work - Use clang mode by default if no specific compiler selected * Add OSX-specific documentation for configuring shared memory
2021-05-10code-formatvanhauser-thc
2021-05-10afl-plot: relative timevanhauser-thc
2021-05-08fixvanhauser-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-05-01remove the input file .cur_input at the end of the fuzzing, if AFL_TMPDIR is ↵hexcoder-
used
2021-04-30fix stdin trimmingvanhauser-thc
2021-04-30fix statsd writingvanhauser-thc
2021-04-30error handling, freeing memDominik Maier
2021-04-30fixed potential double free in custom trim (#881)Dominik Maier
2021-04-29nitsvanhauser-thc
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-19fix custom trim for increasing datavanhauser-thc
2021-04-17Merge pull request #882 from AFLplusplus/havoc2van Hauser
Havoc
2021-04-16reworked formatting in order to avoid gcc 8.3.0 warningshexcoder-
2021-04-16fixesvanhauser-thc
2021-04-16fix nitsvanhauser-thc
2021-04-15cmplog -l3: disable trimming, forcing input2stage for allvanhauser-thc
2021-04-15fix uivanhauser-thc
2021-04-15fix warningsvanhauser-thc
2021-04-15remove duplicate plot file writevanhauser-thc
2021-04-15fix writing stat file on exitvanhauser-thc
2021-04-14ui updatevanhauser-thc
2021-04-14update havocvanhauser-thc
2021-04-13add AFL_EXIT_ON_SEED_ISSUESvanhauser-thc
2021-04-13ui custom mutator only displayvanhauser-thc
2021-04-13display dictionary usage in havoc only modevanhauser-thc
2021-04-09update grammar-mutator, show better fuzzing strategy yieldsvanhauser-thc
2021-04-09fix afl_custom_queue_new_entry when syncingvanhauser-thc
2021-04-08removed -lc++ linking for ltovanhauser-thc
2021-04-07fix forkserver timeout error msgvanhauser-thc
2021-04-04cleanupvanhauser-thc
2021-04-04Merge pull request #855 from MegaManSec/leak-sanitizervan Hauser
Add support for standalone leak-sanitizer
2021-04-04Move definition of __AFL_LEAK_CHECK inside ifguards,Joshua Rogers
use LSAN_OPTIONS=print_suppressions=0
2021-04-03Remove check for exit_code on LSAN and replace it with check forJoshua Rogers
symbolize=0.
2021-04-03Fix typos,Joshua Rogers
Use symbolize=0 for LSAN, Remove syntactic sugar.
2021-04-02Replace __AFL_CHECK_LEAK with __AFL_LEAK_CHECK to be more proper.Joshua Rogers
Fix spelling mistakes. Correctly call LSAN_ERROR not MSAN_ERROR.
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-04-02fix k-ctxvanhauser-thc
2021-03-27ensure one fuzzer sync per cycle, cycle introspectionvanhauser-thc
2021-03-27add introspectionvanhauser-thc
2021-03-27restructure havocvanhauser-thc
2021-03-26Merge pull request #845 from joeyjiaojg/devvan Hauser
Dev
2021-03-25integrate frida_mode, code-formatvanhauser-thc