Lines Matching refs:elf_begin

26 	* elf_begin.c (elf_begin): Check __libelf_version is EV_CURRENT.
70 * elf_begin.c (read_long_names): Make sure ar_size is properly
195 * elf_begin.c (read_unmmaped_file): Likewise.
196 (elf_begin): Likewise.
201 * elf_begin.c (file_read_elf): Skip sanity checking e_shoff if scncnt
211 * elf_begin.c (get_shnum): Likewise. Explicitly set libelf errno on
250 * elf_begin.c: Use F_GETFD rather than F_GETFL.
290 * elf_begin.c (read_file): Always set maxsize when parent == NULL.
304 * elf_begin.c: Remove sys/param.h.
388 * elf_begin.c (file_read_elf): Make a writable copy of the shdrs
451 * elf_begin.c (get_shnum): Elf64_Shdr.sh_size is an Elf64_Xword.
458 * elf_begin.c (elf_begin): Move nested function 'lock_dup_elf'
545 * elf_begin.c (get_shnum): Check alignment of Shdr, not Ehdr before
550 * elf_begin.c (file_read_elf): Split checks for ehdr and shdr
676 * elf_begin.c (__libelf_next_arhdr_wrlock): ar_size cannot be
681 * elf_begin.c (read_long_names): Don't miss '/' right after
690 * elf_begin.c (read_long_names): Make sure long_names len fits
699 * elf_begin.c (read_long_names): Clear any garbage left in the
704 * elf_begin.c (file_read_elf): Correct ELF64 section offset check.
708 * elf_begin.c (read_long_names): Check for offset overflow.
776 * elf_begin.c (__libelf_next_arhdr_wrlock): Use mempcpy not __mempcpy.
780 * elf_begin.c (file_read_elf): Correct sh_size check.
786 * elf_begin (read_unmmaped_file): Call __libelf_seterrno if the
796 * elf_begin.c (read_file): Don't clear use_mmap when _MUDFLAP is
832 * elf_begin.c (get_shnum): Ensure section headers fits into
908 * elf_begin.c (__libelf_next_arhdr_wrlock): Don't reject archive
957 * elf_begin.c (file_read_elf): Don't set .phdr here.
983 * elf_begin.c (file_read_elf): Leave section rawdata_base and
1000 * elf_begin.c (file_read_elf): Always allocate space we can use later
1161 * elf_begin.c
1164 (elf_begin): New local function lock_dup_elf. Relocks the elf if
1185 * elf_begin.c (get_shnum): Avoid misaligned reads for matching endian.
1261 * elf_begin.c (__libelf_next_arhdr): Rewrite conversions using a macro.
1284 * elf_begin.c (file_read_elf): Likewise.
1304 * elf_begin.c (__libelf_next_arhdr): Fix fencepost error and wrong
1378 * elf_begin.c (get_shnum): Fix test for e_shoff being out of bounds.
1395 * elf_begin.c (read_file): When using ELF_C_READ_MMAP use MAP_PRIVATE.
1436 * elf_begin.c: Likewise.
1515 * elf_begin.c: Likewise.
1530 * elf_begin.c (file_read_elf): Avoid reading ELF header from file
1537 * elf_begin.c (__libelf_next_arhdr): Use TEMP_FAILURE_RETRY.
1546 * elf_begin.c (get_shnum): Optimize memory handling. Always read from
1609 * elf_begin.c (read_file) [_MUDFLAP]: Don't use mmap for now.
1637 * elf_begin.c: Likewise.
1663 * elf_begin.c: Likewise.