266 Commits

Author SHA1 Message Date
vanhauser-thc
69c9a176eb our own PCGUARD mode not for llvm 10.0.1 2022-03-18 12:57:51 +01:00
vanhauser-thc
bdfac291ba fix split pass loading 2022-03-18 08:47:45 +01:00
vanhauser-thc
3d1be62c96 merge fixes 2022-03-17 16:39:40 +01:00
van Hauser
1bea949f34
Merge branch 'dev' into newpm2 2022-03-17 16:30:29 +01:00
vanhauser-thc
e4f201707f make LTO pass work too plus some fixes 2022-03-17 14:35:15 +01:00
vanhauser-thc
59eaed2f70 make pcguard work 2022-03-17 13:52:48 +01:00
vanhauser-thc
d325fa5db8 code format 2022-03-01 20:13:57 +01:00
vanhauser-thc
f70760896c Revert "Merge branch 'newpm2' into dev"
This reverts commit fee1acf7e6096533f1aa8cd74035bed21c90fdf6, reversing
changes made to 675d17d737ee5dee88766d9c181567771592c94c.
2022-03-01 19:21:31 +01:00
van Hauser
fee1acf7e6
Merge branch 'newpm2' into dev 2022-02-22 13:58:49 +01:00
Raphael Isemann
05119990b6 LLVM 14 fixes 2022-02-22 11:13:00 +01:00
vanhauser-thc
914eb79cbc todo list 2022-02-21 10:32:43 +01:00
vanhauser-thc
92db443635 Revert "remove new llvm pass manager :("
This reverts commit 55ed2a443c5c61baba37415d4087164454d8a2a8.
2022-02-20 19:51:43 +01:00
Dominik Maier
5e8da2b85c Adapt to my MacOS 2022-02-09 20:36:16 +01:00
vanhauser-thc
fa628865c1 remove debug msg 2022-02-08 18:43:23 +01:00
vanhauser-thc
05a36f10ba import mozilla afl-cc patch 2022-02-08 18:33:59 +01:00
vanhauser-thc
22da04f077 fix 2022-01-21 10:13:37 +01:00
vanhauser-thc
550ba4d772 nits and code format 2022-01-19 22:26:52 +01:00
vanhauser-thc
4bcb177f62 Revert "fix classify counts"
This reverts commit 4217a6606c92f6a88ab577ae8f91823dd731562d.
2022-01-19 22:17:36 +01:00
vanhauser-thc
4217a6606c fix classify counts 2022-01-15 13:58:17 +01:00
vanhauser-thc
e1082f2548 welcome 2022 2022-01-01 00:49:17 +01:00
Joshua Rogers
8b75680c7a Fix type. 2021-12-30 03:09:04 +01:00
Joshua Rogers
09c4d9ed75 Fix LeakSanitizer Usage.
Previously, __lsan_do_leak_check() was run when using __AFL_LEAK_CHECK,
however this was the incorrect function to use. According to the
documentation: "Subsequent calls to this function will have no effect
and end-of-process leak check will not run".
This meant that if the memory did not leak on the first usage of
__AFL_LEAK_CHECK, subsquent calls to this macro would never do anything.

Likewise, it is not possible to use an LSAN suppression list with
symbolize=0, so instead __lsan_disable and __lsan_enable are used to
'ignore' certain memory allocations where needed.
2021-12-30 02:54:40 +01:00
vanhauser-thc
02082bcd2e afl-cc lto fix 2021-12-29 18:24:47 +01:00
vanhauser-thc
641a943d95 more -z defs filtering 2021-12-16 21:31:37 +01:00
vanhauser-thc
176ede3fc8 afl-cc -v without errors 2021-12-15 09:50:45 +01:00
Rick van Schijndel
d40a4fe366 afl-cc: fix incorrect CLANGPP_BIN
This caused CMake to complain that the C compiler was set to C++ mode,
causing the CMake configuration step to fail for all targets.

aflplusplus was built with

make source-only -j8 LLVM_BINDIR= AFL_REAL_LD=
2021-12-11 15:48:58 +01:00
vanhauser-thc
e46adb0be7 fix AFL_REAL_LD for afl-cc 2021-12-08 11:28:41 +01:00
vanhauser-thc
22827e8070 unify LLVM_VERSION_... usage 2021-12-01 11:38:55 +01:00
vanhauser-thc
55ed2a443c remove new llvm pass manager :( 2021-11-26 15:30:46 +01:00
hexcoder-
91f1c17c8f transform cmplog-instructions pass to new pass manager 2021-11-24 00:05:15 +01:00
hexcoder-
1fbb7cb2fa fix switch to new pass manager 2021-11-23 21:07:11 +01:00
vanhauser-thc
6f5ba59d99 further fixes for new pass manager 2021-11-23 19:18:26 +01:00
hexcoder-
0e9b208949 Merge branch 'dev_newpm' into dev 2021-11-22 16:51:06 +01:00
vanhauser-thc
9325a4fcbb http->https 2021-11-06 10:28:22 +01:00
yuawn
9506772984 unify output format 2021-11-05 03:09:39 +00:00
vanhauser-thc
6ce3d7fede add AFL_USE_TSAN 2021-11-04 15:53:17 +01:00
vanhauser-thc
c64735df9e help gcc 2021-10-31 11:55:44 +01:00
vanhauser-thc
36d8f97972 gcc instrumentation opt 2021-10-31 11:55:44 +01:00
vanhauser-thc
0348ede4bc fix gcc warning 2021-10-24 19:53:07 +02:00
hexcoder-
1f2fa22dad make new pass manager interface compiler version dependent (>=7) 2021-10-16 14:37:54 +02:00
hexcoder-
379c580658 converted split-switches-pass to new pass manager 2021-10-12 23:40:05 +02:00
hexcoder-
6e08e80907 converted compare-transform-pass to new pass manager 2021-10-12 23:24:28 +02:00
hexcoder-
544a65db54 converted afl-llvm-pass to new pass manager 2021-10-12 23:02:15 +02:00
hexcoder-
8e66289809 adapt compiler driver to laod new pass manager passes 2021-10-12 19:04:35 +02:00
vanhauser-thc
591d6c59c7 fix shared linking on macos 2021-08-19 17:02:17 +02:00
vanhauser-thc
1959812e83 more partial linking 2021-08-18 15:48:05 +02:00
yuawn
bab487f4b5 remove redundant if statement 2021-07-23 12:34:47 +00:00
vanhauser-thc
6df597213a fix for -fsanitize=fuzzer on MacOS 2021-07-14 18:20:38 +02:00
vanhauser-thc
6ec295db4e more partial linking 2021-07-05 16:14:54 +02:00
van Hauser
046a9520f3
Inline cmplog (#996)
* inline cmplog check

* better switch support

* add cmplog-switches-pass.cc
2021-06-28 09:14:41 +02:00