/external/llvm/include/llvm/Object/ |
D | ObjectFile.h | 33 class SymbolRef; variable 70 friend class SymbolRef; variable 98 bool containsSymbol(SymbolRef S) const; 113 class SymbolRef : public BasicSymbolRef { 117 SymbolRef() : BasicSymbolRef() {} in SymbolRef() function 128 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner); 129 SymbolRef(const BasicSymbolRef &B) : BasicSymbolRef(B) { in SymbolRef() function 145 SymbolRef::Type getType() const; 156 symbol_iterator(SymbolRef Sym) : basic_symbol_iterator(Sym) {} in symbol_iterator() 158 : basic_symbol_iterator(SymbolRef(B->getRawDataRefImpl(), in symbol_iterator() [all …]
|
D | ELFObjectFile.h | 102 class ELFSymbolRef : public SymbolRef { 104 ELFSymbolRef(const SymbolRef &B) : SymbolRef(B) { in ELFSymbolRef() 105 assert(isa<ELFObjectFileBase>(SymbolRef::getObject())); in ELFSymbolRef() 128 : symbol_iterator(SymbolRef(B->getRawDataRefImpl(), in elf_symbol_iterator() 208 SymbolRef::Type getSymbolType(DataRefImpl Symb) const override; 448 SymbolRef::Type ELFObjectFile<ELFT>::getSymbolType(DataRefImpl Symb) const { in getSymbolType() 453 return SymbolRef::ST_Unknown; in getSymbolType() 455 return SymbolRef::ST_Debug; in getSymbolType() 457 return SymbolRef::ST_File; in getSymbolType() 459 return SymbolRef::ST_Function; in getSymbolType() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SimpleConstraintManager.h | 53 SymbolRef Sym, 67 virtual ProgramStateRef assumeSymNE(ProgramStateRef state, SymbolRef sym, 71 virtual ProgramStateRef assumeSymEQ(ProgramStateRef state, SymbolRef sym, 75 virtual ProgramStateRef assumeSymLT(ProgramStateRef state, SymbolRef sym, 79 virtual ProgramStateRef assumeSymGT(ProgramStateRef state, SymbolRef sym, 83 virtual ProgramStateRef assumeSymLE(ProgramStateRef state, SymbolRef sym, 87 virtual ProgramStateRef assumeSymGE(ProgramStateRef state, SymbolRef sym, 93 ProgramStateRef State, SymbolRef Sym, const llvm::APSInt &From, 97 ProgramStateRef state, SymbolRef Sym, const llvm::APSInt &From, 113 SymbolRef Sym,
|
D | RangeConstraintManager.cpp | 290 CLANG_ENTO_PROGRAMSTATE_MAP(SymbolRef, 295 RangeSet GetRange(ProgramStateRef state, SymbolRef sym); 300 ProgramStateRef assumeSymNE(ProgramStateRef state, SymbolRef sym, 304 ProgramStateRef assumeSymEQ(ProgramStateRef state, SymbolRef sym, 308 ProgramStateRef assumeSymLT(ProgramStateRef state, SymbolRef sym, 312 ProgramStateRef assumeSymGT(ProgramStateRef state, SymbolRef sym, 316 ProgramStateRef assumeSymGE(ProgramStateRef state, SymbolRef sym, 320 ProgramStateRef assumeSymLE(ProgramStateRef state, SymbolRef sym, 325 ProgramStateRef State, SymbolRef Sym, const llvm::APSInt &From, 329 ProgramStateRef State, SymbolRef Sym, const llvm::APSInt &From, [all …]
|
D | SimpleConstraintManager.cpp | 99 SymbolRef Sym, bool Assumption) { in assumeAuxForSymbol() 122 SymbolRef sym = Cond.getAsSymExpr(); in assumeAux() 132 SymbolRef sym = SV.getSymbol(); in assumeAux() 166 SymbolRef Subtraction = SymMgr.getSymSymExpr(SSE->getRHS(), BO_Sub, in assumeAux() 203 SymbolRef Sym = Value.getAsSymExpr(); in assumeWithinInclusiveRange() 215 if (SymbolRef Sym = Value.getAsSymbol()) in assumeWithinInclusiveRange() 229 static void computeAdjustment(SymbolRef &Sym, llvm::APSInt &Adjustment) { in computeAdjustment() 264 SymbolRef Sym = LHS; in assumeSymRel() 303 SymbolRef Sym, in assumeSymWithinInclusiveRange() 312 SymbolRef AdjustedSym = Sym; in assumeSymWithinInclusiveRange()
|
D | SymbolManager.cpp | 109 SymbolRef SymExpr::symbol_iterator::operator*() { in operator *() 186 SymbolManager::getDerivedSymbol(SymbolRef parentSymbol, in getDerivedSymbol() 347 void SymbolManager::addSymbolDependency(const SymbolRef Primary, in addSymbolDependency() 348 const SymbolRef Dependent) { in addSymbolDependency() 361 const SymbolRef Primary) { in getDependentSymbols() 368 void SymbolReaper::markDependentsLive(SymbolRef sym) { in markDependentsLive() 386 void SymbolReaper::markLive(SymbolRef sym) { in markLive() 408 void SymbolReaper::markInUse(SymbolRef sym) { in markInUse() 413 bool SymbolReaper::maybeDead(SymbolRef sym) { in maybeDead() 452 bool SymbolReaper::isLive(SymbolRef sym) { in isLive()
|
D | SVals.cpp | 34 SymbolRef sym = SV->getSymbol(); in hasConjuredSymbol() 42 SymbolRef sym = SR->getSymbol(); in hasConjuredSymbol() 69 SymbolRef SVal::getAsLocSymbol(bool IncludeBaseRegions) const { in getAsLocSymbol() 85 SymbolRef SVal::getLocSymbolInBase() const { in getLocSymbolInBase() 111 SymbolRef SVal::getAsSymbol(bool IncludeBaseRegion) const { in getAsSymbol()
|
D | ConstraintManager.cpp | 22 SymbolRef Sym) { in getLocFromSymbol() 29 SymbolRef Sym) { in checkNull()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | SimpleStreamChecker.cpp | 28 typedef SmallVector<SymbolRef, 2> SymbolVector; 62 void reportDoubleClose(SymbolRef FileDescSym, 66 void reportLeaks(ArrayRef<SymbolRef> LeakedStreams, CheckerContext &C, 92 REGISTER_MAP_WITH_PROGRAMSTATE(StreamMap, SymbolRef, StreamState) 101 bool VisitSymbol(SymbolRef sym) override { in VisitSymbol() 131 SymbolRef FileDesc = Call.getReturnValue().getAsSymbol(); in checkPostCall() 155 SymbolRef FileDesc = Call.getArgSVal(0).getAsSymbol(); in checkPreCall() 172 static bool isLeaked(SymbolRef Sym, const StreamState &SS, in isLeaked() 191 SymbolRef Sym = I->first; in checkDeadSymbols() 209 void SimpleStreamChecker::reportDoubleClose(SymbolRef FileDescSym, in reportDoubleClose() [all …]
|
D | MacOSKeychainAPIChecker.cpp | 40 SymbolRef Region; 42 AllocationState(const Expr *E, unsigned int Idx, SymbolRef R) : in AllocationState() 62 typedef std::pair<SymbolRef, const AllocationState*> AllocationPair; 103 const ExplodedNode *getAllocationNode(const ExplodedNode *N, SymbolRef Sym, 110 bool definitelyReturnedError(SymbolRef RetSym, 116 bool definitelyDidnotReturnError(SymbolRef RetSym, in definitelyDidnotReturnError() 135 SymbolRef Sym; 138 SecKeychainBugVisitor(SymbolRef S) : Sym(S) {} in SecKeychainBugVisitor() 158 SymbolRef, in REGISTER_MAP_WITH_PROGRAMSTATE() argument 214 static SymbolRef getAsPointeeSymbol(const Expr *Expr, in getAsPointeeSymbol() [all …]
|
D | MallocChecker.cpp | 140 SymbolRef ReallocatedSym; 143 ReallocPair(SymbolRef S, ReallocPairKind K) : in ReallocPair() 321 bool isReleased(SymbolRef Sym, CheckerContext &C) const; 323 bool checkUseAfterFree(SymbolRef Sym, CheckerContext &C, const Stmt *S) const; 325 void checkUseZeroAllocated(SymbolRef Sym, CheckerContext &C, 328 bool checkDoubleDelete(SymbolRef Sym, CheckerContext &C) const; 342 SymbolRef &EscapingSymbol) const; 360 Optional<CheckKind> getCheckIfTracked(CheckerContext &C, SymbolRef Sym, 371 SymbolRef Sym, bool OwnershipTransferred) const; 376 SymbolRef Sym) const; [all …]
|
D | ObjCContainersChecker.cpp | 41 inline SymbolRef getArraySym(const Expr *E, CheckerContext &C) const { in getArraySym() 43 SymbolRef ArraySym = ArrayRef.getAsSymbol(); in getArraySym() 64 REGISTER_MAP_WITH_PROGRAMSTATE(ArraySizeMap, SymbolRef, DefinedSVal) in REGISTER_MAP_WITH_PROGRAMSTATE() argument 76 SymbolRef ArraySym = ArrayRef.getAsSymbol(); in REGISTER_MAP_WITH_PROGRAMSTATE() 121 SymbolRef ArraySym = getArraySym(ArrayExpr, C); in checkPreStmt() 162 SymbolRef Sym = *I; in checkPointerEscape()
|
D | RetainCountChecker.cpp | 362 REGISTER_MAP_WITH_PROGRAMSTATE(RefBindings, SymbolRef, RefVal) in REGISTER_MAP_WITH_PROGRAMSTATE() argument 365 SymbolRef Sym) { in REGISTER_MAP_WITH_PROGRAMSTATE() 370 SymbolRef Sym, RefVal Val) { in setRefBinding() 374 static ProgramStateRef removeRefBinding(ProgramStateRef State, SymbolRef Sym) { in removeRefBinding() 1507 if (SymbolRef Sym = ReceiverV.getAsLocSymbol()) in getInstanceMethodSummary() 1749 SymbolRef Sym; 1754 CFRefReportVisitor(SymbolRef sym, bool gcEnabled, const SummaryLogTy &log) in CFRefReportVisitor() 1775 CFRefLeakReportVisitor(SymbolRef sym, bool GCEnabled, in CFRefLeakReportVisitor() 1798 const SummaryLogTy &Log, ExplodedNode *n, SymbolRef sym, in CFRefReport() 1807 const SummaryLogTy &Log, ExplodedNode *n, SymbolRef sym, in CFRefReport() [all …]
|
D | TestAfterDivZeroChecker.cpp | 29 SymbolRef ZeroSymbol; 34 ZeroState(SymbolRef S, unsigned B, const StackFrameContext *SFC) in ZeroState() 60 SymbolRef ZeroSymbol; 65 DivisionBRVisitor(SymbolRef ZeroSymbol, const StackFrameContext *SFC) in DivisionBRVisitor() 149 SymbolRef SR = Var.getAsSymbol(); in setDivZeroMap() 161 SymbolRef SR = Var.getAsSymbol(); in hasDivZeroMap()
|
D | DynamicTypePropagation.cpp | 46 REGISTER_MAP_WITH_PROGRAMSTATE(MostSpecializedTypeArgsMap, SymbolRef, 78 GenericsBugVisitor(SymbolRef S) : Sym(S) {} in GenericsBugVisitor() 93 SymbolRef Sym; 98 SymbolRef Sym, CheckerContext &C, 442 storeWhenMoreInformative(ProgramStateRef &State, SymbolRef Sym, in storeWhenMoreInformative() 530 SymbolRef Sym = State->getSVal(CE, C.getLocationContext()).getAsSymbol(); in checkPostStmt() 684 SymbolRef Sym = M.getReceiverSVal().getAsSymbol(); in checkPreObjCMessage() 732 SymbolRef ArgSym = ArgSVal.getAsSymbol(); in checkPreObjCMessage() 764 SymbolRef RetSym = M.getReturnValue().getAsSymbol(); in checkPostObjCMessage() 794 SymbolRef RecSym = M.getReceiverSVal().getAsSymbol(); in checkPostObjCMessage() [all …]
|
/external/llvm/lib/DebugInfo/Symbolize/ |
D | SymbolizableObjectFile.cpp | 55 std::vector<std::pair<SymbolRef, uint64_t>> Symbols = in create() 118 std::error_code SymbolizableObjectFile::addSymbol(const SymbolRef &Symbol, in addSymbol() 122 SymbolRef::Type SymbolType = Symbol.getType(); in addSymbol() 123 if (SymbolType != SymbolRef::ST_Function && SymbolType != SymbolRef::ST_Data) in addSymbol() 150 auto &M = SymbolType == SymbolRef::ST_Function ? Functions : Objects; in addSymbol() 168 bool SymbolizableObjectFile::getNameFromSymbolTable(SymbolRef::Type Type, in getNameFromSymbolTable() 173 const auto &SymbolMap = Type == SymbolRef::ST_Function ? Functions : Objects; in getNameFromSymbolTable() 212 if (getNameFromSymbolTable(SymbolRef::ST_Function, ModuleOffset, in symbolizeCode() 235 if (getNameFromSymbolTable(SymbolRef::ST_Function, ModuleOffset, in symbolizeInlinedCode() 247 getNameFromSymbolTable(SymbolRef::ST_Data, ModuleOffset, Res.Name, Res.Start, in symbolizeData()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SymbolManager.h | 98 typedef const SymExpr* SymbolRef; typedef 99 typedef SmallVector<SymbolRef, 2> SymbolRefSmallVectorTy; 201 SymbolRef parentSymbol; 205 SymbolDerived(SymbolID sym, SymbolRef parent, const TypedValueRegion *r) in SymbolDerived() 208 SymbolRef getParentSymbol() const { return parentSymbol; } in getParentSymbol() 215 static void Profile(llvm::FoldingSetNodeID& profile, SymbolRef parent, in Profile() 473 typedef llvm::DenseMap<SymbolRef, SymbolRefSmallVectorTy*> SymbolDependTy; 510 const SymbolDerived *getDerivedSymbol(SymbolRef parentSymbol, 548 void addSymbolDependency(const SymbolRef Primary, const SymbolRef Dependent); 550 const SymbolRefSmallVectorTy *getDependentSymbols(const SymbolRef Primary); [all …]
|
D | ConstraintManager.h | 137 SymbolRef sym) const { in getSymVal() 153 ConditionTruthVal isNull(ProgramStateRef State, SymbolRef Sym) { in isNull() 177 virtual ConditionTruthVal checkNull(ProgramStateRef State, SymbolRef Sym);
|
/external/llvm/lib/Object/ |
D | SymbolSize.cpp | 40 static unsigned getSymbolSectionID(const ObjectFile &O, SymbolRef Sym) { in getSymbolSectionID() 46 std::vector<std::pair<SymbolRef, uint64_t>> 48 std::vector<std::pair<SymbolRef, uint64_t>> Ret; in computeSymbolSizes() 64 SymbolRef Sym = *I; in computeSymbolSizes()
|
D | COFFObjectFile.cpp | 182 SymbolRef::Type COFFObjectFile::getSymbolType(DataRefImpl Ref) const { in getSymbolType() 187 return SymbolRef::ST_Function; in getSymbolType() 189 return SymbolRef::ST_Unknown; in getSymbolType() 191 return SymbolRef::ST_Data; in getSymbolType() 193 return SymbolRef::ST_File; in getSymbolType() 197 return SymbolRef::ST_Debug; in getSymbolType() 200 return SymbolRef::ST_Data; in getSymbolType() 202 return SymbolRef::ST_Other; in getSymbolType() 207 uint32_t Result = SymbolRef::SF_None; in getSymbolFlags() 210 Result |= SymbolRef::SF_Global; in getSymbolFlags() [all …]
|
/external/llvm/lib/ExecutionEngine/OProfileJIT/ |
D | OProfileJITEventListener.cpp | 89 for (const std::pair<SymbolRef, uint64_t> &P : computeSymbolSizes(DebugObj)) { in NotifyObjectEmitted() 90 SymbolRef Sym = P.first; in NotifyObjectEmitted() 91 if (Sym.getType() != SymbolRef::ST_Function) in NotifyObjectEmitted() 131 if (I->getType() == SymbolRef::ST_Function) { in NotifyFreeingObject()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyld.cpp | 128 static std::error_code getOffset(const SymbolRef &Sym, SectionRef Sec, in getOffset() 166 if (Flags & SymbolRef::SF_Common) in loadObjectImpl() 169 object::SymbolRef::Type SymType = I->getType(); in loadObjectImpl() 178 if (Flags & SymbolRef::SF_Weak) in loadObjectImpl() 180 if (Flags & SymbolRef::SF_Exported) in loadObjectImpl() 183 if (Flags & SymbolRef::SF_Absolute && in loadObjectImpl() 184 SymType != object::SymbolRef::ST_File) { in loadObjectImpl() 196 } else if (SymType == object::SymbolRef::ST_Function || in loadObjectImpl() 197 SymType == object::SymbolRef::ST_Data || in loadObjectImpl() 198 SymType == object::SymbolRef::ST_Unknown || in loadObjectImpl() [all …]
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCExpr.cpp | 32 if (Expr->getKind() != MCExpr::SymbolRef) in printImpl() 35 if (Expr->getKind() != MCExpr::SymbolRef) in printImpl()
|
/external/llvm/tools/llvm-nm/ |
D | llvm-nm.cpp | 194 bool ADefined = !(A.Sym.getFlags() & SymbolRef::SF_Undefined); in compareSymbolAddress() 195 bool BDefined = !(B.Sym.getFlags() & SymbolRef::SF_Undefined); in compareSymbolAddress() 252 if (SymFlags & SymbolRef::SF_Global) in darwinPrintSymbol() 254 if (SymFlags & SymbolRef::SF_Hidden) in darwinPrintSymbol() 256 if (SymFlags & SymbolRef::SF_Undefined) in darwinPrintSymbol() 263 if(SymFlags & SymbolRef::SF_Const) in darwinPrintSymbol() 274 if (SymFlags & SymbolRef::SF_Weak) in darwinPrintSymbol() 583 bool Undefined = SymFlags & SymbolRef::SF_Undefined; in sortAndPrintSymbolList() 588 bool Global = SymFlags & SymbolRef::SF_Global; in sortAndPrintSymbolList() 819 if ((Symflags & object::SymbolRef::SF_Weak) && !isa<MachOObjectFile>(Obj)) { in getNMTypeChar() [all …]
|
/external/llvm/tools/dsymutil/ |
D | MachODebugMapParser.cpp | 152 for (const SymbolRef &Symbol : MainBinary.symbols()) { in parseOneBinary() 276 for (const SymbolRef &Symbol : MainBinary.symbols()) { in dumpOneBinaryStab() 415 if (Sym.getFlags() & SymbolRef::SF_Absolute) in loadCurrentObjectFileSymbols() 439 SymbolRef::Type Type = Sym.getType(); in loadMainBinarySymbols() 441 if ((Type & SymbolRef::ST_Debug) || (Type & SymbolRef::ST_Unknown)) in loadMainBinarySymbols() 447 if (!(Sym.getFlags() & SymbolRef::SF_Global)) in loadMainBinarySymbols()
|