77 Commits

Author SHA1 Message Date
vanhauser-thc
f2b7357ff3 fixes 2024-02-09 13:09:23 +01:00
vanhauser-thc
88e41f01c8 env fix 2024-02-08 15:28:19 +01:00
vanhauser-thc
dc151caa18 add lto caller instrumentation 2024-02-03 15:53:54 +01:00
vanhauser-thc
ba3a039e45 finish lto-ctx 2024-02-02 13:17:20 +01:00
vanhauser-thc
bd13d32437 final touches 2024-02-02 09:54:24 +01:00
vanhauser-thc
79080355ac better CTX instrumentation 2024-02-01 17:39:23 +01:00
vanhauser-thc
e6eee685ce fix 2024-01-27 15:13:27 +01:00
vanhauser-thc
ceb7e44e6f fixes 2024-01-27 08:28:47 +01:00
vanhauser-thc
d668010bed fixes 2024-01-26 16:44:31 +01:00
vanhauser-thc
44a7696169 fixes 2024-01-26 15:27:20 +01:00
vanhauser-thc
b0a912a838 working ugly version 2024-01-26 12:15:42 +01:00
vanhauser-thc
4d493452a4 tmp 2024-01-25 17:00:53 +01:00
vanhauser-thc
daaefcddc0 code format 2023-12-24 10:35:02 +01:00
David Carlier
df0638ab87 llvm 18 build fixes. 2023-12-23 19:32:19 +00:00
vanhauser-thc
b547a6ab0d nits 2023-07-10 17:43:21 +02:00
Dongjia "toka" Zhang
cac713ec30
llvm 15 2023-06-24 15:48:23 +02:00
vanhauser-thc
2b500ce97e llvm 15 fixes 2023-06-01 12:27:34 +02:00
vanhauser-thc
029e039cbc code format 2023-05-21 17:49:14 +02:00
vH
f567a89dae more llvm 17 2023-04-28 15:39:01 +02:00
vH
00c86b7cb1 llvm 17 changes 2023-04-28 14:56:52 +02:00
vanhauser-thc
3e84d6a2ae afl++ -> AFL++ 2023-04-27 11:49:00 +02:00
Keno Hassler
531380d6ab
llvm-lto: allow skipping initialization 2023-04-24 17:55:58 +02:00
vanhauser-thc
6cc8d607fb remove -z option, use -p mmopt instead 2023-04-13 11:44:39 +02:00
vanhauser-thc
824385f52c make llvm 17 work 2023-04-12 14:03:29 +02:00
David CARLIER
a0818c4fce LLVM instrumentation disable build warning.
Since clang 16 is the version for Ubuntu 23 04/Fedora 38 and is easy enough to fix..
2023-04-10 12:38:26 +01:00
vanhauser-thc
be96253f52 nits 2023-03-31 11:02:27 +02:00
Tulio Magno Quites Machado Filho
c594a58583 Stop using removed pipeline extensions
LLVM commit 7ae6838defb21737963b1dd8ff9de7e87052c74f removed the
following extensions:

- PassManagerBuilder::EP_OptimizerLast
- PassManagerBuilder::EP_EnabledOnOptLevel0
- PassManagerBuilder::EP_FullLinkTimeOptimizationLast
2023-03-28 12:15:20 -03:00
vanhauser-thc
80eabd6e8a AFL_LLVM_DICT2FILE_NO_MAIN support 2023-02-13 11:34:14 +01:00
Nikita Popov
b27a4a3689 Fix loading and registeration of LTO pass for new pass manager 2022-09-14 15:54:29 +02:00
Nikita Popov
5452d4652b Fix naming clash between AFL's sancov LTO pass and upstream sancov pass
There was some confusion here due to name reuse. The
initializeModuleSanitizerCoverageLegacyPassPass() function was
actually calling the initialization of the upstream pass (which
no longer supports legacy PM and thus fails to build on LLVM 15).
The intention was to call the LTO initialization here.

Fix this by renaming symbols to avoid collision.
2022-09-14 11:36:05 +02:00
vanhauser-thc
b847e0f414 clang format 14 2022-07-12 09:04:54 +02:00
vanhauser-thc
fc520a2bde fix 2022-07-04 21:57:42 +02:00
vanhauser-thc
24458ae285 nits 2022-07-04 18:13:21 +02:00
vanhauser-thc
fa2b040476 fix LTO with cmplog and laf 2022-03-18 15:00:24 +01:00
Raphael Isemann
05119990b6 LLVM 14 fixes 2022-02-22 11:13:00 +01:00
vanhauser-thc
c5117b42ca fix iselect instrumentation 2022-01-17 20:15:27 +01:00
vanhauser-thc
75ac9c013c better instrumentlist filename detection 2021-12-14 10:15:09 +01:00
vanhauser-thc
db360332c4 make llvm 14-dev working. again. 2021-12-09 14:33:56 +01:00
vanhauser-thc
fc094dee13 change dlopen solution 2021-12-03 11:35:30 +01:00
vanhauser-thc
22827e8070 unify LLVM_VERSION_... usage 2021-12-01 11:38:55 +01:00
vanhauser-thc
8c4435e7ef fix for llvm < 11 2021-11-23 21:08:28 +01:00
vanhauser-thc
90d7931af6 fixes 2021-11-23 19:37:27 +01:00
vanhauser-thc
11f89ab785 do not add zero byte on string compares with len 2021-11-23 19:34:21 +01:00
vanhauser-thc
6ce3d7fede add AFL_USE_TSAN 2021-11-04 15:53:17 +01:00
vanhauser-thc
7a7630ae91 support llvm >= 11 2021-11-03 13:18:02 +01:00
vanhauser-thc
ccded9fc5c vectorized coverage only possible for llvm 14 :( 2021-11-03 12:49:54 +01:00
vanhauser-thc
ce41f881a0 nosan 2021-11-02 19:53:15 +01:00
vanhauser-thc
682e1d835c select support for LTO 2021-11-02 19:20:18 +01:00
Kuang-che Wu
45b8e05793 fix off by one bug of PCGUARD instrumentation
fix bug #1120
2021-10-30 22:27:49 +08:00
vanhauser-thc
bb8a4d71da format and remove warning 2021-10-18 20:53:54 +02:00