Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCStringSyntaxChecker.cpp59 return (CheckerContext::isCLibraryFunction(FD, "strlen") && in isStrlen()
218 if (CheckerContext::isCLibraryFunction(FD, "strncat")) { in VisitCallExpr()
242 } else if (CheckerContext::isCLibraryFunction(FD, "strlcpy") || in VisitCallExpr()
243 CheckerContext::isCLibraryFunction(FD, "strlcat")) { in VisitCallExpr()
H A DGenericTaintChecker.cpp502 0, (ret |= CheckerContext::isCLibraryFunction(FDecl, Name), 0)...}); in getTaintPropagationRule()
908 if (CCtx::isCLibraryFunction(FDecl, "malloc") || in checkTaintedBufferSize()
909 CCtx::isCLibraryFunction(FDecl, "calloc") || in checkTaintedBufferSize()
910 CCtx::isCLibraryFunction(FDecl, "alloca")) in checkTaintedBufferSize()
912 else if (CCtx::isCLibraryFunction(FDecl, "memccpy")) in checkTaintedBufferSize()
914 else if (CCtx::isCLibraryFunction(FDecl, "realloc")) in checkTaintedBufferSize()
916 else if (CCtx::isCLibraryFunction(FDecl, "bcopy")) in checkTaintedBufferSize()
H A DVforkChecker.cpp84 if (!FD || !C.isCLibraryFunction(FD)) in isVforkCall()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp48 bool CheckerContext::isCLibraryFunction(const FunctionDecl *FD, in isCLibraryFunction() function in CheckerContext
H A DCallEvent.cpp168 return CheckerContext::isCLibraryFunction(FD, FunctionName); in isGlobalCFunction()
337 return CheckerContext::isCLibraryFunction(FD, CD.getFunctionName()) && in isCalled()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h359 static bool isCLibraryFunction(const FunctionDecl *FD,