218 Commits

Author SHA1 Message Date
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
Dominik Maier
eca55be4fb minor changes 2020-04-01 13:10:07 +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
Dominik Maier
7c383094d9 added unittest for unit_maybe_alloc 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
5b64681867 a little bit more performance 2020-03-22 18:27:04 +01:00
van Hauser
bd239d7e3d nice -n -20 to commit test script 2020-03-22 11:28:09 +01:00
van Hauser
da1f2f3c17 fix travis 2020-03-22 10:24:29 +01:00
van Hauser
38fa2fe0b1 add commit test script test/checkcommit.sh 2020-03-22 09:32:13 +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
Dominik Maier
cc1d6b33b1 unified pointer placement 2020-03-10 22:04:05 +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