35 Commits

Author SHA1 Message Date
van Hauser
06264df168 rename whitelist -> instrumentlist 2020-06-30 17:28: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
van Hauser
7b40d7b942 new code formatting + applied 2020-05-12 11:12:25 +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
van Hauser
0c3d06c41e refactored whitelist and blacklist in llvm_mode 2020-04-25 17:53:38 +02:00
van Hauser
3502db1ac5 more sanitizer functions for blacklist 2020-04-23 07:28:25 +02:00
Dominik Maier
8197e9b2e4
clang-tidy readability-braces (#323) 2020-04-19 16:42:40 +02:00
van Hauser
ccbcb5c8d3 added AFL_LLVM_INSTRUMENT, made USE_TRACE_PC obselete and llvm_mode Makefile fix, fixed for FUSELD (for LTO) 2020-04-09 10:23:37 +02:00
van Hauser
df74edeb45 more honoring be_quiet 2020-03-09 11:08:50 +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
f9d7ad8e43 forgot cleanup 2020-02-19 10:52:44 +01:00
van Hauser
687b357b2d isatty for all compilers + AFL_DEBUG 2020-02-19 09:53:46 +01:00
hexcoder-
ceed66930e lower requirements for lower llvm/clang versions
3.7.1 works with the exception of InsTrim, 3.8.1 and above is ok
2020-01-30 21:32:08 +01:00
van Hauser
2c6847bfa0 added whitelist+blacklist to all llvm_mode passes 2020-01-25 16:11:42 +01:00
hexcoder-
064cd3315c fix issue #155 AFL_LLVM_LAF_SPLIT_FLOATS breaks bogofilter
added some forgotten floating point comparison types
2019-12-27 20:13:00 +01:00
Andrea Fioraldi
124ec8d297 code format (contributors, do it!) 2019-12-02 14:34:21 +01:00
hexcoder-
38d74f0ad5 second forgotten place, we need to filter out float vector types 2019-10-28 20:48:45 +01:00
hexcoder-
3ad5316dd1 fix issue #86, we exclude floating point vectors from splitting 2019-10-27 23:54:44 +01:00
Andrea Fioraldi
3eaf5560be AFL_LLVM_LAF_SPLIT_FLOATS 2019-10-26 09:03:46 +02:00
Andrea Fioraldi
eae4a9e1f8 persistent qemu should now works as expected 2019-10-08 12:39:11 +02:00
hexcoder-
b5c2646360 fix mantissa mask bug (for types double and long double) 2019-10-05 13:55:25 +02:00
hexcoder-
e0ff431169 replace op0_size and op1_size with op_size. 2019-10-05 12:35:06 +02:00
van Hauser
9c105098dd general maintance 2019-10-04 10:33:28 +02:00
hexcoder-
149b7d9ee8 bugfix for optimization 2019-09-23 22:25:44 +02:00
hexcoder-
59d4b0aadb avoid floatSemantics, not available in LLVM 3.8.0 2019-09-23 21:57:38 +02:00
hexcoder-
1e503a586d first realisation of splitting floating point compares
activated with AFL_LLVM_LAF_SPLIT_COMPARES=1
needs testing on big endian machines
A compare is split into
 sign integer comparison
 exponent integer comparison
 mantissa/fraction integer comparison
These integer comparisons are further splitted if they are
bigger than a byte.
2019-09-22 08:02:56 +02:00
Andrea Fioraldi
b24639d011 run code formatter 2019-09-02 18:49:43 +02:00
hexcoder-
73d02f3a80 fix some compiler warnings 2019-08-08 23:09:58 +02:00
van Hauser
495f3b9a68 notZero added and first attempt at whitelist 2019-07-14 10:23:54 +02:00
van Hauser
b57b2073ac LAF_... -> AFL_LLVM_LAF_... 2019-07-03 12:05:58 +02:00
practicalswift
263fd37590 Fix typos 2019-06-07 17:56:29 +02:00
Hexcoder
b4678b77f1 fix llvm compatibility problems. Should compile now with llvm 3.8.0
up to llvm 8.0
2019-06-03 23:20:47 +02:00
van Hauser
49a08e38b9 llvm 5.0 and 6.0 workaround 2019-06-02 22:23:25 +02:00
van Hauser
f367728c44 afl++ 2.52c initial commit 2019-05-28 16:40:24 +02:00