clang
3.7.0
|
#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"
Go to the source code of this file.
Namespaces | |
clang | |
clang::ento | |
Typedefs | |
typedef ArrayRef< const MemRegion * > | RegionList |
typedef ArrayRef< SVal > | ValueList |
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 ArrayRef<const MemRegion *> RegionList |
Definition at line 135 of file ProgramState.cpp.
Definition at line 136 of file ProgramState.cpp.
Referenced by if(), and clang::ento::ProgramState::setDynamicTypeInfo().
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().
REGISTER_TRAIT_WITH_PROGRAMSTATE (DynamicTypeMap, CLANG_ENTO_PROGRAMSTATE_MAP(const MemRegion *, DynamicTypeInfo)) DynamicTypeInfo ProgramState const DynamicTypeInfo GDMType) = get<DynamicTypeMap>(Reg) |
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.