clang 22.0.0git
|
#include "clang/Basic/TargetInfo.h"
#include "clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.h"
#include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
#include "clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h"
#include "clang/StaticAnalyzer/Core/Checker.h"
#include "clang/StaticAnalyzer/Core/CheckerManager.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/DynamicExtent.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/raw_ostream.h"
#include <optional>
Go to the source code of this file.
Enumerations | |
enum class | OpenVariant { Open , OpenAt } |
Functions | |
static std::optional< int > | getCreateFlagValue (const ASTContext &Ctx, const Preprocessor &PP) |
static bool | IsZeroByteAllocation (ProgramStateRef state, const SVal argVal, ProgramStateRef *trueState, ProgramStateRef *falseState) |
|
strong |
Definition at line 32 of file UnixAPIChecker.cpp.
|
static |
Definition at line 42 of file UnixAPIChecker.cpp.
References clang::ASTContext::getTargetInfo(), clang::TargetInfo::getTriple(), and clang::ento::tryExpandAsInteger().
|
static |
Definition at line 461 of file UnixAPIChecker.cpp.
References clang::ento::SVal::castAs().