Lines Matching refs:memory_
87 auto decompressed = std::make_shared<MemoryXz>(memory_.get(), gnu_debugdata_offset_, in CreateGnuDebugdataMemory()
162 DwarfEhFrameWithHdr<AddressType>* eh_frame_hdr = new DwarfEhFrameWithHdr<AddressType>(memory_); in InitHeaders()
173 eh_frame_.reset(new DwarfEhFrame<AddressType>(memory_)); in InitHeaders()
181 std::shared_ptr<Memory> debug_memory = memory_; in InitHeaders()
183 debug_memory = CreateMemoryFromCompressedSection<ChdrType>(debug_frame_info_, memory_); in InitHeaders()
196 if (!memory_->ReadFully(0, &ehdr, sizeof(ehdr))) { in ReadAllHeaders()
237 if (!memory_->ReadFully(offset, &phdr, sizeof(phdr))) { in ReadProgramHeaders()
298 if (!memory_->ReadFully(gnu_build_id_offset_ + offset, &hdr, sizeof(hdr))) { in ReadBuildID()
308 if (!memory_->ReadFully(gnu_build_id_offset_ + offset, &(name[0]), hdr.n_namesz)) { in ReadBuildID()
324 if (memory_->ReadFully(gnu_build_id_offset_ + offset, &build_id[0], hdr.n_descsz)) { in ReadBuildID()
347 if (memory_->ReadFully(sh_offset, &shdr, sizeof(shdr))) { in ReadSectionHeaders()
356 if (!memory_->ReadFully(offset, &shdr, sizeof(shdr))) { in ReadSectionHeaders()
368 if (!memory_->ReadFully(str_offset, &str_shdr, sizeof(str_shdr))) { in ReadSectionHeaders()
380 if (memory_->ReadString(sec_offset + shdr.sh_name, &name, sec_size - shdr.sh_name)) { in ReadSectionHeaders()
423 if (memory_->ReadString(sec_offset + shdr.sh_name, &name, sec_size - shdr.sh_name) && in ReadSectionHeaders()
453 if (!memory_->ReadFully(offset, &dyn, sizeof(dyn))) { in GetSoname()
478 if (!memory_->ReadString(soname_offset, &soname_, soname_max - soname_offset)) { in GetSoname()
496 if (symbol->template GetName<SymType>(addr, memory_.get(), name, func_offset)) { in GetFunctionName()
511 if (symbol->template GetGlobal<SymType>(memory_.get(), name, memory_address)) { in GetGlobalVariable()