/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | LLVMConventionsChecker.cpp | 117 BugReporter &BR; member in __anonfe7749740111::StringRefCheckerVisitor 123 : DeclWithIssue(declWithIssue), BR(br), Checker(checker) {} in StringRefCheckerVisitor() 136 static void CheckStringRefAssignedTemporary(const Decl *D, BugReporter &BR, in CheckStringRefAssignedTemporary() argument 138 StringRefCheckerVisitor walker(D, BR, Checker); in CheckStringRefAssignedTemporary() 182 PathDiagnosticLocation::createBegin(VD, BR.getSourceManager()); in VisitVarDecl() 183 BR.EmitBasicReport(DeclWithIssue, Checker, desc, "LLVM Conventions", desc, in VisitVarDecl() 217 BugReporter &BR; member in __anonfe7749740211::ASTFieldVisitor 223 : Root(root), BR(br), Checker(checker) {} in ASTFieldVisitor() 230 static void CheckASTMemory(const CXXRecordDecl *R, BugReporter &BR, in CheckASTMemory() argument 236 ASTFieldVisitor walker(R, BR, Checker); in CheckASTMemory() [all …]
|
H A D | RunLoopAutoreleaseLeakChecker.cpp | 54 BugReporter &BR) const; 82 BugReporter &BR, in emitDiagnostics() argument 113 ME, BR.getSourceManager(), ADC); in emitDiagnostics() 116 BR.EmitBasicReport(ADC->getDecl(), Checker, in emitDiagnostics() 155 checkTempObjectsInSamePool(const Decl *D, AnalysisManager &AM, BugReporter &BR, in checkTempObjectsInSamePool() argument 170 emitDiagnostics(Match, D, BR, AM, Chkr); in checkTempObjectsInSamePool() 174 checkTempObjectsInNoPool(const Decl *D, AnalysisManager &AM, BugReporter &BR, in checkTempObjectsInNoPool() argument 191 emitDiagnostics(Match, D, BR, AM, Chkr); in checkTempObjectsInNoPool() 197 BugReporter &BR) const { in checkASTCodeBody() 198 checkTempObjectsInSamePool(D, AM, BR, this); in checkASTCodeBody() [all …]
|
H A D | SmartPtrModeling.cpp | 394 State, C.getNoteTag([ThisRegion](PathSensitiveBugReport &BR, in evalCall() 396 if (&BR.getBugType() != smartptr::getNullDereferenceBugType() || in evalCall() 397 !BR.isInteresting(ThisRegion)) in evalCall() 411 ArgVal](PathSensitiveBugReport &BR, in evalCall() argument 413 if (&BR.getBugType() != smartptr::getNullDereferenceBugType() || in evalCall() 414 !BR.isInteresting(ThisRegion)) in evalCall() 416 bugreporter::trackExpressionValue(BR.getErrorNode(), TrackingExpr, BR); in evalCall() 614 State, C.getNoteTag([ThisRegion, TrackingExpr](PathSensitiveBugReport &BR, in handleReset() 616 if (&BR.getBugType() != smartptr::getNullDereferenceBugType() || in handleReset() 617 !BR.isInteresting(ThisRegion)) in handleReset() [all …]
|
H A D | CheckObjCInstMethSignature.cpp | 41 BugReporter &BR, ASTContext &Ctx, in CompareReturnTypes() argument 68 BR.getSourceManager()); in CompareReturnTypes() 70 BR.EmitBasicReport( in CompareReturnTypes() 77 BugReporter &BR, in CheckObjCInstMethSignature() argument 86 ASTContext &Ctx = BR.getContext(); in CheckObjCInstMethSignature() 113 CompareReturnTypes(MethDerived, M, BR, Ctx, ID, Checker); in CheckObjCInstMethSignature() 129 BugReporter &BR) const { in checkASTDecl() 130 CheckObjCInstMethSignature(D, BR, this); in checkASTDecl()
|
H A D | CastToStructChecker.cpp | 27 BugReporter &BR; member in __anond888d9760111::CastToStructVisitor 34 : BR(B), Checker(Checker), AC(A) {} in CastToStructVisitor() 64 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr() 65 BR.EmitBasicReport( in VisitCastExpr() 96 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr() 97 BR.EmitBasicReport(AC->getDecl(), Checker, "Widening cast to struct type", in VisitCastExpr() 112 BugReporter &BR) const { in checkASTCodeBody() 113 CastToStructVisitor Visitor(BR, this, Mgr.getAnalysisDeclContext(D)); in checkASTCodeBody()
|
H A D | CStringSyntaxChecker.cpp | 34 BugReporter &BR; member in __anon8e4070240111::WalkAST 104 WalkAST(const CheckerBase *Checker, BugReporter &BR, AnalysisDeclContext *AC) in WalkAST() argument 105 : Checker(Checker), BR(BR), AC(AC) {} in WalkAST() 201 ASTContext &C = BR.getContext(); in containsBadStrlcpyStrlcatPattern() 223 PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC); in VisitCallExpr() 238 BR.EmitBasicReport(FD, Checker, "Anti-pattern in the argument", in VisitCallExpr() 248 PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC); in VisitCallExpr() 262 BR.EmitBasicReport(FD, Checker, "Anti-pattern in the argument", in VisitCallExpr() 283 BugReporter &BR) const { in checkASTCodeBody() 284 WalkAST walker(this, BR, Mgr.getAnalysisDeclContext(D)); in checkASTCodeBody()
|
H A D | PointerIterationChecker.cpp | 32 BugReporter &BR) const; 36 BugReporter &BR, AnalysisManager &AM, in emitDiagnostics() argument 45 BR.getSourceManager(), in emitDiagnostics() 52 BR.EmitBasicReport(ADC->getDecl(), Checker, in emitDiagnostics() 84 BugReporter &BR) const { in checkASTCodeBody() 89 emitDiagnostics(Match, D, BR, AM, this); in checkASTCodeBody()
|
H A D | PointerSortingChecker.cpp | 32 BugReporter &BR) const; 36 BugReporter &BR, AnalysisManager &AM, in emitDiagnostics() argument 45 BR.getSourceManager(), in emitDiagnostics() 52 BR.EmitBasicReport(ADC->getDecl(), Checker, in emitDiagnostics() 98 BugReporter &BR) const { in checkASTCodeBody() 103 emitDiagnostics(Match, D, BR, AM, this); in checkASTCodeBody()
|
H A D | IdenticalExprChecker.cpp | 37 BugReporter &BR; member in __anon00b411af0111::FindIdenticalExprVisitor 44 : BR(B), Checker(Checker), AC(A) {} in FindIdenticalExprVisitor() 70 PathDiagnosticLocation::createOperatorLoc(B, BR.getSourceManager()); in reportIdenticalExpr() 71 BR.EmitBasicReport(AC->getDecl(), Checker, in reportIdenticalExpr() 119 PathDiagnosticLocation ELoc(InnerIf->getCond(), BR.getSourceManager(), AC); in VisitIfStmt() 120 BR.EmitBasicReport(AC->getDecl(), Checker, "Identical conditions", in VisitIfStmt() 142 PathDiagnosticLocation ELoc(Cond2, BR.getSourceManager(), AC); in VisitIfStmt() 143 BR.EmitBasicReport(AC->getDecl(), Checker, "Identical conditions", in VisitIfStmt() 172 PathDiagnosticLocation::createBegin(I, BR.getSourceManager(), AC); in VisitIfStmt() 173 BR.EmitBasicReport(AC->getDecl(), Checker, in VisitIfStmt() [all …]
|
H A D | OSObjectCStyleCast.cpp | 33 BugReporter &BR) const; 52 BugReporter &BR, in emitDiagnostics() argument 66 BR.EmitBasicReport( in emitDiagnostics() 72 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), ADC), in emitDiagnostics() 82 BugReporter &BR) const { in checkASTCodeBody() 116 emitDiagnostics(Match, BR, ADC, this); in checkASTCodeBody()
|
H A D | ArrayBoundCheckerV2.cpp | 91 std::string getMessage(PathSensitiveBugReport &BR) const; 108 PathSensitiveBugReport &BR); 110 PathSensitiveBugReport &BR) { in providesInformationAboutInteresting() argument 111 return providesInformationAboutInteresting(SV.getAsSymbol(), BR); in providesInformationAboutInteresting() 138 static void markPartsInteresting(PathSensitiveBugReport &BR, 471 return C.getNoteTag([*this](PathSensitiveBugReport &BR) -> std::string { in createNoteTag() argument 472 return getMessage(BR); in createNoteTag() 476 std::string StateUpdateReporter::getMessage(PathSensitiveBugReport &BR) const { in getMessage() 478 if (!providesInformationAboutInteresting(ByteOffsetVal, BR)) { in getMessage() 480 providesInformationAboutInteresting(*AssumedUpperBound, BR)) { in getMessage() [all …]
|
H A D | DirectIvarAssignment.cpp | 63 BugReporter &BR; member in __anonb45dccd40111::DirectIvarAssignment::MethodCrawler 71 : IvarToPropMap(InMap), MD(InMD), InterfD(InID), BR(InBR), in MethodCrawler() 91 BugReporter &BR) const; 118 BugReporter &BR) const { in checkASTDecl() 151 MethodCrawler MC(IvarToPropMap, M->getCanonicalDecl(), InterD, BR, this, in checkASTDecl() 200 BR.EmitBasicReport( in VisitBinaryOperator() 204 PathDiagnosticLocation(IvarRef, BR.getSourceManager(), DCtx)); in VisitBinaryOperator()
|
H A D | NumberObjectConversionChecker.cpp | 48 BugReporter &BR) const; 53 BugReporter &BR; member in __anonffd4bc690111::Callback 58 BugReporter &BR, AnalysisDeclContext *ADC) in Callback() argument 59 : C(C), BR(BR), ADC(ADC) {} in Callback() 188 BR.EmitBasicReport( in run() 191 PathDiagnosticLocation::createBegin(Obj, BR.getSourceManager(), ADC), in run() 197 BugReporter &BR) const { in checkASTCodeBody() 338 Callback CB(this, BR, AM.getAnalysisDeclContext(D)); in checkASTCodeBody()
|
H A D | ObjCContainersASTChecker.cpp | 28 BugReporter &BR; member in __anon92c36e3f0111::WalkAST 74 : BR(br), Checker(checker), AC(ac), ASTC(AC->getASTContext()), in WalkAST() 143 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in VisitCallExpr() 144 BR.EmitBasicReport(AC->getDecl(), Checker, OsName.str(), in VisitCallExpr() 164 BugReporter &BR) const { in checkASTCodeBody() 165 WalkAST walker(BR, this, Mgr.getAnalysisDeclContext(D)); in checkASTCodeBody()
|
H A D | ObjCUnusedIVarsChecker.cpp | 106 BugReporter &BR, in checkObjCUnusedIvar() argument 149 const SourceManager &SM = BR.getSourceManager(); in checkObjCUnusedIvar() 162 PathDiagnosticLocation::create(Ivar, BR.getSourceManager()); in checkObjCUnusedIvar() 163 BR.EmitBasicReport(ID, Checker, "Unused instance variable", in checkObjCUnusedIvar() 177 BugReporter &BR) const { in checkASTDecl() 178 checkObjCUnusedIvar(D, BR, this); in checkASTDecl()
|
H A D | ObjCAutoreleaseWriteChecker.cpp | 54 BugReporter &BR) const; 111 static void emitDiagnostics(BoundNodes &Match, const Decl *D, BugReporter &BR, in emitDiagnostics() argument 134 MarkedStmt, BR.getSourceManager(), ADC); in emitDiagnostics() 165 BR.EmitBasicReport(ADC->getDecl(), Checker, BugName.str(), in emitDiagnostics() 172 BugReporter &BR) const { in checkASTCodeBody() 231 emitDiagnostics(Match, D, BR, AM, this); in checkASTCodeBody()
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | Object.cpp | 79 LLVMMemoryBufferRef LLVMBinaryCopyMemoryBuffer(LLVMBinaryRef BR) { in LLVMBinaryCopyMemoryBuffer() argument 80 auto Buf = unwrap(BR)->getMemoryBufferRef(); in LLVMBinaryCopyMemoryBuffer() 86 void LLVMDisposeBinary(LLVMBinaryRef BR) { in LLVMDisposeBinary() argument 87 delete unwrap(BR); in LLVMDisposeBinary() 90 LLVMBinaryType LLVMBinaryGetType(LLVMBinaryRef BR) { in LLVMBinaryGetType() argument 135 return BinaryTypeMapper::mapBinaryTypeToLLVMBinaryType(unwrap(BR)->getType()); in LLVMBinaryGetType() 138 LLVMBinaryRef LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR, in LLVMMachOUniversalBinaryCopyObjectForArch() argument 142 auto universal = cast<MachOUniversalBinary>(unwrap(BR)); in LLVMMachOUniversalBinaryCopyObjectForArch() 152 LLVMSectionIteratorRef LLVMObjectFileCopySectionIterator(LLVMBinaryRef BR) { in LLVMObjectFileCopySectionIterator() argument 153 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileCopySectionIterator() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm-c/ |
H A D | Object.h | 86 void LLVMDisposeBinary(LLVMBinaryRef BR); 97 LLVMMemoryBufferRef LLVMBinaryCopyMemoryBuffer(LLVMBinaryRef BR); 104 LLVMBinaryType LLVMBinaryGetType(LLVMBinaryRef BR); 117 LLVMBinaryRef LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR, 133 LLVMSectionIteratorRef LLVMObjectFileCopySectionIterator(LLVMBinaryRef BR); 140 LLVMBool LLVMObjectFileIsSectionIteratorAtEnd(LLVMBinaryRef BR, 154 LLVMSymbolIteratorRef LLVMObjectFileCopySymbolIterator(LLVMBinaryRef BR); 161 LLVMBool LLVMObjectFileIsSymbolIteratorAtEnd(LLVMBinaryRef BR,
|
/freebsd/usr.bin/tip/tip/ |
H A D | cu.c | 53 BR = DEFBR; in cumain() 98 BR = (int)l; in cumain() 148 (void)snprintf(sbuf, sizeof(sbuf), "cu%ld", BR); in cumain() 174 if (HW && ttysetup(BR)) { in cumain() 176 __progname, BR); in cumain() 187 if (!HW && ttysetup(BR)) { in cumain() 189 __progname, BR); in cumain()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/cert/ |
H A D | InvalidPtrChecker.cpp | 130 PathSensitiveBugReport &BR, llvm::raw_ostream &Out) { in REGISTER_SET_WITH_PROGRAMSTATE() argument 132 if (&BR.getBugType() != &InvalidPtrBugType) in REGISTER_SET_WITH_PROGRAMSTATE() 140 if (BR.isInteresting(MainRegion)) { in REGISTER_SET_WITH_PROGRAMSTATE() 141 BR.markNotInteresting(MainRegion); in REGISTER_SET_WITH_PROGRAMSTATE() 146 if (BR.isInteresting(MR)) { in REGISTER_SET_WITH_PROGRAMSTATE() 147 BR.markNotInteresting(MR); in REGISTER_SET_WITH_PROGRAMSTATE() 193 Note = C.getNoteTag([this, PrevReg, FD](PathSensitiveBugReport &BR, in postPreviousReturnInvalidatingCall() 195 if (!BR.isInteresting(PrevReg) || &BR.getBugType() != &InvalidPtrBugType) in postPreviousReturnInvalidatingCall() 224 [this, MR](PathSensitiveBugReport &BR, llvm::raw_ostream &Out) { in postPreviousReturnInvalidatingCall() argument 225 if (!BR.isInteresting(MR) || &BR.getBugType() != &InvalidPtrBugType) in postPreviousReturnInvalidatingCall()
|
/freebsd/sys/contrib/edk2/ |
H A D | MdePkg.dec | 7 # Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.<BR> 8 # Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> 9 # (C) Copyright 2016 - 2020 Hewlett Packard Enterprise Development LP<BR> 1865 ## Indicates if the component name protocol will be installed.<BR><BR> 1866 # TRUE - Does not install component name protocol.<BR> 1867 # FALSE - Install component name protocol.<BR> 1871 ## Indicates if the diagnostics name protocol will be installed.<BR><BR> 1872 # TRUE - Does not install diagnostics name protocol.<BR> 1873 # FALSE - Install diagnostics name protocol.<BR> 1877 ## Indicates if the component name2 protocol will be installed.<BR><BR> [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
H A D | BugReporterVisitors.h | 74 PathSensitiveBugReport &BR) = 0; 80 PathSensitiveBugReport &BR); 89 PathSensitiveBugReport &BR); 96 const PathSensitiveBugReport &BR); 418 PathSensitiveBugReport &BR) override; 439 PathSensitiveBugReport &BR) override; 466 PathSensitiveBugReport &BR) override; 470 PathSensitiveBugReport &BR); 545 PathSensitiveBugReport &BR) override; 568 PathSensitiveBugReport &BR) override; [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | NoUncountedMembersChecker.cpp | 32 mutable BugReporter *BR; member in __anond0130fd50111::NoUncountedMemberChecker 43 BR = &BRArg; in checkASTDecl() 110 if (BR->getSourceManager().isInSystemHeader(RDLocation)) in shouldSkipDecl() 143 BR->getSourceManager()); in reportBug() 146 BR->emitReport(std::move(Report)); in reportBug()
|
H A D | UncountedLocalVarsChecker.cpp | 112 mutable BugReporter *BR; member in __anon053405140111::UncountedLocalVarsChecker 117 BR = &BRArg; in checkASTDecl() 249 return BR->getSourceManager().isInSystemHeader(V->getLocation()); in shouldSkipVarDecl() 262 PathDiagnosticLocation BSLoc(Value->getExprLoc(), BR->getSourceManager()); in reportBug() 265 BR->emitReport(std::move(Report)); in reportBug() 278 PathDiagnosticLocation BSLoc(V->getLocation(), BR->getSourceManager()); in reportBug() 281 BR->emitReport(std::move(Report)); in reportBug()
|
H A D | UncountedCallArgsChecker.cpp | 33 mutable BugReporter *BR; member in __anon75bc5c560111::UncountedCallArgsChecker 41 BR = &BRArg; in checkASTDecl() 151 if (BR->getSourceManager().isInSystemHeader(CE->getExprLoc())) in shouldSkipCall() 262 PathDiagnosticLocation BSLoc(SrcLocToReport, BR->getSourceManager()); in reportBug() 265 BR->emitReport(std::move(Report)); in reportBug() 273 PathDiagnosticLocation BSLoc(SrcLocToReport, BR->getSourceManager()); in reportBugOnThis() 278 BR->emitReport(std::move(Report)); in reportBugOnThis()
|