struct MemorySanitizerPass
Declaration
struct MemorySanitizerPass : public PassInfoMixin { /* full declaration omitted */ };
Description
A function pass for msan instrumentation. Instruments functions to detect unitialized reads. This function pass inserts calls to runtime library functions. If the functions aren't declared yet, the pass inserts the declarations. Otherwise the existing globals are used.
Declared at: llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h:39
Inherits from: PassInfoMixin
Method Overview
- public MemorySanitizerPass(llvm::MemorySanitizerOptions Options)
- public llvm::PreservedAnalyses run(llvm::Function & F, llvm::FunctionAnalysisManager & FAM)
- public llvm::PreservedAnalyses run(llvm::Module & M, llvm::ModuleAnalysisManager & AM)
Methods
¶MemorySanitizerPass(
llvm::MemorySanitizerOptions Options)
MemorySanitizerPass(
llvm::MemorySanitizerOptions Options)
Declared at: llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h:40
Parameters
- llvm::MemorySanitizerOptions Options
¶llvm::PreservedAnalyses run(
llvm::Function& F,
llvm::FunctionAnalysisManager& FAM)
llvm::PreservedAnalyses run(
llvm::Function& F,
llvm::FunctionAnalysisManager& FAM)
Declared at: llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h:42
Parameters
¶llvm::PreservedAnalyses run(
llvm::Module& M,
llvm::ModuleAnalysisManager& AM)
llvm::PreservedAnalyses run(
llvm::Module& M,
llvm::ModuleAnalysisManager& AM)
Declared at: llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h:43