163 Commits

Author SHA1 Message Date
hexcoder-
182b8a4582 llvm_mode: lower llvm version reqs to 3.4 (LLInsTrim will not be
available)
2020-05-15 01:55:33 +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
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
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
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
f157bca548 fix missing out_fd for cmplog forkserver 2020-04-16 19:53:42 +02:00
Andrea Fioraldi
459d8f9ba2 qemu cmplog test.sh 2020-04-13 10:53:37 +02:00
van Hauser
5a8db5954c update test.sh to new compcov features 2020-04-12 14:38:47 +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
Dominik Maier
c8bdf0790f reenabled custom mutator report 2020-04-01 13:10:07 +02:00
van Hauser
0b8a5cb4bb travis: dont fail on custom mutator - currently 2020-04-01 13:10:07 +02:00
Dominik Maier
9cab515e58 added unittests to test.sh 2020-04-01 13:10:07 +02:00
Dominik Maier
710a29a1e0 fixed testcase 2020-04-01 13:10:07 +02:00
h1994st
ea95453975 test.sh: redirect command line output 2020-04-01 13:10:07 +02:00
h1994st
64e1d3a975 test.sh: "trusty-amd64" does not work well with "realpath". Use
"readlink -f" for Ubuntu instead.
2020-04-01 13:10:07 +02:00
h1994st
d568559f01 Fix typo 2020-04-01 13:10:06 +02:00
Dominik Maier
1e290542bb rebase 2020-04-01 13:10:06 +02:00
h1994st
245304f593 Add a test case for the custom mutator
- Update the Makefile in examples/custom_mutators
- Add a test program for testing the custom mutator
- Update test.sh for testing the custom mutator
- [TODO] Update the result checking criterias of the custom mutator in
test.sh
2020-04-01 13:10:06 +02:00
hexcoder-
23d9649aec making 'CFLAGS="-m32" make source-only tests' work 2020-04-01 13:10:06 +02:00
van Hauser
da1f2f3c17 fix travis 2020-03-22 10:24:29 +01:00
van Hauser
42ece199c8 revert test.sh patch 2020-03-21 22:04:52 +01:00
van Hauser
f8d717d195 test.sh fix 2020-03-21 21:42:32 +01:00
van Hauser
c6db05c5ae test.sh with -no-pie 2020-03-21 21:10:38 +01:00
hexcoder-
6cbd0f1faf avoid calling awk for 'which' replacement, use POSIX 'command -v' instead 2020-03-21 18:51:43 +01:00
hexcoder-
f6847b0314 test.sh: replace 'which' with 'type' 2020-03-19 00:19:25 +01:00
Andrea Fioraldi
bfe076748b fix test failure with qemu compcov 2020-03-15 21:42:04 +01:00
hexcoder-
530bd2b341 test.sh: make afl-cmin.bash test dependent on bash 2020-03-12 22:52:20 +01:00
van Hauser
0def6e3471 this should fix travis 2020-03-10 07:18:23 +01:00
van Hauser
581097d58d expanded test-instr to also work with input files via "-f @@" and changed the test.sh values 2020-03-09 11:39:12 +01:00
van Hauser
9f89bbd5ec reactivated LTO persistent mode to test.sh 2020-03-09 08:51:37 +01:00
van Hauser
90409f383a added AFL_QUIET - be_quiet to afl-showmap and small changes to test.sh 2020-03-05 11:36:37 +01:00
van Hauser
9d686ba523
Add LTO collision free llvm_mode (#223)
* first new implementation, only works with AFL_DONT_OPTIMIZE

* bug hunting

* interim commit

* finalized LTO non-collision solution

* update documentation

* merge resulted in some problems, fixing these

* added lto env to env check

* fixed llvm weirdness to messes up our instrumentation due CFG rewrite optimizations

* all llvm instrumentation issues have been resolved! :-)

* llvm 9 is required (so far)

* update lto readme
2020-03-05 10:52:26 +01:00
van Hauser
2c9c2e139e afl-gcc change -> test.sh 2020-02-25 14:01:55 +01:00
Andrea Fioraldi
00c1c26bf8 Merge branch 'master' of github.com:vanhauser-thc/AFLplusplus 2020-02-21 19:52:11 +01:00
Andrea Fioraldi
f4e09634cc test compcov and persistent also on arm 2020-02-21 19:52:03 +01:00
van Hauser
ec8e8cb51c no unnecessary warnings in test.sh 2020-02-21 18:10:50 +01:00