clang 20.0.0git
|
#include "clang/Basic/NoSanitizeList.h"
Public Member Functions | |
NoSanitizeList (const std::vector< std::string > &NoSanitizeListPaths, SourceManager &SM) | |
~NoSanitizeList () | |
bool | containsGlobal (SanitizerMask Mask, StringRef GlobalName, StringRef Category=StringRef()) const |
bool | containsType (SanitizerMask Mask, StringRef MangledTypeName, StringRef Category=StringRef()) const |
bool | containsFunction (SanitizerMask Mask, StringRef FunctionName) const |
bool | containsFile (SanitizerMask Mask, StringRef FileName, StringRef Category=StringRef()) const |
bool | containsMainFile (SanitizerMask Mask, StringRef FileName, StringRef Category=StringRef()) const |
bool | containsLocation (SanitizerMask Mask, SourceLocation Loc, StringRef Category=StringRef()) const |
Definition at line 29 of file NoSanitizeList.h.
NoSanitizeList::NoSanitizeList | ( | const std::vector< std::string > & | NoSanitizeListPaths, |
SourceManager & | SM | ||
) |
Definition at line 22 of file NoSanitizeList.cpp.
|
default |
bool NoSanitizeList::containsFile | ( | SanitizerMask | Mask, |
StringRef | FileName, | ||
StringRef | Category = StringRef() |
||
) | const |
Definition at line 45 of file NoSanitizeList.cpp.
References Category, and clang::FileName.
Referenced by containsLocation().
bool NoSanitizeList::containsFunction | ( | SanitizerMask | Mask, |
StringRef | FunctionName | ||
) | const |
Definition at line 40 of file NoSanitizeList.cpp.
bool NoSanitizeList::containsGlobal | ( | SanitizerMask | Mask, |
StringRef | GlobalName, | ||
StringRef | Category = StringRef() |
||
) | const |
Definition at line 30 of file NoSanitizeList.cpp.
References Category.
bool NoSanitizeList::containsLocation | ( | SanitizerMask | Mask, |
SourceLocation | Loc, | ||
StringRef | Category = StringRef() |
||
) | const |
Definition at line 55 of file NoSanitizeList.cpp.
References Category, containsFile(), clang::SourceManager::getFileLoc(), clang::SourceManager::getFilename(), clang::SourceLocation::isValid(), and Loc.
Referenced by clang::RecordDecl::mayInsertExtraPadding().
bool NoSanitizeList::containsMainFile | ( | SanitizerMask | Mask, |
StringRef | FileName, | ||
StringRef | Category = StringRef() |
||
) | const |
Definition at line 50 of file NoSanitizeList.cpp.
References Category, and clang::FileName.
bool NoSanitizeList::containsType | ( | SanitizerMask | Mask, |
StringRef | MangledTypeName, | ||
StringRef | Category = StringRef() |
||
) | const |
Definition at line 35 of file NoSanitizeList.cpp.
References Category.
Referenced by clang::RecordDecl::mayInsertExtraPadding().