Searched refs:isCLibraryFunction (Results 1 – 6 of 6) 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 | 1879 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 …]
|
D | CStringSyntaxChecker.cpp | 61 return (CheckerContext::isCLibraryFunction(FD, "strlen") && in isStrlen() 140 if (CheckerContext::isCLibraryFunction(FD, "strncat")) { in VisitCallExpr()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CheckerContext.cpp | 39 bool CheckerContext::isCLibraryFunction(const FunctionDecl *FD, in isCLibraryFunction() function in CheckerContext
|
D | CallEvent.cpp | 108 return CheckerContext::isCLibraryFunction(FD, FunctionName); in isGlobalCFunction()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | CheckerContext.h | 271 static bool isCLibraryFunction(const FunctionDecl *FD,
|