Home
last modified time | relevance | path

Searched refs:elf_reader (Results 1 – 2 of 2) sorted by relevance

/bionic/linker/
Dlinker_main.cpp280 ElfReader elf_reader; in load_executable() local
281 if (!elf_reader.Read(result.path.c_str(), fd.get(), file_offset, result.file_stat.st_size)) { in load_executable()
285 if (!elf_reader.Load(&address_space)) { in load_executable()
289 result.phdr = elf_reader.loaded_phdr(); in load_executable()
290 result.phdr_count = elf_reader.phdr_count(); in load_executable()
291 result.entry_point = elf_reader.entry_point(); in load_executable()
Dlinker.cpp695 ElfReader& elf_reader = get_elf_reader(); in read() local
696 return elf_reader.Read(realpath, fd_, file_offset_, file_size); in read()
700 ElfReader& elf_reader = get_elf_reader(); in load() local
701 if (!elf_reader.Load(address_space)) { in load()
705 si_->base = elf_reader.load_start(); in load()
706 si_->size = elf_reader.load_size(); in load()
707 si_->set_mapped_by_caller(elf_reader.is_mapped_by_caller()); in load()
708 si_->load_bias = elf_reader.load_bias(); in load()
709 si_->phnum = elf_reader.phdr_count(); in load()
710 si_->phdr = elf_reader.loaded_phdr(); in load()
[all …]