clang-tools 20.0.0git
|
Classes | |
class | CERTModule |
class | CommandProcessorCheck |
Execution of a command processor can lead to security vulnerabilities, and is generally not required. More... | |
class | DefaultOperatorNewAlignmentCheck |
Checks if an object of type with extended alignment is allocated by using the default operator new. More... | |
class | DontModifyStdNamespaceCheck |
Modification of the std or posix namespace can result in undefined behavior. More... | |
class | FloatLoopCounter |
This check diagnoses when the loop induction expression of a for loop has floating-point type. More... | |
class | LimitedRandomnessCheck |
Pseudorandom number generators are not genuinely random. More... | |
class | MutatingCopyCheck |
Finds assignments to the copied object and its direct or indirect members in copy constructors and copy assignment operators. More... | |
class | NonTrivialTypesLibcMemoryCallsCheck |
Flags use of the C standard library functions 'memset', 'memcpy' and 'memcmp' and similar derivatives on non-trivial types. More... | |
class | ProperlySeededRandomGeneratorCheck |
Random number generator must be seeded properly. More... | |
class | SetLongJmpCheck |
Guards against use of setjmp/longjmp in C++ code. More... | |
class | StaticObjectExceptionCheck |
Checks whether the constructor for a static or thread_local object will throw. More... | |
class | StrToNumCheck |
Guards against use of string conversion functions that do not have reasonable error handling for conversion errors. More... | |
class | ThrownExceptionTypeCheck |
Checks whether a thrown object is nothrow copy constructible. More... | |
class | VariadicFunctionDefCheck |
Guards against any C-style variadic function definitions (not declarations). More... | |
Variables | |
static constexpr llvm::StringLiteral | SourceDeclName = "ChangedPVD" |
static constexpr llvm::StringLiteral | MutatingOperatorName = "MutatingOp" |
static constexpr llvm::StringLiteral | MutatingCallName = "MutatingCall" |
static const char | BuiltinMemSet [] |
static const char | BuiltinMemCpy [] |
static const char | BuiltinMemCmp [] |
static constexpr llvm::StringRef | ComparisonOperators [] |
|
static |
Definition at line 44 of file NonTrivialTypesLibcMemoryCallsCheck.cpp.
Referenced by clang::tidy::cert::NonTrivialTypesLibcMemoryCallsCheck::registerMatchers().
|
static |
Definition at line 35 of file NonTrivialTypesLibcMemoryCallsCheck.cpp.
Referenced by clang::tidy::cert::NonTrivialTypesLibcMemoryCallsCheck::registerMatchers().
|
static |
Definition at line 33 of file NonTrivialTypesLibcMemoryCallsCheck.cpp.
Referenced by clang::tidy::cert::NonTrivialTypesLibcMemoryCallsCheck::registerMatchers().
|
staticconstexpr |
Definition at line 49 of file NonTrivialTypesLibcMemoryCallsCheck.cpp.
Referenced by clang::tidy::cert::NonTrivialTypesLibcMemoryCallsCheck::registerMatchers().
|
staticconstexpr |
Definition at line 19 of file MutatingCopyCheck.cpp.
Referenced by clang::tidy::cert::MutatingCopyCheck::check(), and clang::tidy::cert::MutatingCopyCheck::registerMatchers().
|
staticconstexpr |
Definition at line 18 of file MutatingCopyCheck.cpp.
Referenced by clang::tidy::cert::MutatingCopyCheck::check(), and clang::tidy::cert::MutatingCopyCheck::registerMatchers().
|
staticconstexpr |
Definition at line 17 of file MutatingCopyCheck.cpp.
Referenced by clang::tidy::cert::MutatingCopyCheck::registerMatchers().