Lines Matching refs:file_read_elf
98 * elf_begin.c (file_read_elf): Cast ehdr to uintptr_t before e_shoff
250 (file_read_elf): Define offset as int64_t instead of off_t.
496 * elf_begin.c (file_read_elf): Skip sanity checking e_shoff if scncnt
508 (file_read_elf): Make sure to always set libelf errno when returning
683 * elf_begin.c (file_read_elf): Make a writable copy of the shdrs
845 * elf_begin.c (file_read_elf): Split checks for ehdr and shdr
999 * elf_begin.c (file_read_elf): Correct ELF64 section offset check.
1075 * elf_begin.c (file_read_elf): Correct sh_size check.
1129 (file_read_elf): Make sure scncnt is small enough to allocate both
1252 * elf_begin.c (file_read_elf): Don't set .phdr here.
1278 * elf_begin.c (file_read_elf): Leave section rawdata_base and
1295 * elf_begin.c (file_read_elf): Always allocate space we can use later
1579 * elf_begin.c (file_read_elf): Likewise.
1825 * elf_begin.c (file_read_elf): Avoid reading ELF header from file
1844 (file_read_elf): Likewise.