23 Commits

Author SHA1 Message Date
van Hauser
a38980c80b unsized string compare fix 2020-05-05 17:57:56 +02:00
van Hauser
d82ada89fe support older llvm versions 2020-05-05 14:08:24 +02:00
van Hauser
6e45e55d82 fix crash in AFL_LLVM_LAF_TRANSFORM_COMPARES 2020-05-05 10:38:44 +02:00
van Hauser
0c3d06c41e refactored whitelist and blacklist in llvm_mode 2020-04-25 17:53:38 +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
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
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
David Carlier
7fdc7e01a5 Fix some silent warnings and put some var to some usage... 2019-10-31 11:41:50 +00:00
Andrea Fioraldi
b24639d011 run code formatter 2019-09-02 18:49:43 +02:00
hexcoder-
a6fe8ae0af fix compilation error with llvm 9.0 2019-08-07 20:25:22 +02:00
hexcoder-
2628f9f61b fix crash with case insensitive compare functions (str(n)casecmp()) 2019-07-15 08:54:12 +02:00
van Hauser
495f3b9a68 notZero added and first attempt at whitelist 2019-07-14 10:23:54 +02:00
Philipp Bartsch
f5ba5ffe80 fix zero terminated string issue
In C "strings" are zero terminated. Functions like
strcmp/strncmp/memcmp/... work on them. We have to be careful to not
ignore the last byte.
2019-06-13 14:42:10 +00:00
Heiko Eißfeldt
1c2ed83960 bugfixes from pbst for laf-intel transformations 2019-06-12 17:20:25 +02:00
Hexcoder
8cf9125097 Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus 2019-06-03 23:41:42 +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
865212899a llvm support for up to version 8 2019-06-03 23:20:30 +02:00
van Hauser
49a08e38b9 llvm 5.0 and 6.0 workaround 2019-06-02 22:23:25 +02:00
van Hauser
bf5bd17d2e llvm 8 support 2019-06-01 17:05:51 +02:00
van Hauser
f367728c44 afl++ 2.52c initial commit 2019-05-28 16:40:24 +02:00