Home
last modified time | relevance | path

Searched refs:isCLibraryFunction (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DGenericTaintChecker.cpp252 if (C.isCLibraryFunction(FDecl, "snprintf") || in REGISTER_SET_WITH_PROGRAMSTATE()
253 C.isCLibraryFunction(FDecl, "sprintf")) in REGISTER_SET_WITH_PROGRAMSTATE()
255 else if (C.isCLibraryFunction(FDecl, "strcpy") || in REGISTER_SET_WITH_PROGRAMSTATE()
256 C.isCLibraryFunction(FDecl, "stpcpy") || in REGISTER_SET_WITH_PROGRAMSTATE()
257 C.isCLibraryFunction(FDecl, "strcat")) in REGISTER_SET_WITH_PROGRAMSTATE()
259 else if (C.isCLibraryFunction(FDecl, "bcopy")) in REGISTER_SET_WITH_PROGRAMSTATE()
261 else if (C.isCLibraryFunction(FDecl, "strdup") || in REGISTER_SET_WITH_PROGRAMSTATE()
262 C.isCLibraryFunction(FDecl, "strdupa")) in REGISTER_SET_WITH_PROGRAMSTATE()
264 else if (C.isCLibraryFunction(FDecl, "wcsdup")) in REGISTER_SET_WITH_PROGRAMSTATE()
719 if (C.isCLibraryFunction(FDecl, "malloc") || in checkTaintedBufferSize()
[all …]
DCStringChecker.cpp1879 if (C.isCLibraryFunction(FDecl, "memcpy")) in evalCall()
1881 else if (C.isCLibraryFunction(FDecl, "mempcpy")) in evalCall()
1883 else if (C.isCLibraryFunction(FDecl, "memcmp")) in evalCall()
1885 else if (C.isCLibraryFunction(FDecl, "memmove")) in evalCall()
1887 else if (C.isCLibraryFunction(FDecl, "strcpy")) in evalCall()
1889 else if (C.isCLibraryFunction(FDecl, "strncpy")) in evalCall()
1891 else if (C.isCLibraryFunction(FDecl, "stpcpy")) in evalCall()
1893 else if (C.isCLibraryFunction(FDecl, "strcat")) in evalCall()
1895 else if (C.isCLibraryFunction(FDecl, "strncat")) in evalCall()
1897 else if (C.isCLibraryFunction(FDecl, "strlen")) in evalCall()
[all …]
DCStringSyntaxChecker.cpp61 return (CheckerContext::isCLibraryFunction(FD, "strlen") && in isStrlen()
140 if (CheckerContext::isCLibraryFunction(FD, "strncat")) { in VisitCallExpr()
/external/clang/lib/StaticAnalyzer/Core/
DCheckerContext.cpp39 bool CheckerContext::isCLibraryFunction(const FunctionDecl *FD, in isCLibraryFunction() function in CheckerContext
DCallEvent.cpp108 return CheckerContext::isCLibraryFunction(FD, FunctionName); in isGlobalCFunction()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCheckerContext.h271 static bool isCLibraryFunction(const FunctionDecl *FD,