Lines Matching refs:Read
64 header_ = Read<Elf_Ehdr>(/*offset=*/ 0); in ElfDebugReader()
74 sections_ = Read<Elf_Shdr>(header_->e_shoff, header_->e_shnum); in ElfDebugReader()
76 const char* name = Read<char>(sections_[header_->e_shstrndx].sh_offset + section.sh_name); in ElfDebugReader()
83 auto compressed = Read<uint8_t>(gnu_debugdata->sh_offset, gnu_debugdata->sh_size); in ElfDebugReader()
112 for (const Elf_Phdr& phdr : Read<Elf_Phdr>(header_->e_phoff, header_->e_phnum)) { in GetLoadAddress()
129 for (const Elf_Sym& symbol : Read<Elf_Sym>(symtab->sh_offset, count)) { in VisitFunctionSymbols()
131 visit_sym(symbol, Read<char>(strtab->sh_offset + symbol.st_name)); in VisitFunctionSymbols()
147 for (const Elf_Sym& symbol : Read<Elf_Sym>(dynsym->sh_offset, count)) { in VisitDynamicSymbols()
148 visit_sym(symbol, Read<char>(dynstr->sh_offset + symbol.st_name)); in VisitDynamicSymbols()
158 const CFI* entry = Read<CFI>(debug_frame->sh_offset + offset); in VisitDebugFrame()
161 visit_cie(Read<CIE>(debug_frame->sh_offset + offset)); in VisitDebugFrame()
163 const FDE* fde = Read<FDE>(debug_frame->sh_offset + offset); in VisitDebugFrame()
164 visit_fde(fde, Read<CIE>(debug_frame->sh_offset + fde->cie_pointer)); in VisitDebugFrame()
176 const T* Read(size_t offset) { in Read() function
182 ArrayRef<const T> Read(size_t offset, size_t count) { in Read() function
184 return ArrayRef<const T>(Read<T>(offset), count); in Read()