Searched refs:SecRef (Results 1 – 10 of 10) sorted by relevance
261 for (auto SecRef : sections) { in createNormalizedSymbols() local262 if (SecRef.sh_type != ELF::SHT_SYMTAB && in createNormalizedSymbols()263 SecRef.sh_type != ELF::SHT_DYNSYM) in createNormalizedSymbols()266 auto Symbols = Obj.symbols(&SecRef); in createNormalizedSymbols()273 auto StrTabSec = Obj.getSection(SecRef.sh_link); in createNormalizedSymbols()308 for (auto &SecRef : sections) { in createNormalizedSections() local309 auto Name = Obj.getSectionName(SecRef); in createNormalizedSections()313 if (SecRef.sh_flags & ELF::SHF_EXECINSTR) { in createNormalizedSections()320 uint64_t Address = SecRef.sh_addr; in createNormalizedSections()321 uint64_t Size = SecRef.sh_size; in createNormalizedSections()[all …]
110 for (auto &SecRef : Obj.sections()) { in createNormalizedSections() local114 auto SecIndex = Obj.getSectionIndex(SecRef.getRawDataRefImpl()); in createNormalizedSections()116 auto Name = SecRef.getName(); in createNormalizedSections()122 Obj.getSection64(SecRef.getRawDataRefImpl()); in createNormalizedSections()135 const MachO::section &Sec32 = Obj.getSection(SecRef.getRawDataRefImpl()); in createNormalizedSections()
85 Expected<object::SectionRef> SecRef = in extractSections() local87 if (!SecRef) in extractSections()88 return SecRef.takeError(); in extractSections()91 MachOObj.getSectionContents(SecRef->getRawDataRefImpl()); in extractSections()99 for (auto RI = MachOObj.section_rel_begin(SecRef->getRawDataRefImpl()), in extractSections()100 RE = MachOObj.section_rel_end(SecRef->getRawDataRefImpl()); in extractSections()
70 for (object::SectionRef SecRef : Obj.sections()) { in getSectionRefsByNameOrIndex() local71 StringRef SecName = unwrapOrError(Obj.getFileName(), SecRef.getName()); in getSectionRefsByNameOrIndex()79 Ret.push_back(SecRef); in getSectionRefsByNameOrIndex()
105 for (auto &SecRef : Obj.sections()) { in createNormalizedSections() local109 auto SecIndex = Obj.getSectionIndex(SecRef.getRawDataRefImpl()); in createNormalizedSections()111 auto Name = SecRef.getName(); in createNormalizedSections()117 Obj.getSection64(SecRef.getRawDataRefImpl()); in createNormalizedSections()125 const MachO::section &Sec32 = Obj.getSection(SecRef.getRawDataRefImpl()); in createNormalizedSections()
454 Expected<DataRefImpl> SecRef = getSectionByNum(SectionNum); in getSymbolSectionName()455 if (SecRef) in getSymbolSectionName()457 getSectionNameInternal(SecRef.get())); in getSymbolSectionName()458 return SecRef.takeError(); in getSymbolSectionName()
380 const auto &SecRef = SectionNames[SectionIndex]; in dumpAddressSection() local382 OS << " \"" << SecRef.Name << '\"'; in dumpAddressSection()385 if (!SecRef.IsNameUnique) in dumpAddressSection()
381 const auto &SecRef = SectionNames[SectionIndex]; in dumpAddressSection() local383 OS << " \"" << SecRef.Name << '\"'; in dumpAddressSection()386 if (!SecRef.IsNameUnique) in dumpAddressSection()
501 Expected<DataRefImpl> SecRef = getSectionByNum(SectionNum); in getSymbolSectionName()502 if (SecRef) in getSymbolSectionName()504 getSectionNameInternal(SecRef.get())); in getSymbolSectionName()505 return SecRef.takeError(); in getSymbolSectionName()
93 if (Expected<object::SectionRef> SecRef = Obj.getSection(SecIndex)) { in constructSectionCommon() local95 for (const object::RelocationRef &Reloc : SecRef->relocations()) { in constructSectionCommon()111 return SecRef.takeError(); in constructSectionCommon()