reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/StaticAnalyzer/Core/Checker.h
   93   static void _register(CHECKER *checker, CheckerManager &mgr) {
   95                                                           _checkStmt<CHECKER>),
  311   static void _register(CHECKER *checker, CheckerManager &mgr) {
  313      CheckerManager::CheckLiveSymbolsFunc(checker, _checkLiveSymbols<CHECKER>));
  326   static void _register(CHECKER *checker, CheckerManager &mgr) {
  328      CheckerManager::CheckDeadSymbolsFunc(checker, _checkDeadSymbols<CHECKER>));
  349   static void _register(CHECKER *checker, CheckerManager &mgr) {
  352                                                  _checkRegionChanges<CHECKER>));
  484   static void _register(CHECKER *checker, CheckerManager &mgr) {
  486                      CheckerManager::EvalCallFunc(checker, _evalCall<CHECKER>));
  520   static void _register(CHECKER *checker, CheckerManager &mgr) {
  530   static void _register(CHECKER *checker, CheckerManager &mgr) {
tools/clang/include/clang/StaticAnalyzer/Core/CheckerManager.h
  161   CHECKER *registerChecker(AT &&... Args) {
  162     CheckerTag tag = getTag<CHECKER>();
  166     CHECKER *checker = new CHECKER(std::forward<AT>(Args)...);
  166     CHECKER *checker = new CHECKER(std::forward<AT>(Args)...);
  168     CheckerDtors.push_back(CheckerDtor(checker, destruct<CHECKER>));
  169     CHECKER::_register(checker, *this);
  175   CHECKER *getChecker() {
  176     CheckerTag tag = getTag<CHECKER>();
tools/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
   77       {{CDF_MaybeBuiltin, "memcpy", 3}, &CStringChecker::evalMemcpy},
   78       {{CDF_MaybeBuiltin, "mempcpy", 3}, &CStringChecker::evalMempcpy},
   79       {{CDF_MaybeBuiltin, "memcmp", 3}, &CStringChecker::evalMemcmp},
   80       {{CDF_MaybeBuiltin, "memmove", 3}, &CStringChecker::evalMemmove},
   81       {{CDF_MaybeBuiltin, "memset", 3}, &CStringChecker::evalMemset},
   82       {{CDF_MaybeBuiltin, "explicit_memset", 3}, &CStringChecker::evalMemset},
   83       {{CDF_MaybeBuiltin, "strcpy", 2}, &CStringChecker::evalStrcpy},
   84       {{CDF_MaybeBuiltin, "strncpy", 3}, &CStringChecker::evalStrncpy},
   85       {{CDF_MaybeBuiltin, "stpcpy", 2}, &CStringChecker::evalStpcpy},
   86       {{CDF_MaybeBuiltin, "strlcpy", 3}, &CStringChecker::evalStrlcpy},
   87       {{CDF_MaybeBuiltin, "strcat", 2}, &CStringChecker::evalStrcat},
   88       {{CDF_MaybeBuiltin, "strncat", 3}, &CStringChecker::evalStrncat},
   89       {{CDF_MaybeBuiltin, "strlcat", 3}, &CStringChecker::evalStrlcat},
   90       {{CDF_MaybeBuiltin, "strlen", 1}, &CStringChecker::evalstrLength},
   91       {{CDF_MaybeBuiltin, "strnlen", 2}, &CStringChecker::evalstrnLength},
   92       {{CDF_MaybeBuiltin, "strcmp", 2}, &CStringChecker::evalStrcmp},
   93       {{CDF_MaybeBuiltin, "strncmp", 3}, &CStringChecker::evalStrncmp},
   94       {{CDF_MaybeBuiltin, "strcasecmp", 2}, &CStringChecker::evalStrcasecmp},
   95       {{CDF_MaybeBuiltin, "strncasecmp", 3}, &CStringChecker::evalStrncasecmp},
   96       {{CDF_MaybeBuiltin, "strsep", 2}, &CStringChecker::evalStrsep},
   97       {{CDF_MaybeBuiltin, "bcopy", 3}, &CStringChecker::evalBcopy},
   98       {{CDF_MaybeBuiltin, "bcmp", 3}, &CStringChecker::evalMemcmp},
   99       {{CDF_MaybeBuiltin, "bzero", 2}, &CStringChecker::evalBzero},
  100       {{CDF_MaybeBuiltin, "explicit_bzero", 2}, &CStringChecker::evalBzero},
  768   SVal strLength = svalBuilder.getMetadataSymbolVal(CStringChecker::getTag(),
 1113           CStringChecker::getTag(), MR, DstBuffer, Ctx.getSizeType(),
 2222 CStringChecker::FnCheck CStringChecker::identifyCall(const CallEvent &Call,
 2233     return &CStringChecker::evalStdCopy;
 2235     return &CStringChecker::evalStdCopyBackward;
 2401   Mgr.registerChecker<CStringChecker>();