Searched refs:isCLibraryFunction (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | GenericTaintChecker.cpp | 252 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 …]
|
D | CStringChecker.cpp | 1966 if (C.isCLibraryFunction(FDecl, "memcpy")) in evalCall() 1968 else if (C.isCLibraryFunction(FDecl, "mempcpy")) in evalCall() 1970 else if (C.isCLibraryFunction(FDecl, "memcmp")) in evalCall() 1972 else if (C.isCLibraryFunction(FDecl, "memmove")) in evalCall() 1974 else if (C.isCLibraryFunction(FDecl, "strcpy")) in evalCall() 1976 else if (C.isCLibraryFunction(FDecl, "strncpy")) in evalCall() 1978 else if (C.isCLibraryFunction(FDecl, "stpcpy")) in evalCall() 1980 else if (C.isCLibraryFunction(FDecl, "strcat")) in evalCall() 1982 else if (C.isCLibraryFunction(FDecl, "strncat")) in evalCall() 1984 else if (C.isCLibraryFunction(FDecl, "strlen")) in evalCall() [all …]
|
D | CStringSyntaxChecker.cpp | 61 return (CheckerContext::isCLibraryFunction(FD, "strlen") && in isStrlen() 140 if (CheckerContext::isCLibraryFunction(FD, "strncat")) { in VisitCallExpr()
|
D | VforkChecker.cpp | 85 if (!FD || !C.isCLibraryFunction(FD)) in isVforkCall()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CheckerContext.cpp | 39 bool CheckerContext::isCLibraryFunction(const FunctionDecl *FD, in isCLibraryFunction() function in CheckerContext
|
D | CallEvent.cpp | 126 return CheckerContext::isCLibraryFunction(FD, FunctionName); in isGlobalCFunction()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | CheckerContext.h | 297 static bool isCLibraryFunction(const FunctionDecl *FD,
|