Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_crt_pad_segment_test.cpp65 ElfReader elf_reader; in GetPadSegment() local
66 EXPECT_TRUE(elf_reader.Read(path.c_str(), fd.get(), 0, file_stat.st_size)) in GetPadSegment()
69 return elf_reader.should_pad_segments(); in GetPadSegment()
Dlinker_main.cpp283 ElfReader elf_reader; in load_executable() local
284 if (!elf_reader.Read(result.path.c_str(), fd.get(), file_offset, result.file_stat.st_size)) { in load_executable()
288 if (!elf_reader.Load(&address_space)) { in load_executable()
292 result.phdr = elf_reader.loaded_phdr(); in load_executable()
293 result.phdr_count = elf_reader.phdr_count(); in load_executable()
294 result.entry_point = elf_reader.entry_point(); in load_executable()
295 result.should_pad_segments = elf_reader.should_pad_segments(); in load_executable()
Dlinker.cpp624 ElfReader& elf_reader = get_elf_reader(); in read() local
625 return elf_reader.Read(realpath, fd_, file_offset_, file_size); in read()
629 ElfReader& elf_reader = get_elf_reader(); in load() local
630 if (!elf_reader.Load(address_space)) { in load()
634 si_->base = elf_reader.load_start(); in load()
635 si_->size = elf_reader.load_size(); in load()
636 si_->set_mapped_by_caller(elf_reader.is_mapped_by_caller()); in load()
637 si_->load_bias = elf_reader.load_bias(); in load()
638 si_->phnum = elf_reader.phdr_count(); in load()
639 si_->phdr = elf_reader.loaded_phdr(); in load()
[all …]