103 Commits

Author SHA1 Message Date
van Hauser
ec5b1924c4 CTX+NGRAM != LTO 2020-05-06 11:55:50 +02:00
van Hauser
80ddb484de added InsTrimLTO :-) 2020-05-06 11:51:28 +02:00
van Hauser
128e4d5565 more typos fixed 2020-05-05 20:23:16 +02:00
van Hauser
d6346561db ctx+ngram for instrim 2020-05-05 15:37:02 +02:00
van Hauser
16c16b3e6e ctx and ngram can be used together now 2020-05-04 18:01:47 +02:00
van Hauser
378573ab8b AFL_LLVM_SKIP_NEVERZERO added 2020-05-02 00:39:13 +02:00
van Hauser
d3254d8066 llvm fix 2020-04-17 12:00:28 +02:00
van Hauser
1931838a11 remove unnecessary map_size variables 2020-04-17 11:39:38 +02:00
van Hauser
248a2f2f0b added AFL_MAP_SIZE to env help output 2020-04-17 10:21:41 +02:00
van Hauser
ef311ec70c done implementing AFL_MAP_SIZE 2020-04-17 10:08:56 +02:00
Dominik Maier
124665b392 code-format 2020-04-16 14:47:08 +02:00
van Hauser
2ce6e7a7fb fix laf-intel transform disable 2020-04-15 23:01:33 +02:00
hexcoder-
7e2c52f2b9 disable compare-transform-pass when lto_mode and autodictionary is used. 2020-04-15 22:27:32 +02:00
Dominik Maier
0c02a8f4d3 changed run_target 2020-04-15 19:23:26 +02:00
Rick van Schijndel
48f7f7a17b
afl-clang-fast: fail when binary name can't be used to determine build mode (#318) 2020-04-15 12:08:33 +02:00
Andrea Fioraldi
92aaaef381 code format 2020-04-14 12:42:38 +02:00
van Hauser
b1e7b834ac add missing default names for AFL_LLVM_INSTRUMENT 2020-04-14 11:24:53 +02:00
Andrea Fioraldi
4b88e059ef more robust search for clang for afl-clang-fast 2020-04-13 17:05:43 +02:00
van Hauser
ec67780854 fix 32/64 bit LTO 2020-04-12 14:04:17 +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
5e09e13ece m32/m64 support for LTO and code-format for test/ 2020-04-12 10:58:58 +02:00
van Hauser
eec725a345 add global and local var support to autodictionary 2020-04-12 10:34:03 +02:00
van Hauser
3a509c6168
LTO optimization, variable map size, autodictionary (#307)
* lto module clean-up

* step 1/3

* step 1/3 completed

* if tmp is ever made non-static

* parts 2 and 3 - autodictionary is complete

* variable map_size support

* variable map size: changed overlooked functions

* remove debug for autodict

* 64 bit alignment of map size

* fix review comments

* force 64 bit alignment on both sides

* typo
2020-04-10 22:33:11 +02:00
van Hauser
b485b7a252 fix compilers for empty AFL_CC/AFL_CXX env 2020-04-09 16:27:00 +02:00
van Hauser
c1395bb543 LTO llvm11 (#302)
* new LTO mode for llvm 11

* remove unneeded afl-ld and env vars
2020-04-09 16:27:00 +02:00
van Hauser
c8ca944fac fix review comments by Heiko 2020-04-09 10:23:37 +02:00
van Hauser
314debb799 ctx done 2020-04-09 10:23:37 +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
f7f106c42a remove maybe_linking artifacts 2020-04-09 10:23:37 +02:00
Dominik Maier
c8bdf0790f reenabled custom mutator report 2020-04-01 13:10:07 +02:00
Dominik Maier
e71c2937de code format 2020-04-01 13:10:05 +02:00
van Hauser
34c090a31d add CFI sanitizer 2020-04-01 13:10:05 +02:00
Dominik Maier
6d3dc83c5d code format 2020-03-27 11:06:06 +01:00
Andrea Fioraldi
65817144ac include afl-llvm-rt.o not only when linking 2020-03-23 20:19:07 +01:00
van Hauser
94e30002e7 better man page for afl-clang-* 2020-03-23 09:25:05 +01:00
van Hauser
37603272be more fixes and code-format 2020-03-23 08:58:17 +01:00
van Hauser
4263519479 more fixes 2020-03-23 08:48:57 +01:00
van Hauser
5a74cffa0f added llvm_mode ngram coverage 2020-03-20 17:10:44 +01:00
van Hauser
8e07fbf636 cmplog was neither quiet nor where its llvm passes installed 2020-03-17 16:26:36 +01:00
van Hauser
684f4dd1c4 honor afl_quiet on env var checks + code-format 2020-03-11 11:42:57 +01:00
Dominik Maier
cc1d6b33b1 unified pointer placement 2020-03-10 22:04:05 +01:00
van Hauser
9f89bbd5ec reactivated LTO persistent mode to test.sh 2020-03-09 08:51:37 +01:00
van Hauser
6a6dd84b39 more detail to the fact that LTO mode can fail easily 2020-03-09 08:33:08 +01:00
van Hauser
0581f6ec00 bug fixes to afl-ld and intensive README.lto.md update on errors and how to do the steps by hand, plus global code format 2020-03-09 08:27:23 +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
Andrea Fioraldi
d946be29b9 fix #218 2020-03-01 11:16:43 +01:00
van Hauser
76ca6adbc5 afl-clang-fast: only show the official env vars 2020-02-29 15:12:27 +01:00
van Hauser
6730b6a15a code-format, env.md fixes and adding -hh for env usage display into afl-fuzz and Makefile 2020-02-29 14:23:44 +01:00
hexcoder-
0e8388d3ea add env info to afl-clang-fast, small Android change 2020-02-28 05:00:22 +01:00
van Hauser
4e37e12c06 code-format 2020-02-28 00:19:36 +01:00