|
clang 24.0.0git
|
|
static |
Definition at line 1161 of file UnsafeBufferUsage.cpp.
References clang::FunctionDecl::getBuiltinID(), clang::NamedDecl::getIdentifier(), getPredefinedUnsafeLibcFuncFamily(), matchName(), and clang::Scanf.
Referenced by getPredefinedUnsafeLibcFuncFamily(), getUnsafeLibcFunctionFamily(), and isPredefinedUnsafeLibcFunc().
|
static |
Definition at line 1225 of file UnsafeBufferUsage.cpp.
References getPredefinedUnsafeLibcFuncFamily(), getUnsafeLibcFunctionFamily(), and clang::Memory.
Referenced by getUnsafeLibcFunctionFamily().
|
static |
Definition at line 1012 of file UnsafeBufferUsage.cpp.
References LengthModifier::AsWideChar, clang::Call, clang::IntegerLiteral::Create(), clang::analyze_format_string::FormatSpecifier::getArgIndex(), clang::analyze_printf::OptionalAmount::getArgIndex(), clang::analyze_printf::OptionalAmount::getConstantAmount(), clang::analyze_printf::PrintfSpecifier::getConversionSpecifier(), clang::analyze_printf::OptionalAmount::getHowSpecified(), clang::analyze_format_string::ConversionSpecifier::getKind(), LengthModifier::getKind(), clang::ASTContext::getLangOpts(), clang::analyze_format_string::FormatSpecifier::getLengthModifier(), clang::analyze_printf::PrintfSpecifier::getPrecision(), clang::ASTContext::getSizeType(), clang::ASTContext::getTargetInfo(), clang::Expr::getType(), clang::ASTContext::getTypeSize(), clang::analyze_printf::OptionalAmount::hasDataArgument(), clang::Expr::IgnoreParenImpCasts(), isNullTermPointer(), isPtrBufferSafe(), clang::analyze_format_string::ParsePrintfString(), and clang::analyze_format_string::ConversionSpecifier::sArg.
Referenced by hasUnsafePrintfStringArg().
|
static |
Definition at line 1321 of file UnsafeBufferUsage.cpp.
References clang::CallExpr::arguments(), clang::Type::castAs(), clang::DynTypedNode::create(), clang::QualType::getCanonicalType(), clang::CallExpr::getDirectCallee(), clang::ASTContext::getFILEType(), clang::NamedDecl::getIdentifier(), clang::FunctionDecl::getNumParams(), clang::FunctionDecl::getParamDecl(), getPointeeType(), clang::ValueDecl::getType(), hasUnsafeFormatOrSArg(), hasUnsafePrintfStringArg(), clang::QualType::isConstQualified(), clang::Type::isIntegerType(), clang::QualType::isNull(), isNullTermPointer(), and clang::Type::isPointerType().
Referenced by hasUnsafePrintfStringArg().
|
static |
Definition at line 1397 of file UnsafeBufferUsage.cpp.
References clang::Type::castAs(), clang::CallExpr::getArg(), clang::CallExpr::getDirectCallee(), clang::FunctionDecl::getNumParams(), clang::FunctionDecl::getParamDecl(), getPointeeType(), clang::Expr::getType(), clang::ValueDecl::getType(), hasUnsafeSnprintfBuffer(), clang::Type::isAnyCharacterType(), clang::QualType::isConstQualified(), clang::Type::isPointerType(), and isPtrBufferSafe().
Referenced by hasUnsafeSnprintfBuffer().
|
static |
Definition at line 1423 of file UnsafeBufferUsage.cpp.
References clang::DeclContext::getEnclosingNamespaceContext(), clang::FunctionDecl::isGlobal(), isInLibcScope(), clang::Decl::isInStdNamespace(), and clang::DeclContext::isNamespace().
Referenced by isInLibcScope(), and isLibcFunction().
|
static |
Definition at line 1432 of file UnsafeBufferUsage.cpp.
References isInLibcScope(), isLibcFunction(), isNormalPrintfFunc(), isPredefinedUnsafeLibcFunc(), isUnsafeSprintfFunc(), and isUnsafeVaListPrintfFunc().
Referenced by isLibcFunction().
|
static |
Definition at line 1298 of file UnsafeBufferUsage.cpp.
References clang::FunctionDecl::getBuiltinID(), clang::NamedDecl::getIdentifier(), isNormalPrintfFunc(), and matchName().
Referenced by isLibcFunction(), and isNormalPrintfFunc().
|
static |
Definition at line 1218 of file UnsafeBufferUsage.cpp.
References getPredefinedUnsafeLibcFuncFamily(), and isPredefinedUnsafeLibcFunc().
Referenced by isLibcFunction(), and isPredefinedUnsafeLibcFunc().
|
static |
Definition at line 1234 of file UnsafeBufferUsage.cpp.
References clang::CallExpr::getArg(), clang::FunctionDecl::getBuiltinID(), clang::CallExpr::getDirectCallee(), clang::NamedDecl::getIdentifier(), clang::IdentifierInfo::getName(), clang::FunctionDecl::getNumParams(), getSubExprInAddressOfExpr(), getSubExprInSizeOfExpr(), isUnsafeMemset(), and matchName().
Referenced by isUnsafeMemset().
|
static |
Definition at line 1284 of file UnsafeBufferUsage.cpp.
References clang::FunctionDecl::getBuiltinID(), clang::NamedDecl::getIdentifier(), isUnsafeSprintfFunc(), and matchName().
Referenced by isLibcFunction(), and isUnsafeSprintfFunc().
|
static |
Definition at line 1271 of file UnsafeBufferUsage.cpp.
References clang::FunctionDecl::getBuiltinID(), clang::NamedDecl::getIdentifier(), isUnsafeVaListPrintfFunc(), and matchName().
Referenced by isLibcFunction(), and isUnsafeVaListPrintfFunc().
|
static |
Definition at line 973 of file UnsafeBufferUsage.cpp.
Referenced by matchLibcNameOrBuiltinChk(), and matchName().
|
static |
Definition at line 981 of file UnsafeBufferUsage.cpp.
References matchLibcName().
Referenced by matchName().
|
static |
Definition at line 988 of file UnsafeBufferUsage.cpp.
References matchLibcName(), and matchLibcNameOrBuiltinChk().
Referenced by getPredefinedUnsafeLibcFuncFamily(), isNormalPrintfFunc(), isUnsafeMemset(), isUnsafeSprintfFunc(), and isUnsafeVaListPrintfFunc().