Commit Graph

83 Commits

Author SHA1 Message Date
mio
1c9925c7d7 Initial integration 2025-01-19 23:49:52 +08:00
b88f132975 llvm20 fix 2024-09-29 17:11:07 +02:00
a6e42d98d9 llvm 19 fixes 2024-06-18 15:09:11 +02:00
7340374a7c Fix wrong warning in SanitizerCoverageLTO.so.cc 2024-04-29 16:14:49 +08:00
458b939bc4 LTO fix 2024-04-19 17:34:50 +02:00
45603367bf fix llvm modules 2024-04-07 09:44:33 +02:00
f2b7357ff3 fixes 2024-02-09 13:09:23 +01:00
88e41f01c8 env fix 2024-02-08 15:28:19 +01:00
dc151caa18 add lto caller instrumentation 2024-02-03 15:53:54 +01:00
ba3a039e45 finish lto-ctx 2024-02-02 13:17:20 +01:00
bd13d32437 final touches 2024-02-02 09:54:24 +01:00
79080355ac better CTX instrumentation 2024-02-01 17:39:23 +01:00
e6eee685ce fix 2024-01-27 15:13:27 +01:00
ceb7e44e6f fixes 2024-01-27 08:28:47 +01:00
d668010bed fixes 2024-01-26 16:44:31 +01:00
44a7696169 fixes 2024-01-26 15:27:20 +01:00
b0a912a838 working ugly version 2024-01-26 12:15:42 +01:00
4d493452a4 tmp 2024-01-25 17:00:53 +01:00
daaefcddc0 code format 2023-12-24 10:35:02 +01:00
df0638ab87 llvm 18 build fixes. 2023-12-23 19:32:19 +00:00
b547a6ab0d nits 2023-07-10 17:43:21 +02:00
cac713ec30 llvm 15 2023-06-24 15:48:23 +02:00
2b500ce97e llvm 15 fixes 2023-06-01 12:27:34 +02:00
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
3e84d6a2ae afl++ -> AFL++ 2023-04-27 11:49:00 +02:00
531380d6ab llvm-lto: allow skipping initialization 2023-04-24 17:55:58 +02:00
6cc8d607fb remove -z option, use -p mmopt instead 2023-04-13 11:44:39 +02:00
824385f52c make llvm 17 work 2023-04-12 14:03:29 +02:00
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
be96253f52 nits 2023-03-31 11:02:27 +02:00
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
80eabd6e8a AFL_LLVM_DICT2FILE_NO_MAIN support 2023-02-13 11:34:14 +01:00
b27a4a3689 Fix loading and registeration of LTO pass for new pass manager 2022-09-14 15:54:29 +02:00
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
b847e0f414 clang format 14 2022-07-12 09:04:54 +02:00
fc520a2bde fix 2022-07-04 21:57:42 +02:00
24458ae285 nits 2022-07-04 18:13:21 +02:00
fa2b040476 fix LTO with cmplog and laf 2022-03-18 15:00:24 +01:00
05119990b6 LLVM 14 fixes 2022-02-22 11:13:00 +01:00
c5117b42ca fix iselect instrumentation 2022-01-17 20:15:27 +01:00
75ac9c013c better instrumentlist filename detection 2021-12-14 10:15:09 +01:00
db360332c4 make llvm 14-dev working. again. 2021-12-09 14:33:56 +01:00
fc094dee13 change dlopen solution 2021-12-03 11:35:30 +01:00
22827e8070 unify LLVM_VERSION_... usage 2021-12-01 11:38:55 +01:00
8c4435e7ef fix for llvm < 11 2021-11-23 21:08:28 +01:00
90d7931af6 fixes 2021-11-23 19:37:27 +01:00
11f89ab785 do not add zero byte on string compares with len 2021-11-23 19:34:21 +01:00
6ce3d7fede add AFL_USE_TSAN 2021-11-04 15:53:17 +01:00