File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,18 @@ INFO: seed corpus: files: 991 min: 1b max: 1858b total: 288291b rss: 150Mb
101101…
102102` ` `
103103
104+ # # Using the MemorySanitizer (MSan)
105+
106+ MSan [requires](https://clang.llvm.org/docs/MemorySanitizer.html#handling-external-code)
107+ that all linked code be instrumented. The exact steps to achieve this may vary
108+ but involve compiling ` clang` from source, using the built ` clang` to compile
109+ an instrumentalized libc++, then using it to build [Bitcoin Core dependencies
110+ from source](../depends/README.md) and finally the Bitcoin Core fuzz binary
111+ itself. One can use the MSan CI job as an example for how to perform these
112+ steps.
113+
114+ Valgrind is an alternative to MSan that does not require building a custom libc++.
115+
104116# # Run without sanitizers for increased throughput
105117
106118Fuzzing on a harness compiled with ` -DSANITIZERS= address,fuzzer,undefined` is
You can’t perform that action at this time.
0 commit comments