about summary refs log tree commit diff
path: root/test
AgeCommit message (Collapse)Author
2021-07-30fix testcasevanhauser-thc
2021-07-30add more string functions for dictionary featuresvanhauser-thc
2021-06-25test laf splitting: set default for char type explicitly to signedhexcoder-
2021-06-24fix fridavanhauser-thc
2021-06-11split-comparison llvm pass refactor for smaller compilation times (and a ↵Michael Rodler
small bug fix) (#964) * Refactored split compare pass to be more efficient in LTO usage and allow splitting to other minimum bitwidths. Efficiency: avoid looping over the whole llvm module N times, when once is also enough. Bitwidth: Previously, due to fallthrough in switch-case, all comparisons were split to 8-bit, which might not be desirable e.g., 16 or 32 bit might be enough. So now all comparison are split until they are smaller or equal to the target bitwidth, which is controlled through the `AFL_LLVM_LAF_SPLIT_COMPARES_BITW` environment variable. * fixed miscompilation due to incorrectly trying to split a signed comparison operator * minor formatting updates and use IRBuilder when inserting multiple instructions * added @hexcoder-'s test-int_cases.c to make test * Avoid recursion; switch to smallvector in splitAndSimplify; use switch case for icmp type; * Fixed issue when splitting < where the inverse comparison was not further split * some cleanup
2021-06-09add test cases for splitting integer comparisonshexcoder-
2021-06-09Revert "add test cases for splitting integer comparisons"hexcoder-
This reverts commit e0aa411647e1a525a3a0488d929ec71611388d54.
2021-06-09add test cases for splitting integer comparisonshexcoder-
2021-06-08remove warning regarding core_pattern (was wrong/unnecessary anyway)hexcoder-
2021-06-05setting AFL_CC for test-llvm.sh on FreeBSD is not necessary anymorehexcoder
2021-05-31Merge branch 'dev' into going_atomichexcoder
2021-05-30support new env var AFL_LLVM_THREADSAFE_INST to enable atomic counters.hexcoder-
add new test case for that.
2021-05-08fix new path to custom-mutatorshexcoder-
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-04prepare for 32-bit support (later)hexcoder-
2021-05-04fix persistent mode (64-bit)hexcoder-
2021-05-03add new test for frida_mode (please review)hexcoder-
2021-04-26moved custom_mutator examplesDominik Maier
2021-04-04Merge pull request #855 from MegaManSec/leak-sanitizervan Hauser
Add support for standalone leak-sanitizer
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-03-26pass lib -ldl only on Linux platformshexcoder-
2021-03-25remove InsTrimvanhauser-thc
2021-03-19fix for new llvm 13 changevanhauser-thc
2021-03-19add header to PCGUARDvanhauser-thc
2021-03-19update test-dlopen tuples numberAndrea Fioraldi
2021-03-19fix dynamic list usage error in afl-ccAndrea Fioraldi
2021-03-18check test-dlopen return codeAndrea Fioraldi
2021-03-18test-dlopen llvm testAndrea Fioraldi
2021-03-15fix testvanhauser-thc
2021-03-11more time for fp splitvanhauser-thc
2021-03-11fix the auto map fixvanhauser-thc
2021-03-11more time for float split testvanhauser-thc
2021-03-11more time for testsvanhauser-thc
2021-02-18fix qemu AFL_ENTRYPOINT for arm 32 and 64 bithexcoder-
2021-02-16check for setuptools instead of easy_installhexcoder-
2021-02-13fix issue #732 afl-cmin and afl-showmap should support '-f'hexcoder-
2021-02-06fix test-qemu-mode.sh to run standalonehexcoder-
2021-02-01making AFL_MAP_SIZE obsoletevan Hauser
2021-01-21fix afl-showmap and gcc plugin testvan Hauser
2021-01-21fix gcc plugin testvan Hauser
2021-01-19fix CIvan Hauser
2021-01-02afl-cmin tests: allow leading whitespace in `wc -l` outputhexcoder-
2021-01-02test-basic.sh: fix color GRAY to GREYhexcoder-
2020-12-29tests: let afl-fuzz run with -D, so more test cases are producedhexcoder-
2020-12-21test: skip afl-fuzz test if too few locations were instrumentedvan Hauser
2020-12-21make ubuntu 18.04 ci workvan Hauser
2020-12-21ci fixvan Hauser
2020-12-18small improvements: dump output on error in test-llvm, fix compiler warningshexcoder-
2020-12-16small fixesvan Hauser
2020-12-13fix afl-clang testsvan Hauser