Searched refs:elf_reader (Results 1 – 2 of 2) sorted by relevance
285 ElfReader elf_reader; in load_executable() local286 if (!elf_reader.Read(result.path.c_str(), fd.get(), file_offset, result.file_stat.st_size)) { in load_executable()290 if (!elf_reader.Load(&address_space)) { in load_executable()294 result.phdr = elf_reader.loaded_phdr(); in load_executable()295 result.phdr_count = elf_reader.phdr_count(); in load_executable()296 result.entry_point = elf_reader.entry_point(); in load_executable()
590 ElfReader& elf_reader = get_elf_reader(); in read() local591 return elf_reader.Read(realpath, fd_, file_offset_, file_size); in read()595 ElfReader& elf_reader = get_elf_reader(); in load() local596 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()[all …]