clang API Documentation

Functions
UnixAPIChecker.cpp File Reference
#include "ClangSACheckers.h"
#include "clang/StaticAnalyzer/Core/Checker.h"
#include "clang/StaticAnalyzer/Core/CheckerManager.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
#include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
#include "clang/Basic/TargetInfo.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringSwitch.h"
#include <fcntl.h>
Include dependency graph for UnixAPIChecker.cpp:

Go to the source code of this file.

Functions

static void LazyInitialize (OwningPtr< BugType > &BT, const char *name)
static bool IsZeroByteAllocation (ProgramStateRef state, const SVal argVal, ProgramStateRef *trueState, ProgramStateRef *falseState)

Function Documentation

static bool IsZeroByteAllocation ( ProgramStateRef  state,
const SVal  argVal,
ProgramStateRef *  trueState,
ProgramStateRef *  falseState 
) [static]

Definition at line 197 of file UnixAPIChecker.cpp.

static void LazyInitialize ( OwningPtr< BugType > &  BT,
const char *  name 
) [inline, static]

Definition at line 66 of file UnixAPIChecker.cpp.

References clang::ento::categories::UnixAPI.