Searched refs:SecRef (Results 1 – 7 of 7) sorted by relevance
312 for (auto SecRef : sections) { in createNormalizedSymbols() local313 if (SecRef.sh_type != ELF::SHT_SYMTAB && in createNormalizedSymbols()314 SecRef.sh_type != ELF::SHT_DYNSYM) in createNormalizedSymbols()317 auto Symbols = Obj.symbols(&SecRef); in createNormalizedSymbols()324 auto StrTabSec = Obj.getSection(SecRef.sh_link); in createNormalizedSymbols()355 for (auto &SecRef : sections) { in createNormalizedSections() local356 auto Name = Obj.getSectionName(SecRef); in createNormalizedSections()370 if (SecRef.sh_flags & ELF::SHF_EXECINSTR) { in createNormalizedSections()377 uint64_t Address = SecRef.sh_addr; in createNormalizedSections()378 uint64_t Size = SecRef.sh_size; in createNormalizedSections()[all …]
113 for (auto &SecRef : Obj.sections()) { in createNormalizedSections() local117 auto SecIndex = Obj.getSectionIndex(SecRef.getRawDataRefImpl()); in createNormalizedSections()121 Obj.getSection64(SecRef.getRawDataRefImpl()); in createNormalizedSections()134 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()
396 const auto &SecRef = SectionNames[SectionIndex]; in dumpAddressSection() local398 OS << " \"" << SecRef.Name << '\"'; in dumpAddressSection()401 if (!SecRef.IsNameUnique) in dumpAddressSection()
516 Expected<DataRefImpl> SecRef = getSectionByNum(SectionNum); in getSymbolSectionName()517 if (SecRef) in getSymbolSectionName()519 getSectionNameInternal(SecRef.get())); in getSymbolSectionName()520 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()