| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CallDescription.h | 43 class CallDescription { 66 CallDescription(CallDescriptionFlags Flags, 72 CallDescription(ArrayRef<const char *> QualifiedName, 76 CallDescription(std::nullptr_t) = delete; 145 const CallDescription &CD1) { in matchesAnyAsWritten() 152 const CallDescription &CD1, in matchesAnyAsWritten() 173 std::vector<std::pair<CallDescription, T>> LinearMap; 177 std::initializer_list<std::pair<CallDescription, T>> &&List) in CallDescriptionMap() argument 188 CallDescriptionMap &operator=(const CallDescription &) = delete; 196 for (const std::pair<CallDescription, T> &I : LinearMap) in lookup() [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | CallDescription.cpp | 38 ento::CallDescription::CallDescription(CallDescriptionFlags Flags, in CallDescription() function in ento::CallDescription 51 ento::CallDescription::CallDescription(ArrayRef<const char *> QualifiedName, in CallDescription() function in ento::CallDescription 54 : CallDescription(CDF_None, QualifiedName, RequiredArgs, RequiredParams) {} in CallDescription() 56 bool ento::CallDescription::matches(const CallEvent &Call) const { in matches() 68 bool ento::CallDescription::matchesAsWritten(const CallExpr &CE) const { in matchesAsWritten() 76 bool ento::CallDescription::matchesImpl(const FunctionDecl *Callee, in matchesImpl() 93 const auto MatchNameOnly = [](const CallDescription &CD, in matchesImpl() 108 const CallDescription &CD) -> bool { in matchesImpl() 115 const auto MatchQualifiedNameParts = [](const CallDescription &CD, in matchesImpl() 156 std::initializer_list<CallDescription> &&List) { in CallDescriptionSet() [all …]
|
| H A D | CMakeLists.txt | 14 CallDescription.cpp
|
| /llvm-project-15.0.7/clang/unittests/StaticAnalyzer/ |
| H A D | CallDescriptionTest.cpp | 135 TEST(CallDescription, SimpleNameMatching) { in TEST() argument 144 TEST(CallDescription, RequiredArguments) { in TEST() argument 153 TEST(CallDescription, LackOfRequiredArguments) { in TEST() argument 177 TEST(CallDescription, QualifiedNames) { in TEST() argument 192 TEST(CallDescription, MatchConstructor) { in TEST() argument 213 TEST(CallDescription, MatchConversionOperator) { in TEST() argument 287 TEST(CallDescription, SkipTopInlineNamespaces) { in TEST() argument 343 TEST(CallDescription, AliasNames) { in TEST() argument 415 TEST(CallDescription, AliasSingleNamespace) { in TEST() argument 487 TEST(CallDescription, MatchBuiltins) { in TEST() argument [all …]
|
| H A D | NoStateChangeFuncVisitorTest.cpp | 89 if (CallDescription{"preventError", 0}.matches(Call)) { in checkPreCall() 94 if (CallDescription{"allowError", 0}.matches(Call)) { in checkPreCall() 99 if (CallDescription{"error", 0}.matches(Call)) { in checkPreCall()
|
| H A D | ConflictingEvalCallsTest.cpp | 21 const CallDescription Foo = {"foo", 0};
|
| /llvm-project-15.0.7/bolt/include/bolt/Passes/ |
| H A D | InstrumentationSummary.h | 47 struct CallDescription { struct 97 std::vector<CallDescription> Calls; 136 Func.Calls.size() * sizeof(CallDescription) + in getFDSize()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MmapWriteExecChecker.cpp | 29 CallDescription MmapFn; 30 CallDescription MprotectFn;
|
| H A D | MIGChecker.cpp | 48 std::vector<std::pair<CallDescription, unsigned>> Deallocators = { 89 CallDescription OsRefRetain{"os_ref_retain", 1}; 201 [&](const std::pair<CallDescription, unsigned> &Item) { in checkPostCall() argument
|
| H A D | ValistChecker.cpp | 35 CallDescription Func; 39 static const CallDescription VaStart, VaEnd, VaCopy; 120 const CallDescription
|
| H A D | StringChecker.cpp | 29 const CallDescription TwoParamStdStringCtor = {
|
| H A D | ChrootChecker.cpp | 46 const CallDescription Chroot{"chroot", 1}, Chdir{"chdir", 1};
|
| H A D | BlockInCriticalSectionChecker.cpp | 33 CallDescription LockFn, UnlockFn, SleepFn, GetcFn, FgetsFn, ReadFn, RecvFn,
|
| H A D | SimpleStreamChecker.cpp | 55 CallDescription OpenFn, CloseFn;
|
| H A D | GenericTaintChecker.cpp | 300 using RulesContTy = std::vector<std::pair<CallDescription, GenericTaintRule>>; 462 Rules.emplace_back(CallDescription(CallDescParts), std::move(Rule)); in consumeRulesFromConfig() 523 std::vector<std::pair<CallDescription, GenericTaintRule>>; in initTaintRules()
|
| H A D | SmartPtrModeling.cpp | 92 const CallDescription StdSwapCall{{"std", "swap"}, 2}; 93 const CallDescription StdMakeUniqueCall{{"std", "make_unique"}}; 94 const CallDescription StdMakeUniqueForOverwriteCall{
|
| H A D | InnerPointerChecker.cpp | 38 CallDescription AppendFn, AssignFn, AddressofFn, AddressofFn_, ClearFn,
|
| H A D | CStringChecker.cpp | 159 CallDescription StdCopy{{"std", "copy"}, 3},
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/cert/ |
| H A D | PutenvWithAutoChecker.cpp | 33 const CallDescription Putenv{"putenv", 1};
|
| /llvm-project-15.0.7/bolt/runtime/ |
| H A D | instr.cpp | 445 struct CallDescription { struct 484 const CallDescription *Calls; 494 NumCalls * sizeof(CallDescription) + in getSize() 573 Calls = reinterpret_cast<const CallDescription *>( in FunctionDescription() 578 NumEdges * sizeof(EdgeDescription) + NumCalls * sizeof(CallDescription)); in FunctionDescription() 582 NumEdges * sizeof(EdgeDescription) + NumCalls * sizeof(CallDescription)); in FunctionDescription() 1023 const CallDescription &CallDesc = D.Calls[CallID]; in visitAllCallsIn() 1288 const CallDescription *Desc = &F.Calls[I]; in writeFunctionProfile()
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/ |
| H A D | BUILD.gn | 23 "CallDescription.cpp",
|
| /llvm-project-15.0.7/bolt/lib/RuntimeLibs/ |
| H A D | InstrumentationRuntimeLibrary.cpp | 297 for (const CallDescription &Call : Desc.Calls) { in buildTables()
|
| /llvm-project-15.0.7/bolt/lib/Passes/ |
| H A D | Instrumentation.cpp | 103 CallDescription CD; in createCallDescription()
|
| /llvm-project-15.0.7/clang/docs/tools/ |
| H A D | clang-formatted-files.txt | 548 clang/lib/StaticAnalyzer/Core/CallDescription.cpp
|