/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | getshnum.c | 59 if (ehdr.e_shnum > 0) { 60 *shnum = ehdr.e_shnum; 63 if ((ehdr.e_shnum == 0) && (ehdr.e_shoff == 0)) {
|
H A D | newscn.c | 82 ((Elf32_Ehdr *)elf->ed_ehdr)->e_shnum 112 ((Elf64_Ehdr *)elf->ed_ehdr)->e_shnum
|
H A D | checksum.c | 132 for (shnum = 1; shnum < ehdr->e_shnum; shnum++) {
|
H A D | update.c | 195 * is used to hold an alternative e_shnum, e_shstrndx and e_phnum. 197 * would have been zeroed. The e_shnum is initialized later, after the 203 eh->e_shnum = 0; 306 * e_shnum is stored in the sh_size field of the 309 * NOTE: we set e_shnum to '0' because it's specified 315 eh->e_shnum = scncnt; 320 eh->e_shnum = 0; 388 eh->e_shnum = 0; 432 eh->e_shnum = scncnt; 437 eh->e_shnum [all...] |
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | load_elf_obj.c | 126 if (hdr->e_shnum * hdr->e_shentsize == 0 || hdr->e_shoff == 0 || 202 shdrbytes = hdr->e_shnum * hdr->e_shentsize; 216 for (i = 0; i < hdr->e_shnum; i++) 218 for (i = 0; i < hdr->e_shnum; i++) { 233 for (i = 0; i < hdr->e_shnum; i++) { 253 if (symstrindex < 0 || symstrindex >= hdr->e_shnum || 264 if (hdr->e_shstrndx == 0 || hdr->e_shstrndx >= hdr->e_shnum || 276 for (i = 0; i < hdr->e_shnum; i++) { 300 for (i = 0; i < hdr->e_shnum; i++) { 436 for (i = 0; i < hdr->e_shnum; [all...] |
/illumos-gate/usr/src/uts/i86pc/dboot/ |
H A D | dboot_elfload.c | 111 dboot_panic("Failed to get section headers e_shnum = %d", 112 eh->e_shnum); 179 for (i = 0; i < eh->e_shnum; i++) {
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | elf.h | 178 Elf32_Half e_shnum; /* Number of section header entries. */ member in struct:__anon2085 195 Elf64_Half e_shnum; /* Number of section header entries. */ member in struct:__anon2086
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | elf.c | 76 * The e_shnum, e_shstrndx and e_phnum entries may have a different 87 if (ehdr->e_shnum == 0) { 93 ehdr->e_shentsize, ehdr->e_shnum);
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_sym.c | 149 size = h.e_shnum * h.e_shentsize; 160 for (i = 0; i < h.e_shnum; i++) 165 if (i == h.e_shnum || sh[i].sh_size == 0 || 167 sh[i].sh_link < 1 || sh[i].sh_link >= h.e_shnum ||
|
/illumos-gate/usr/src/uts/sparc/krtld/ |
H A D | kobj_isa.c | 111 for (shn = 1; shn < mp->hdr.e_shnum; shn++) {
|
H A D | kobj_reloc.c | 191 for (i = 0; i < mp->hdr.e_shnum; i++, shp++) { 347 for (shn = 1; shn < mp->hdr.e_shnum; shn++) { 362 if (rshp->sh_info >= mp->hdr.e_shnum) {
|
/illumos-gate/usr/src/uts/intel/amd64/krtld/ |
H A D | kobj_isa.c | 95 for (shn = 1; shn < mp->hdr.e_shnum; shn++) {
|
H A D | kobj_reloc.c | 288 for (shn = 1; shn < mp->hdr.e_shnum; shn++) { 303 if (rshp->sh_info >= mp->hdr.e_shnum) {
|
/illumos-gate/usr/src/uts/intel/ia32/krtld/ |
H A D | kobj_isa.c | 95 for (shn = 1; shn < mp->hdr.e_shnum; shn++) {
|
H A D | kobj_reloc.c | 282 for (shn = 1; shn < mp->hdr.e_shnum; shn++) { 297 if (rshp->sh_info >= mp->hdr.e_shnum) {
|
/illumos-gate/usr/src/cmd/mdb/common/modules/krtld/ |
H A D | krtld.c | 163 mdb_printf(" e_shoff: 0x%16lx e_shentsize: %8hu e_shnum: %hu\n", 164 ehdr->e_shoff, ehdr->e_shentsize, ehdr->e_shnum); 248 nbytes = sizeof (Shdr) * mod.hdr.e_shnum; 252 for (i = 0; i < mod.hdr.e_shnum; i++)
|
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | nlist.c | 177 (size_t)(ehdr->e_shentsize * ehdr->e_shnum), 178 (size_t)(ehdr->e_shnum * sizeof (Elf32_Ehdr)), 187 for (i = 0; i < (Elf32_Word)ehdr->e_shnum; i++, symhdr++) 192 (symhdr->sh_link >= ehdr->e_shnum)) {
|
/illumos-gate/usr/src/lib/libtnfctl/ |
H A D | traverse.c | 97 tnf_long, num_sections_found, ehdr->e_shnum); 99 for (idx = 1; idx < ehdr->e_shnum; idx++) {
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcore.c | 1432 b->ehdr.e_shnum = 3; 1498 b->ehdr.e_shnum = 3; 1660 efp->e_hdr.e_shnum = (Elf64_Word)e64.e_shnum; 1680 efp->e_hdr.e_shnum = (Elf64_Word)e32.e_shnum; 1691 if ((efp->e_hdr.e_shnum == 0 && efp->e_hdr.e_shoff != 0) || 1724 if (efp->e_hdr.e_shnum == 0) { 1725 efp->e_hdr.e_shnum = shdr.sh_size; 1774 (uint64_t)efp->e_hdr.e_shnum * ef [all...] |
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_lib.c | 132 dst->e_shnum = src->e_shnum; 278 shnum = hdr.e64.e_shnum;
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | i386-elf.h | 81 Elf32_Half e_shnum; /* number of entries in section header */ member in struct:__anon2184
|
/illumos-gate/usr/src/cmd/sgs/prof/common/ |
H A D | symintOpen.c | 214 pfile_p->pf_elfhd_p->e_shnum);
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | elf32.h | 68 Elf32_Half e_shnum; /* Number of section header entries. */ member in struct:__anon407
|
H A D | elf64.h | 77 Elf64_Half e_shnum; /* Number of section header entries. */ member in struct:__anon424
|
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | ehdr.c | 68 EHDR_CMD_T_E_SHNUM = 13, /* ehdr:e_shnum */ 528 Word num = ehdr->e_shnum; 1070 Half e_shnum; local 1074 e_shnum = 0; 1077 e_shnum = shnum; 1081 if (ehdr->e_shnum == e_shnum) { 1084 EC_WORD(ehdr->e_shnum)); 1088 EC_WORD(ehdr->e_shnum), e_shnum); [all...] |