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
David Carlier
65afe5addc
LLVM coverage making it more C++ too.
2021-10-09 18:31:12 +01:00
David Carlier
580401591f
LLVM passes making slightly more C++
2021-10-09 17:23:32 +01:00
vanhauser-thc
c3fbf5dca3
add more string functions for dictionary features
2021-07-30 08:33:18 +02:00
vanhauser-thc
9ec63d3f17
fix frida, fix dictionary generation to honor AFL_LLVM_{ALLOW/DENY}LIST
2021-07-14 14:31:27 +02:00
vanhauser-thc
f1bcd378a2
fix failures for some sized string instrumentations
2021-07-07 12:19:05 +02:00
hexcoder-
96c802fce8
fix stupid typos
2021-06-01 18:41:38 +02:00
hexcoder-
97225f1f6f
adapt to incompatible LLVM 13 API
2021-06-01 18:36:28 +02:00
vanhauser-thc
7665354405
threadsafe doc fixes, code format
2021-06-01 10:13:16 +02:00
hexcoder
97a1f89881
Merge branch 'dev' into going_atomic
2021-05-31 19:18:24 +02:00
hexcoder-
b246de7891
add support for AFL_LLVM_THREADSAFE_INST to other LLVM passes
2021-05-30 15:25:10 +02:00
vanhauser-thc
c9d066038f
fix PCGUARD, build aflpp_driver with fPIC
2021-04-30 10:27:43 +02:00
hexcoder-
ec49c7fbf5
Change other LLVM modes to atomic increments
2021-04-17 22:32:33 +02:00
vanhauser-thc
8868648f76
fix LTO selective instrumentation
2021-03-22 10:45:39 +01:00
vanhauser-thc
2102264acf
fix for new llvm 13 change
2021-03-19 16:06:06 +01:00
vanhauser-thc
3342aa751d
fix laf string transform crash
2021-03-05 10:05:43 +01:00
vanhauser-thc
333509bb0a
better unicode support
2021-03-02 16:24:43 +01:00
vanhauser-thc
c269c3977c
fix llvm for unicode strings (hopefully)
2021-03-02 11:38:12 +01:00
vanhauser-thc
0ad56167c5
fix scan-build issues
2021-02-07 07:51:29 +01:00
van Hauser
7a861498c2
added support for __afl_coverage_interesting
2021-01-31 15:04:40 +01:00
van Hauser
d36af0d576
fix msg
2021-01-15 17:32:43 +01:00
van Hauser
9c15f53a47
fix for changes in llvm 12
2021-01-04 17:45:52 +01:00