Home | History | Annotate | Download | only in Instrumentation

Lines Matching refs:MemorySanitizer

1 //===-- MemorySanitizer.cpp - detector of uninitialized reads -------------===//
10 /// This file is a part of MemorySanitizer, a detector of uninitialized
47 /// MemorySanitizer can track origins (allocation points) of all uninitialized
60 /// MemorySanitizer reports can show unrelated origins, but this is unlikely in
63 /// Origins are meaningless for fully initialized values, so MemorySanitizer
135 /// Adds a section to MemorySanitizer report that points to the allocation
203 /// MemorySanitizer: instrument the code in module to find
205 class MemorySanitizer : public FunctionPass {
207 MemorySanitizer(int TrackOrigins = 0)
213 const char *getPassName() const override { return "MemorySanitizer"; }
290 char MemorySanitizer::ID = 0;
291 INITIALIZE_PASS(MemorySanitizer, "msan",
292 "MemorySanitizer: detects uninitialized reads.",
296 return new MemorySanitizer(TrackOrigins);
313 void MemorySanitizer::initializeCallbacks(Module &M) {
414 bool MemorySanitizer::doInitialization(Module &M) {
490 CreateVarArgHelper(Function &Func, MemorySanitizer &Msan,
506 MemorySanitizer &MS;
530 MemorySanitizerVisitor(Function &F, MemorySanitizer &MS)
543 dbgs() << "MemorySanitizer is not inserting checks into '"
699 /// \brief Add MemorySanitizer instrumentation to a function.
2567 MemorySanitizer &MS;
2574 VarArgAMD64Helper(Function &F, MemorySanitizer &MS,
2729 VarArgNoOpHelper(Function &F, MemorySanitizer &MS,
2741 VarArgHelper *CreateVarArgHelper(Function &Func, MemorySanitizer &Msan,
2754 bool MemorySanitizer::runOnFunction(Function &F) {