Home
last modified time | relevance | path

Searched refs:isTainted (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
DProgramState.cpp706 bool ProgramState::isTainted(const Stmt *S, const LocationContext *LCtx, in isTainted() function in ProgramState
712 return isTainted(val, Kind); in isTainted()
715 bool ProgramState::isTainted(SVal V, TaintTagType Kind) const { in isTainted() function in ProgramState
717 return isTainted(Sym, Kind); in isTainted()
719 return isTainted(Reg, Kind); in isTainted()
723 bool ProgramState::isTainted(const MemRegion *Reg, TaintTagType K) const { in isTainted() function in ProgramState
730 return isTainted(ER->getSuperRegion(), K) || isTainted(ER->getIndex(), K); in isTainted()
733 return isTainted(SR->getSymbol(), K); in isTainted()
736 return isTainted(ER->getSuperRegion(), K); in isTainted()
741 bool ProgramState::isTainted(SymbolRef Sym, TaintTagType Kind) const { in isTainted() function in ProgramState
[all …]
DSValBuilder.cpp306 if (!State->isTainted(RHS) && !State->isTainted(LHS)) in makeSymExprValNN()
/external/clang/lib/StaticAnalyzer/Checkers/
DTaintTesterChecker.cpp50 if (State->isTainted(E, C.getLocationContext())) { in checkPostStmt()
DGenericTaintChecker.cpp162 return (State->isTainted(E, C.getLocationContext()) || isStdin(E, C) || in isTaintedOrPointsToTainted()
164 State->isTainted(getPointedToSymbol(C, E)))); in isTaintedOrPointsToTainted()
522 if (State->isTainted(CE->getArg(0), C.getLocationContext()) || in preFscanf()
642 if (!State->isTainted(getPointedToSymbol(C, E)) && in generateReportIfTainted()
643 !State->isTainted(E, C.getLocationContext())) in generateReportIfTainted()
DDivZeroChecker.cpp79 bool TaintedD = C.getState()->isTainted(*DV); in checkPreStmt()
DVLASizeChecker.cpp107 if (state->isTainted(sizeV)) { in checkPreStmt()
DArrayBoundCheckerV2.cpp160 if (state->isTainted(rawOffset.getByteOffset())) in checkLocation()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DProgramState.h334 bool isTainted(const Stmt *S, const LocationContext *LCtx,
336 bool isTainted(SVal V, TaintTagType Kind = TaintTagGeneric) const;
337 bool isTainted(SymbolRef Sym, TaintTagType Kind = TaintTagGeneric) const;
338 bool isTainted(const MemRegion *Reg, TaintTagType Kind=TaintTagGeneric) const;