308 Commits

Author SHA1 Message Date
hexcoder-
62d5bf5f41 fix new path to custom-mutators 2021-05-08 10:16:44 +02:00
Roman M. Iudichev
069e61dfc6
Exit on time (#904)
* 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-07 17:32:17 +02:00
hexcoder-
c695a031b8 prepare for 32-bit support (later) 2021-05-04 21:34:32 +02:00
hexcoder-
b35e6deb09 fix persistent mode (64-bit) 2021-05-04 20:42:24 +02:00
hexcoder-
361dd6e361 add new test for frida_mode (please review) 2021-05-03 21:42:04 +02:00
Dominik Maier
a3f8fc5d1c moved custom_mutator examples 2021-04-26 16:03:08 +02:00
van Hauser
c23183f1dc
Merge pull request #855 from MegaManSec/leak-sanitizer
Add support for standalone leak-sanitizer
2021-04-04 15:28:42 +02:00
Joshua Rogers
920e9402a4 Add support for standalone leak-sanitizer, introducting the environment
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-02 22:23:11 +00:00
hexcoder-
3439d641c0 pass lib -ldl only on Linux platforms 2021-03-26 16:56:57 +01:00
vanhauser-thc
0029c1a83e remove InsTrim 2021-03-25 15:35:06 +01:00
vanhauser-thc
2102264acf fix for new llvm 13 change 2021-03-19 16:06:06 +01:00
vanhauser-thc
848ea17154 add header to PCGUARD 2021-03-19 10:42:23 +01:00
Andrea Fioraldi
1cdf0a898c update test-dlopen tuples number 2021-03-19 09:58:27 +01:00
Andrea Fioraldi
5be7d9c1cc fix dynamic list usage error in afl-cc 2021-03-19 09:44:04 +01:00
Andrea Fioraldi
44347beff0 check test-dlopen return code 2021-03-18 21:44:20 +01:00
Andrea Fioraldi
166c8f93b5 test-dlopen llvm test 2021-03-18 21:34:12 +01:00
vanhauser-thc
aa6a50c2b4 fix test 2021-03-15 23:01:07 +01:00
vanhauser-thc
c725cb71de more time for fp split 2021-03-11 19:12:21 +01:00
vanhauser-thc
adeb0d18b1 fix the auto map fix 2021-03-11 08:59:34 +01:00
vanhauser-thc
0484d9b024 more time for float split test 2021-03-11 00:49:23 +01:00
vanhauser-thc
d60bbff0d9 more time for tests 2021-03-11 00:17:52 +01:00
hexcoder-
1a713ff420 fix qemu AFL_ENTRYPOINT for arm 32 and 64 bit 2021-02-18 19:39:46 +01:00
hexcoder-
7d97ffb1e8 check for setuptools instead of easy_install 2021-02-16 16:27:56 +01:00
hexcoder-
385312c658 fix issue #732 afl-cmin and afl-showmap should support '-f' 2021-02-13 13:31:17 +01:00
hexcoder-
e81f30828f fix test-qemu-mode.sh to run standalone 2021-02-06 11:24:04 +01:00
van Hauser
981ffb27a8 making AFL_MAP_SIZE obsolete 2021-02-01 12:01:23 +01:00
van Hauser
30148bc1a9 fix afl-showmap and gcc plugin test 2021-01-21 19:58:25 +01:00
van Hauser
3903dac1f5 fix gcc plugin test 2021-01-21 14:17:08 +01:00
van Hauser
ed9f94c5b9 fix CI 2021-01-19 14:20:43 +01:00
hexcoder-
3c88de565a afl-cmin tests: allow leading whitespace in wc -l output 2021-01-02 23:17:30 +01:00
hexcoder-
e83a1bc0d1 test-basic.sh: fix color GRAY to GREY 2021-01-02 20:18:26 +01:00
hexcoder-
5d560c1ece tests: let afl-fuzz run with -D, so more test cases are produced 2020-12-29 23:54:10 +01:00
van Hauser
6f0f167b73 test: skip afl-fuzz test if too few locations were instrumented 2020-12-21 14:05:58 +01:00
van Hauser
a39228def6 make ubuntu 18.04 ci work 2020-12-21 13:36:09 +01:00
van Hauser
2a22dc433c ci fix 2020-12-21 13:01:56 +01:00
hexcoder-
79c98731c9 small improvements: dump output on error in test-llvm, fix compiler warnings 2020-12-18 09:22:58 +01:00
van Hauser
14c67f15c9 small fixes 2020-12-16 14:22:09 +01:00
van Hauser
76117b0471 fix afl-clang tests 2020-12-13 11:23:56 +01:00
hexcoder-
ce9e127529 remove debugging sh 2020-12-12 22:56:09 +01:00
hexcoder-
c5c852dada add tests for the missing afl-compiler (afl-gcc or afl-clang) 2020-12-12 22:54:34 +01:00
hexcoder-
aca5b55b6d test-pre.sh revert removal of afl-clang 2020-12-04 08:46:46 +01:00
van Hauser
1890d7b9cf very complete runtime lookup rewrite 2020-12-02 15:03:21 +01:00
vanhauser-thc
c05e4efbe9 renamed examples/ to utils/ 2020-12-01 14:40:30 +01:00
van Hauser
e865f274f1 fix wrong rename in test 2020-11-30 13:36:27 +01:00
van Hauser
63c317218b persistent_demo -> persistent_mode 2020-11-30 13:03:33 +01:00
hexcoder-
27c3423fb6 test-pre.sh: remove old uses of afl-clang, afl-cc.c: add missing env.var. AFL_LLVM_LAF_ALL 2020-11-24 19:38:55 +01:00
Dominik Maier
f80f62f14b renamed env var to AFL_DEBUG_CHILD 2020-11-18 03:02:13 +01:00
hexcoder-
665802673d typo fixed 2020-11-05 22:58:55 +01:00
van Hauser
ca938e7c4e asan_build for tmin and analyze 2020-10-24 19:11:41 +02:00
van Hauser
18ad8a097c travis test 2020-10-24 18:08:54 +02:00