clang API Documentation

Functions
ArrayBoundCheckerV2.cpp File Reference
#include "ClangSACheckers.h"
#include "clang/AST/CharUnits.h"
#include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
#include "clang/StaticAnalyzer/Core/Checker.h"
#include "clang/StaticAnalyzer/Core/CheckerManager.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for ArrayBoundCheckerV2.cpp:

Go to the source code of this file.

Functions

static SVal computeExtentBegin (SValBuilder &svalBuilder, const MemRegion *region)
static SVal getValue (SVal val, SValBuilder &svalBuilder)
static SVal scaleValue (ProgramStateRef state, NonLoc baseVal, CharUnits scaling, SValBuilder &sb)
static SVal addValue (ProgramStateRef state, SVal x, SVal y, SValBuilder &svalBuilder)

Function Documentation

static SVal addValue ( ProgramStateRef  state,
SVal  x,
SVal  y,
SValBuilder svalBuilder 
) [static]
static SVal computeExtentBegin ( SValBuilder svalBuilder,
const MemRegion region 
) [static]
static SVal getValue ( SVal  val,
SValBuilder svalBuilder 
) [inline, static]
static SVal scaleValue ( ProgramStateRef  state,
NonLoc  baseVal,
CharUnits  scaling,
SValBuilder sb 
) [inline, static]