Lines Matching refs:elf_reader
590 ElfReader& elf_reader = get_elf_reader(); in read() local
591 return elf_reader.Read(realpath, fd_, file_offset_, file_size); in read()
595 ElfReader& elf_reader = get_elf_reader(); in load() local
596 if (!elf_reader.Load(address_space)) { in load()
600 si_->base = elf_reader.load_start(); in load()
601 si_->size = elf_reader.load_size(); in load()
602 si_->set_mapped_by_caller(elf_reader.is_mapped_by_caller()); in load()
603 si_->load_bias = elf_reader.load_bias(); in load()
604 si_->phnum = elf_reader.phdr_count(); in load()
605 si_->phdr = elf_reader.loaded_phdr(); in load()
606 si_->set_gap_start(elf_reader.gap_start()); in load()
607 si_->set_gap_size(elf_reader.gap_size()); in load()
1066 static void for_each_dt_needed(const ElfReader& elf_reader, F action) { in for_each_dt_needed() argument
1067 for (const ElfW(Dyn)* d = elf_reader.dynamic(); d->d_tag != DT_NULL; ++d) { in for_each_dt_needed()
1069 action(fix_dt_needed(elf_reader.get_string(d->d_un.d_val), elf_reader.name())); in for_each_dt_needed()
1249 const ElfReader& elf_reader = task->get_elf_reader(); in load_library() local
1250 for (const ElfW(Dyn)* d = elf_reader.dynamic(); d->d_tag != DT_NULL; ++d) { in load_library()
1252 si->set_dt_runpath(elf_reader.get_string(d->d_un.d_val)); in load_library()
1255 si->set_soname(elf_reader.get_string(d->d_un.d_val)); in load_library()