| /src/external/bsd/elftoolchain/dist/libelf/ |
| libelf_ehdr.c | 51 _libelf_load_extended(Elf *e, unsigned int ec, uint64_t shoff, uint16_t phnum, 64 if (shoff + fsz < shoff) { /* Numeric overflow. */ 69 if ((uint64_t) e->e_rawsize < shoff + fsz) { 80 (unsigned char *) e->e_rawfile + shoff, (size_t) 1, 121 uint64_t shoff; local 191 shoff = ((Elf32_Ehdr *) ehdr)->e_shoff; 196 shoff = ((Elf64_Ehdr *) ehdr)->e_shoff; 201 (shoff == 0LL && (shnum != 0 || phnum == PN_XNUM || 211 if ((shnum == 0 && shoff != 0) || phnum == PN_XNUM || strndx == SHN_XINDEX) [all...] |
| elf_scn.c | 58 uint64_t shoff; local 72 if (shoff > (uintmax_t) e->e_rawsize || \ 75 fsz * shnum > rawsize - shoff) { \ 89 shoff = (uint64_t) eh32->e_shoff; 93 shoff = eh64->e_shoff; 101 src = e->e_rawfile + shoff;
|
| elf_update.c | 526 off_t rc, phoff, shoff; local 550 shoff = (off_t) eh32->e_shoff; 556 shoff = (off_t) eh64->e_shoff; 560 if (phoff < 0 || shoff < 0) { 684 if (shoff % (off_t) align) { 689 shoff = roundup(rc, (off_t) align); 691 if (shoff + (off_t) fsz > rc) 692 rc = shoff + (off_t) fsz; 695 (uint64_t) shoff, fsz, NULL)) 698 shoff = 0 969 uint64_t shoff; local [all...] |
| /src/sys/arch/i386/stand/lib/ |
| exec_multiboot2.c | 986 uint64_t shnum, shentsize, shstrndx, shoff; local 1008 shoff = ehdr32->e_shoff; 1015 shoff = ehdr64->e_shoff; 1027 char *shdr = (char *)mbp->mbp_marks[MARK_SYM] + shoff;
|
| /src/external/gpl3/binutils/dist/libiberty/ |
| simple-object-elf.c | 388 ulong_type shoff; member in struct:simple_object_elf_read 494 eor->shoff = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, 502 && eor->shoff != 0) 508 if (!simple_object_internal_read (descriptor, offset + eor->shoff, shdr, 597 sobj->offset + eor->shoff + shdr_size, 1128 sobj->offset + eor->shoff + shdr_size,
|
| /src/external/gpl3/binutils.old/dist/libiberty/ |
| simple-object-elf.c | 388 ulong_type shoff; member in struct:simple_object_elf_read 494 eor->shoff = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, 502 && eor->shoff != 0) 508 if (!simple_object_internal_read (descriptor, offset + eor->shoff, shdr, 597 sobj->offset + eor->shoff + shdr_size, 1128 sobj->offset + eor->shoff + shdr_size,
|
| /src/external/gpl3/gcc/dist/libiberty/ |
| simple-object-elf.c | 388 ulong_type shoff; member in struct:simple_object_elf_read 494 eor->shoff = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, 502 && eor->shoff != 0) 508 if (!simple_object_internal_read (descriptor, offset + eor->shoff, shdr, 597 sobj->offset + eor->shoff + shdr_size, 1128 sobj->offset + eor->shoff + shdr_size,
|
| /src/external/gpl3/gcc.old/dist/libiberty/ |
| simple-object-elf.c | 388 ulong_type shoff; member in struct:simple_object_elf_read 494 eor->shoff = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, 502 && eor->shoff != 0) 508 if (!simple_object_internal_read (descriptor, offset + eor->shoff, shdr, 597 sobj->offset + eor->shoff + shdr_size, 1128 sobj->offset + eor->shoff + shdr_size,
|
| /src/external/gpl3/gdb.old/dist/libiberty/ |
| simple-object-elf.c | 388 ulong_type shoff; member in struct:simple_object_elf_read 494 eor->shoff = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, 502 && eor->shoff != 0) 508 if (!simple_object_internal_read (descriptor, offset + eor->shoff, shdr, 597 sobj->offset + eor->shoff + shdr_size, 1128 sobj->offset + eor->shoff + shdr_size,
|
| /src/external/gpl3/gdb/dist/libiberty/ |
| simple-object-elf.c | 388 ulong_type shoff; member in struct:simple_object_elf_read 494 eor->shoff = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, 502 && eor->shoff != 0) 508 if (!simple_object_internal_read (descriptor, offset + eor->shoff, shdr, 597 sobj->offset + eor->shoff + shdr_size, 1128 sobj->offset + eor->shoff + shdr_size,
|
| /src/external/gpl3/gcc/dist/gcc/cp/ |
| module.cc | 1237 uint32_t shoff; /* Section Header Offset in file */ member in struct:elf::header 1827 if (!h->shoff || h->shentsize != sizeof (section)) 1839 if (!read (§ab, h->shoff, sizeof (section))) 1854 if (!read (§ab, h->shoff, shnum * sizeof (section))) 1871 sectab.pos = h->shoff; 2236 unsigned shoff = write (sectab); local 2267 h->shoff = shoff;
|
| /src/external/gpl3/gcc.old/dist/gcc/cp/ |
| module.cc | 1201 uint32_t shoff; /* Section Header Offset in file */ member in struct:elf::header 1791 if (!h->shoff || h->shentsize != sizeof (section)) 1803 if (!read (§ab, h->shoff, sizeof (section))) 1818 if (!read (§ab, h->shoff, shnum * sizeof (section))) 1835 sectab.pos = h->shoff; 2191 unsigned shoff = write (sectab); local 2222 h->shoff = shoff;
|
| /src/external/gpl3/gcc/dist/libbacktrace/ |
| elf.c | 6517 off_t shoff; local 6643 shoff = ehdr.e_shoff; 6648 && shoff != 0) 6653 if (!elf_get_view (state, descriptor, memory, memory_size, shoff, 6693 shoff + sizeof (b_elf_shdr),
|
| /src/external/gpl3/gcc.old/dist/libbacktrace/ |
| elf.c | 3994 off_t shoff; local 4118 shoff = ehdr.e_shoff; 4123 && shoff != 0) 4128 if (!elf_get_view (state, descriptor, memory, memory_size, shoff, 4168 shoff + sizeof (b_elf_shdr),
|
| /src/external/gpl3/gdb/dist/libbacktrace/ |
| elf.c | 6517 off_t shoff; local 6643 shoff = ehdr.e_shoff; 6648 && shoff != 0) 6653 if (!elf_get_view (state, descriptor, memory, memory_size, shoff, 6693 shoff + sizeof (b_elf_shdr),
|
| /src/external/gpl3/gdb.old/dist/libbacktrace/ |
| elf.c | 6517 off_t shoff; local 6643 shoff = ehdr.e_shoff; 6648 && shoff != 0) 6653 if (!elf_get_view (state, descriptor, memory, memory_size, shoff, 6693 shoff + sizeof (b_elf_shdr),
|