2402 Commits

Author SHA1 Message Date
rish9101
45bddcd808 Fix bugs, remove intial post library test 2020-05-13 19:25:23 +05:30
rish9101
9627458ecc Add post library API as custom mutator and rename pre_save 2020-05-13 18:59:12 +05:30
van Hauser
f8b3d34225 move has_new_bits for better performance 2020-05-13 00:41:24 +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
Dominik Maier
0c1c947aaf updated uc ref 2020-05-12 22:42:41 +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
72f4a9f678 missing env var 2020-05-12 19:40:04 +02:00
van Hauser
060f4ea320 enforce mandatary custom functions 2020-05-12 17:05:12 +02:00
van Hauser
6177954773 fix custom mutators and add real test cases 2020-05-12 16:32:40 +02:00
van Hauser
7b40d7b942 new code formatting + applied 2020-05-12 11:12:25 +02:00
van Hauser
1317433a51
Merge pull request #359 from AFLplusplus/dev
push to master
2020-05-12 11:04:18 +02:00
hexcoder-
a578d719e1 llvm_mode: more support for Darwin/MacOSX (WIP) 2020-05-12 10:34:52 +02:00
Andrea Fioraldi
8bb10c3bf1 fix issue in describe_op showing time inside src 2020-05-12 09:20:02 +02:00
van Hauser
b920cd2f23 blacklist llvmfuzzer functions 2020-05-11 23:30:28 +02:00
van Hauser
38dac93f63 fix typos 2020-05-11 22:44:44 +02:00
Dominik Maier
6f66be12f6 merge makefile 2020-05-11 15:30:00 +02:00
Dominik Maier
4ee93331dc updated unicornafl 2020-05-11 15:11:11 +02:00
Dominik Maier
30a675ab87 silened warnings 2020-05-11 14:40:42 +02:00
van Hauser
845522f59b remove warnings 2020-05-11 13:34:57 +02:00
Dominik Maier
f37be09a92 fixed unicornafl bug 2020-05-11 13:18:06 +02:00
van Hauser
ed877f5e3e add missing include 2020-05-11 12:46:27 +02:00
van Hauser
d916403927 document workaround for targets with _init for LTO 2020-05-11 11:33:33 +02:00
van Hauser
41f6aa7940 bigger initial map when LTO 2020-05-11 10:45:20 +02:00
hexcoder
50a63777ec
python formatter: enhance detection of #define, needed for multi line macros
@andreafioraldi : please have a look at it. Goal is to detect forms of ' # define' also.
2020-05-11 10:12:32 +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
07a0e2caf7 hopefully final fixes from code-format disaster :-( 2020-05-10 15:36:46 +02:00
van Hauser
30bfd44dfd indenting preprocessor directives breaks compilation and cant be fixed, reverting ... :-( 2020-05-10 12:09:37 +02:00
van Hauser
26f8708fed fix warning, code format 2020-05-10 11:35:31 +02:00
hexcoder
3beec8d4fa
clang-format: indent preprocessor directives, so nesting levels can be better seen 2020-05-10 11:11:40 +02:00
van Hauser
2e553bcd69 code-format 2020-05-10 10:24:24 +02:00
van Hauser
0e5a5f1805
Merge pull request #358 from rish9101/update_docs
Specify usage of multiple custom mutators
2020-05-10 08:59:36 +02:00
van Hauser
d02cfc54b6 LTO fixes for fuzzbench 2020-05-10 08:51:40 +02:00
rish9101
7b9ac9d414 Specify usage of multiple custom mutators 2020-05-10 12:21:19 +05:30
David CARLIER
515de0d68d
Illumos biuld fix (#357) 2020-05-10 00:21:26 +02:00
hexcoder
1eeb6785ad
Merge pull request #356 from devnexen/netbsd_build_fix_tokencap
NetBSD build fix
2020-05-09 20:39:18 +02:00
hexcoder-
20392878f1 qemu_mode: make building warning free 2020-05-09 20:02:32 +02:00
hexcoder-
102067d43d LLVMInsTrim.so.cc: fix for LLVM 3.8.0 2020-05-09 19:08:54 +02:00
David Carlier
6c88e21459 NetBSD build fix 2020-05-09 18:02:53 +01:00
hexcoder
041f19494e
minor fixes 2020-05-09 18:51:33 +02:00
hexcoder-
8e9f507bbc unicorn_mode/samples/persistent/Makefile: fix non-Linux support 2020-05-09 18:49:32 +02:00
van Hauser
c380819e02 remove debug output 2020-05-09 11:58:47 +02:00
van Hauser
fa84e52af0 custom mutator code enhancements and code-format 2020-05-09 11:35:54 +02:00
Rishi Ranjan
cf9238e09d
Update docs and Changelog for custom_mutators (#355) 2020-05-09 00:01:11 +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
768053b6f2 add AFL_DEBUG check to all isatty checks 2020-05-08 16:28:39 +02:00
hexcoder-
bdd2a412c4 change docs/README.md to symlink to toplevel README.md 2020-05-07 18:47:23 +02:00
hexcoder-
d217c7df05 Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev 2020-05-07 18:33:38 +02:00
hexcoder-
9484da57ed convert docs/README.md into a symlink to toplevel README.md (helps website content) 2020-05-07 18:32:36 +02:00
van Hauser
ef2ccc8117 added AFL_LLVM_SKIPSINGLEBLOCK and changed default behaviour to instrument single block functions 2020-05-07 14:59:12 +02:00
van Hauser
02887dc164 fix static and profiling compilation and add profiling calculation 2020-05-07 14:09:58 +02:00