clang  3.7.0
Namespaces | Typedefs | Functions | Variables
ProgramState.cpp File Reference
#include "clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h"
#include "clang/Analysis/CFG.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/TaintManager.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for ProgramState.cpp:

Go to the source code of this file.

Namespaces

 clang
 
 clang::ento
 

Typedefs

typedef ArrayRef< const
MemRegion * > 
RegionList
 
typedef ArrayRef< SValValueList
 

Functions

void clang::ento::ProgramStateRetain (const ProgramState *state)
 Increments the number of times this state is referenced. More...
 
void clang::ento::ProgramStateRelease (const ProgramState *state)
 Decrement the number of times this state is referenced. More...
 
 if (GDMType) return *GDMType
 
 if (const TypedRegion *TR=dyn_cast< TypedRegion >(Reg)) return DynamicTypeInfo(TR-> getLocationType(), false)
 
 if (const SymbolicRegion *SR=dyn_cast< SymbolicRegion >(Reg))
 
return DynamicTypeInfo ()
 

Variables

REGISTER_TRAIT_WITH_PROGRAMSTATE(DynamicTypeMap,
CLANG_ENTO_PROGRAMSTATE_MAP(const
MemRegion *, DynamicTypeInfo))
DynamicTypeInfo ProgramState
const DynamicTypeInfo 
GDMType ) = get<DynamicTypeMap>(Reg)
 

Typedef Documentation

typedef ArrayRef<const MemRegion *> RegionList

Definition at line 135 of file ProgramState.cpp.

typedef ArrayRef<SVal> ValueList

Definition at line 136 of file ProgramState.cpp.

Function Documentation

if ( GDMType  )
if ( const TypedRegion TR = dyn_cast< TypedRegion >(Reg)) -> getLocationType(), false)
if ( const SymbolicRegion SR = dyn_cast<SymbolicRegion>(Reg))

Definition at line 773 of file ProgramState.cpp.

References DynamicTypeInfo(), and clang::ento::SymExpr::getType().

Variable Documentation

The GDM component containing the dynamic type info. This is a map from a symbol to its most likely type.

Definition at line 765 of file ProgramState.cpp.