Lines Matching defs:section
467 ObjectFile::ReadSectionData (const Section *section, off_t section_offset, void *dst, size_t dst_len) const
470 if (section->GetObjectFile() != this)
471 return section->GetObjectFile()->ReadSectionData (section, section_offset, dst, dst_len);
479 const addr_t base_load_addr = section->GetLoadBaseAddress (&process_sp->GetTarget());
486 const uint64_t section_file_size = section->GetFileSize();
493 return CopyData (section->GetFileOffset() + section_offset, section_dst_len, dst);
497 if (section->GetType() == eSectionTypeZeroFill)
499 const uint64_t section_size = section->GetByteSize();
513 // Get the section data the file on disk
516 ObjectFile::ReadSectionData (const Section *section, DataExtractor& section_data) const
519 if (section->GetObjectFile() != this)
520 return section->GetObjectFile()->ReadSectionData (section, section_data);
527 const addr_t base_load_addr = section->GetLoadBaseAddress (&process_sp->GetTarget());
530 DataBufferSP data_sp (ReadMemory (process_sp, base_load_addr, section->GetByteSize()));
544 return MemoryMapSectionData (section, section_data);
551 ObjectFile::MemoryMapSectionData (const Section *section, DataExtractor& section_data) const
554 if (section->GetObjectFile() != this)
555 return section->GetObjectFile()->MemoryMapSectionData (section, section_data);
559 return ReadSectionData (section, section_data);
564 return GetData(section->GetFileOffset(), section->GetFileSize(), section_data);