398 Commits

Author SHA1 Message Date
van Hauser
6253bea73c fix test.sh 2020-05-22 12:51:21 +02:00
hexcoder-
182b8a4582 llvm_mode: lower llvm version reqs to 3.4 (LLInsTrim will not be
available)
2020-05-15 01:55:33 +02:00
Dominik Maier
c084458294 updated 20.04 Dockerfile 2020-05-15 00:51:57 +02:00
Dominik Maier
498e9f4298 adding 20.04 test 2020-05-14 23:54:07 +02:00
Ruben ten Hove
767ed8c5da add python setuptools to travis builds 2020-05-14 21:49:36 +02:00
hexcoder-
324b44872c unicornafl: python/module check with faster method 2020-05-14 21:13:36 +02:00
hexcoder
94a1d4d3ac
test unicornafl: copy from build script 2020-05-14 20:32:04 +02:00
hexcoder-
ae15803bf1 Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev 2020-05-14 18:41:44 +02:00
hexcoder-
9e375179d8 test.sh: make sure the right python version (with setuptools available) is being used 2020-05-14 18:40:26 +02:00
van Hauser
d334093606 deprecated AFL_POST_LIBRARY 2020-05-14 01:00:11 +02:00
hexcoder-
5273c61cd8 Darwin tests: grep --binary-files=text for laf-intel and skipping of unittests 2020-05-12 23:19:51 +02:00
hexcoder-
6224ae1c60 test/test.sh: prefer python3 over python for unicornafl, avoid realpath and readlink dependencies 2020-05-12 20:59:48 +02:00
van Hauser
6177954773 fix custom mutators and add real test cases 2020-05-12 16:32:40 +02:00
van Hauser
26fe7a9d66 final code-format fixes, remove test-multiple-mutators when done 2020-05-10 15:53:47 +02:00
van Hauser
fa84e52af0 custom mutator code enhancements and code-format 2020-05-09 11:35:54 +02:00
Rishi Ranjan
190f3024da
Support multiple custom mutators (#282)
* Make a list of custom mutators using env variable

* Set up multiple custom mutators

* Add destroy custom mutator and changes to load_custom_mutator

* Use array instead of list, make changes to afl-fuzz-one for multiple mutators

* Make change to fuzz-one custom_queue_get to support multiple mutators

* Modify custom python mutator support

* Fix bug

* Fix missing afl->mutator->data

* Revert to list with max count

* Change custom_pre_save hook and code format

* Free custom_mutator struct in the list

* Add testcase for multiple custom mutators

* Resolve merge conflict
2020-05-08 20:08:27 +02:00
hexcoder-
e31b816aa0 fix unit tests when printf is a macro 2020-05-05 22:46:48 +02:00
van Hauser
6e45e55d82 fix crash in AFL_LLVM_LAF_TRANSFORM_COMPARES 2020-05-05 10:38:44 +02:00
hexcoder-
e68d2345d5 test.sh: continue after failed test case qemu persistent mode 2020-04-29 22:25:10 +02:00
Dominik Maier
66eee34709 refactored global lists 2020-04-26 02:32:09 +02:00
van Hauser
5c017d7071 travis Dockerfiles for testing and debugging 2020-04-25 12:48:48 +02:00
van Hauser
766085293d variable map size fix, error reporting through forkserver, code format 2020-04-24 12:09:25 +02:00
van Hauser
b6f9f4c436 minor changes 2020-04-23 16:08:36 +02:00
hexcoder-
dcba2c3642 test.sh: custom mutator test; make it compilable with available instrumenting
compiler
2020-04-22 08:02:46 +02:00
hexcoder-
724d4ec3de fix some gcc dependencies and build problems on debian 32-Bit,
adapted qemu_mode AFL_ENTRYPOINT test case for 32 bit
2020-04-19 00:37:23 +02:00
Andrea Fioraldi
23ea727915 Merge branch 'dev' of github.com:vanhauser-thc/AFLplusplus into dev 2020-04-16 19:53:51 +02:00
Andrea Fioraldi
f157bca548 fix missing out_fd for cmplog forkserver 2020-04-16 19:53:42 +02:00
Dominik Maier
cdac882834 untitest decl 2020-04-16 16:09:52 +02:00
van Hauser
5e8f385705 revert test.sh changes 2020-04-16 13:24:16 +02:00
van Hauser
dcc889a264 fix travis for cmpcov 2020-04-16 13:11:44 +02:00
Andrea Fioraldi
459d8f9ba2 qemu cmplog test.sh 2020-04-13 10:53:37 +02:00
Dominik Maier
995e556065 cmplog forkserver tidying 2020-04-13 08:54:59 +02:00
van Hauser
5a8db5954c update test.sh to new compcov features 2020-04-12 14:38:47 +02:00
van Hauser
0a525f768b local/global var for compare-transform-pass and code-format 2020-04-12 12:13:01 +02:00
van Hauser
eec725a345 add global and local var support to autodictionary 2020-04-12 10:34:03 +02:00
hexcoder-
fbf5e08425 merge PR#306 from neoni (thanks), silence test when bash is not found 2020-04-09 18:11:39 +00:00
van Hauser
b485b7a252 fix compilers for empty AFL_CC/AFL_CXX env 2020-04-09 16:27:00 +02:00
van Hauser
28314632bd fix travis - heiko test your changes on linux pls ;) 2020-04-09 10:23:37 +02:00
hexcoder-
5c0cf60ec1 fix damage in test.sh 2020-04-09 10:23:37 +02:00
hexcoder-
ae05f5c4b0 afl-fuzz: add usage info when no python support is there, use it in test.sh 2020-04-09 10:23:37 +02:00
van Hauser
a267263420 unit tests cleaning 2020-04-09 10:23:37 +02:00
hexcoder-
9d067d26da fix unit test case for long list 2020-04-09 10:23:37 +02:00
Dominik Maier
5630c2e72c list testcase added 2020-04-09 10:23:37 +02:00
Dominik Maier
dab429521b added (broken) list test 2020-04-09 10:23:37 +02:00
Dominik Maier
48fc106905 added prealloc testcase 2020-04-09 10:23:37 +02:00
hexcoder-
effa766d4a fix cmocka fixup 2020-04-01 13:10:07 +02:00
Dominik Maier
b9783e44a3 cmocka mocks 2020-04-01 13:10:07 +02:00
Dominik Maier
35c817ccd0 mocking cmocka 1 for cmocka 0.x 2020-04-01 13:10:07 +02:00
Dominik Maier
77d68bc7bd old cmocka is old 2020-04-01 13:10:07 +02:00
Dominik Maier
6392a349ce add assert_ptr_equal fallback 2020-04-01 13:10:07 +02:00