Home
last modified time | relevance | path

Searched refs:RegionState (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DPointerArithChecker.cpp76 REGISTER_MAP_WITH_PROGRAMSTATE(RegionState, const MemRegion *, AllocKind) in REGISTER_MAP_WITH_PROGRAMSTATE() argument
133 if (const AllocKind *Kind = State->get<RegionState>(Region)) { in getArrayRegion()
239 State = State->set<RegionState>(Region, AllocKind::Array); in checkPostStmt()
256 State = State->set<RegionState>(Region, Kind); in checkPostStmt()
274 State = State->set<RegionState>(Region, AllocKind::Reinterpreted); in checkPostStmt()
291 if (const AllocKind *Kind = State->get<RegionState>(Region)) { in checkPreStmt()
295 State = State->set<RegionState>(Region, AllocKind::Array); in checkPreStmt()
DMallocChecker.cpp512 REGISTER_MAP_WITH_PROGRAMSTATE(RegionState, SymbolRef, RefState)
528 state = state->remove<RegionState>(sym); in VisitSymbol()
905 const RefState *RS = State->get<RegionState>(Sym); in ProcessZeroAllocation()
908 return TrueState->set<RegionState>(Sym, in ProcessZeroAllocation()
1142 return State->set<RegionState>(Sym, RefState::getAllocated(Family, E)); in MallocUpdateRefState()
1386 const RefState *RsBase = State->get<RegionState>(SymBase); in FreeMemAux()
1453 return State->set<RegionState>(SymBase, in FreeMemAux()
1457 return State->set<RegionState>(SymBase, in FreeMemAux()
1506 const RefState *RS = C.getState()->get<RegionState>(Sym); in getCheckIfTracked()
2027 if (!State->get<RegionState>(Sym)) in getAllocationSite()
[all …]