Lines Matching refs:Section
148 for (const object::SectionRef &Section : Obj.sections()) { in mapVirtualAddress() local
149 if (!Section.isText() || Section.isVirtual() || !Section.getSize()) in mapVirtualAddress()
154 Sections.emplace(Section.getIndex(), Section); in mapVirtualAddress()
155 addSectionAddress(Section); in mapVirtualAddress()
158 Expected<StringRef> SectionNameOrErr = Section.getName(); in mapVirtualAddress()
165 DotTextSectionIndex = Section.getIndex(); in mapVirtualAddress()
175 const object::SectionRef Section = Entry.second; in mapVirtualAddress()
176 Expected<StringRef> SectionNameOrErr = Section.getName(); in mapVirtualAddress()
181 << "Size: " << hexValue(Section.getSize()) << "\n" in mapVirtualAddress()
183 << "SectionAddress: " << hexValue(Section.getAddress()) << "\n"; in mapVirtualAddress()
204 for (const object::SectionRef &Section : COFFObj.sections()) { in mapVirtualAddress() local
205 if (!Section.isText() || Section.isVirtual() || !Section.getSize()) in mapVirtualAddress()
208 const object::coff_section *COFFSection = COFFObj.getCOFFSection(Section); in mapVirtualAddress()
214 Sections.emplace(Section.getIndex() + 1, Section); in mapVirtualAddress()
215 addSectionAddress(Section); in mapVirtualAddress()
218 mapRangeAddress(COFFObj, Section, IsComdat); in mapVirtualAddress()
225 const object::SectionRef Section = Entry.second; in mapVirtualAddress()
226 const object::coff_section *COFFSection = COFFObj.getCOFFSection(Section); in mapVirtualAddress()
227 Expected<StringRef> SectionNameOrErr = Section.getName(); in mapVirtualAddress()
232 << "Size: " << hexValue(Section.getSize()) << "\n" in mapVirtualAddress()
234 << "SectionAddress: " << hexValue(Section.getAddress()) << "\n" in mapVirtualAddress()
322 const object::SectionRef Section = Iter->second; in getSection() local
323 return std::make_pair(Section.getAddress(), Section); in getSection()
389 const object::SectionRef Section = (*SectionOrErr).second; in createInstructions() local
392 Expected<StringRef> SectionContentsOrErr = Section.getContents(); in createInstructions()
401 << ", Section Size: " << hexValue(Section.getSize()) << "\n"; in createInstructions()
403 Size = std::min(Size + 1, Section.getSize()); in createInstructions()
411 Expected<StringRef> SectionNameOrErr = Section.getName(); in createInstructions()
415 dbgs() << "Section Index: " << hexValue(Section.getIndex()) << " [" in createInstructions()
416 << hexValue((uint64_t)Section.getAddress()) << ":" in createInstructions()
417 << hexValue((uint64_t)Section.getAddress() + Section.getSize(), 10) in createInstructions()
833 const object::SectionRef Section = Entry.second; in processLines() local
834 uint64_t Size = Section.getSize(); in processLines()
837 << " , Section Size: " << hexValue(Section.getSize()) in processLines()
838 << " , Section Address: " << hexValue(Section.getAddress()) in processLines()