• Home
  • Raw
  • Download

Lines Matching refs:BR

52   BugReporter &BR;  member in __anon073bb0b50111::WalkAST
63 : BR(br), AC(ac), II_setid(), in WalkAST()
64 CheckRand(isArc4RandomAvailable(BR.getContext())), in WalkAST()
283 PathDiagnosticLocation::createBegin(FS, BR.getSourceManager(), AC); in checkLoopConditionForFloat()
284 BR.EmitBasicReport(AC->getDecl(), in checkLoopConditionForFloat()
314 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_gets()
320 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_gets()
321 BR.EmitBasicReport(AC->getDecl(), in checkCall_gets()
356 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_getpw()
362 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_getpw()
363 BR.EmitBasicReport(AC->getDecl(), in checkCall_getpw()
399 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_mktemp()
405 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_mktemp()
406 BR.EmitBasicReport(AC->getDecl(), in checkCall_mktemp()
460 if (!suffixEx->EvaluateAsInt(Result, BR.getContext())) in checkCall_mkstemp()
478 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_mkstemp()
493 BR.EmitBasicReport(AC->getDecl(), in checkCall_mkstemp()
514 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_strcpy()
515 BR.EmitBasicReport(AC->getDecl(), in checkCall_strcpy()
542 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_strcat()
543 BR.EmitBasicReport(AC->getDecl(), in checkCall_strcat()
576 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_strCommon()
624 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_rand()
625 BR.EmitBasicReport(AC->getDecl(), os1.str(), "Security", os2.str(), in checkCall_rand()
650 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_random()
651 BR.EmitBasicReport(AC->getDecl(), in checkCall_random()
671 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_vfork()
672 BR.EmitBasicReport(AC->getDecl(), in checkCall_vfork()
703 II_setid[i] = &BR.getContext().Idents.get(identifiers[i]); in checkUncheckedReturnValue()
744 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkUncheckedReturnValue()
745 BR.EmitBasicReport(AC->getDecl(), os1.str(), "Security", os2.str(), in checkUncheckedReturnValue()
759 BugReporter &BR) const { in checkASTCodeBody()
760 WalkAST walker(BR, mgr.getAnalysisDeclContext(D), filter); in checkASTCodeBody()