Home
last modified time | relevance | path

Searched refs:isCLibraryFunction (Results 1 – 7 of 7) 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()
713 if (C.isCLibraryFunction(FDecl, "malloc") || in checkTaintedBufferSize()
[all …]
DCStringChecker.cpp2023 if (C.isCLibraryFunction(FDecl, "memcpy")) in evalCall()
2025 else if (C.isCLibraryFunction(FDecl, "mempcpy")) in evalCall()
2027 else if (C.isCLibraryFunction(FDecl, "memcmp")) in evalCall()
2029 else if (C.isCLibraryFunction(FDecl, "memmove")) in evalCall()
2031 else if (C.isCLibraryFunction(FDecl, "strcpy")) in evalCall()
2033 else if (C.isCLibraryFunction(FDecl, "strncpy")) in evalCall()
2035 else if (C.isCLibraryFunction(FDecl, "stpcpy")) in evalCall()
2037 else if (C.isCLibraryFunction(FDecl, "strcat")) in evalCall()
2039 else if (C.isCLibraryFunction(FDecl, "strncat")) in evalCall()
2041 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()
DVforkChecker.cpp85 if (!FD || !C.isCLibraryFunction(FD)) in isVforkCall()
/external/clang/lib/StaticAnalyzer/Core/
DCheckerContext.cpp46 bool CheckerContext::isCLibraryFunction(const FunctionDecl *FD, in isCLibraryFunction() function in CheckerContext
DCallEvent.cpp126 return CheckerContext::isCLibraryFunction(FD, FunctionName); in isGlobalCFunction()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCheckerContext.h301 static bool isCLibraryFunction(const FunctionDecl *FD,