528 Commits

Author SHA1 Message Date
toka
d9462657a8 urandom 2023-10-02 15:02:24 +02:00
toka
efae28f27c typo 2023-10-01 18:20:50 +02:00
vanhauser-thc
9307ef4b7c fix string transform laf 2023-09-04 09:11:47 +02:00
vanhauser-thc
dad56abc85 fix attempt for laf string compare transform 2023-09-02 15:48:29 +02:00
vanhauser-thc
127c345161 nts 2023-07-13 14:26:32 +02:00
vanhauser-thc
a46d27fad5 nits 2023-07-10 18:29:21 +02:00
vanhauser-thc
b547a6ab0d nits 2023-07-10 17:43:21 +02:00
vanhauser-thc
f37c4c8662 update llvm recommendations 2023-07-05 13:03:17 +02:00
Dongjia "toka" Zhang
cac713ec30
llvm 15 2023-06-24 15:48:23 +02:00
Dongjia "toka" Zhang
1e3890ea7f
delete duplicate branches 2023-06-24 15:34:12 +02:00
vanhauser-thc
edd352612d code format 2023-06-24 09:30:09 +02:00
van Hauser
2106738d6b
Merge pull request #1783 from AFLplusplus/toka_laf_fix
laf-intel fix
2023-06-24 10:27:10 +03:00
Dongjia "toka" Zhang
0616f368c8
fixing laf 2023-06-24 00:21:45 +02:00
vanhauser-thc
90f83c13d0 remove dead code, code format 2023-06-22 09:26:46 +02:00
Seoyoung
420e36dcd3 SanitizerCoveragePCGUARD: select counter off by one error 2023-06-16 05:49:49 -04:00
vanhauser-thc
f6471dd256 fix gcc cmplog crash 2023-06-07 10:57:52 +02:00
cocochpie
9585f5cdfe change the ‘#if’ to >= 17 instead of < 17 2023-06-06 04:07:38 +00:00
cocochpie
abc26a932a Revive f567a89dae29afb2e421d649f0e750e77913f08c 2023-06-05 20:33:33 +00:00
vanhauser-thc
b644e48f36 more llvm 15 specialities 2023-06-01 13:28:07 +02:00
vanhauser-thc
2b500ce97e llvm 15 fixes 2023-06-01 12:27:34 +02:00
vanhauser-thc
9324f3f628 rewrote PCGUARD 2023-06-01 12:19:45 +02:00
vanhauser-thc
029e039cbc code format 2023-05-21 17:49:14 +02:00
vanhauser-thc
1d0694df86 add symqemu custom mutator 2023-05-17 15:25:26 +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
5813a4319c doc, code format 2023-04-28 11:42:21 +02:00
Christian Holler (:decoder)
e956f23a77
Source Code Coverage support for Nyx (Part 1) (#1720)
* Additional source code reformatting in afl-compiler-rt

* Add source code coverage support to afl-compiler-rt (for use with Nyx)
2023-04-28 11:35:22 +02:00
vanhauser-thc
3e84d6a2ae afl++ -> AFL++ 2023-04-27 11:49:00 +02:00
vanhauser-thc
21865c6224 rename env to AFL_IGNORE_PROBLEMS_COVERAGE 2023-04-25 16:47:37 +02:00
van Hauser
b96ba509d0
Merge pull request #1714 from choller/dev
Add env var to ignore coverage from dynamically loaded code after forkserver
2023-04-25 16:34:23 +02:00
Christian Holler (:decoder)
f94a7e8890 Add env var to ignore coverage from dynamically loaded code after forkserver.
When using TRACEPC instrumentation, loading code dynamically (e.g.
through dlopen()) it can be useful to completely ignore the loaded code,
esp. when it cannot be preloaded and is not the target to be tested.
This patch allows setting AFL_LLVM_IGNORE_PROBLEMS_COVERAGE=1 to do so.
2023-04-25 16:27:25 +02:00
Keno Hassler
531380d6ab
llvm-lto: allow skipping initialization 2023-04-24 17:55:58 +02:00
vanhauser-thc
120d009e7d wasm support 2023-04-15 11:36: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
vanhauser-thc
d304f4e4f1 update lto doc 2023-04-12 11:24:56 +02:00
vanhauser-thc
743ae50775 nits 2023-04-12 10:53:23 +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
nj00001
a01138e1c8
fix getOperand out of range
This commit fixes a sloppy function call that should normally check the number of insn's Operand before calling insn's getOperand method. The fix is that if it is 0 it should continue the loop.
I solved problem https://github.com/AFLplusplus/AFLplusplus/issues/1688#issue-1648543691 using this modification
2023-04-03 15:32:52 +08: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
5221938945 various fixes 2023-03-09 17:36:13 +01:00
vanhauser-thc
2f128e0dbd Revert "Merge pull request #1665 from devnexen/llvm_inst_mem_leaks"
This reverts commit e5f8c7a6129e42d1798fac1131c912b2eca8159c, reversing
changes made to e6a05382b83817b245da51bcba16be5df56eb283.
2023-03-06 10:13:35 +01:00
van Hauser
e5f8c7a612
Merge pull request #1665 from devnexen/llvm_inst_mem_leaks
llvm instrumentation trying to delete all static data
2023-03-06 10:09:17 +01:00
vanhauser-thc
e6a05382b8 fix IGNORE_PROBLEMS and update qemuafl 2023-03-06 09:59:52 +01:00
David CARLIER
bc61c90fb6 llvm instrumentation trying to delete all static data
at module end of pass with llvm_shutdown and is concurrent safe.
2023-03-04 14:46:38 +00:00
van Hauser
c33f8751e3
Merge pull request #1651 from AFLplusplus/dev
Dev
2023-02-21 01:11:00 +01:00
vanhauser-thc
b786558dea Revert "LLVM cmplog factoring custom Instruction iterator with added restriction"
This reverts commit 8bc3fa1df286aac46a0a724f64e2e07010d2497e.
2023-02-20 15:43:54 +01:00
David CARLIER
8bc3fa1df2 LLVM cmplog factoring custom Instruction iterator with added restriction 2023-02-13 23:00:15 +00:00
vanhauser-thc
80eabd6e8a AFL_LLVM_DICT2FILE_NO_MAIN support 2023-02-13 11:34:14 +01:00