Searched refs:ehdr_buf (Results 1 – 2 of 2) sorted by relevance
52 Ehdr ehdr_buf[(READ_ELF_LENGTH + sizeof(Ehdr)) / sizeof(Ehdr)]; member
4515 ssize_t l = pread(task->fd, task->ehdr_buf, sizeof task->ehdr_buf, task->file_offset); in map_library_header()4516 task->eh = task->ehdr_buf; in map_library_header()4526 if (task->phsize > sizeof task->ehdr_buf - sizeof(Ehdr)) { in map_library_header()4543 l = pread(task->fd, task->ehdr_buf + 1, task->phsize, task->eh->e_phoff + task->file_offset); in map_library_header()4552 ph = task->ph0 = (void *)(task->ehdr_buf + 1); in map_library_header()4554 ph = task->ph0 = (void *)((char *)task->ehdr_buf + task->eh->e_phoff); in map_library_header()