Home | History | Annotate | Download | only in libelf

Lines Matching defs:header

92   /* Make the ELF header available.  */
101 /* We already read the ELF header. We have to copy the header
142 /* Get the number of sections from the ELF header. */
149 /* Cannot read the first section header. */
191 /* Get the number of sections from the ELF header. */
198 /* Cannot read the first section header. */
364 /* Copy the ELF header. */
455 /* Copy the ELF header. */
499 header. The header for an ELF file is EI_NIDENT bytes in size,
500 the header for an archive file SARMAG bytes long. */
532 header. The identification header for an ELF file is EI_NIDENT
533 bytes in size, but we read the whole ELF header since we will
534 need it anyway later. For archives the header in SARMAG bytes
544 unsigned char header[MAX (sizeof (Elf64_Ehdr), SARMAG)];
548 ssize_t nread = pread_retry (fildes, mem.header,
561 Elf_Kind kind = determine_kind (mem.header, nread);
569 /* Make sure at least the ELF header is contained in the file. */
570 if ((size_t) nread >= (mem.header[EI_CLASS] == ELFCLASS32
572 return file_read_elf (fildes, NULL, mem.header, offset, maxsize, cmd,
685 /* Read the header from the file. */
768 /* Read the next archive header. */
979 pointing to. First read the header of the next member if this