Symbol: Elf_Shdr
games/hangman/ksyms.c
115
Elf_Shdr sh;
lib/libc/gen/nlist.c
80
if (ehdr->e_shentsize != sizeof(Elf_Shdr))
lib/libc/gen/nlist.c
97
Elf_Shdr *shdr = NULL;
sys/arch/amd64/amd64/kexec.c
126
sh = mallocarray(eh.e_shnum, sizeof(Elf_Shdr), M_TEMP, M_NOWAIT);
sys/arch/amd64/amd64/kexec.c
131
shsize = eh.e_shnum * sizeof(Elf_Shdr);
sys/arch/amd64/amd64/kexec.c
95
Elf_Shdr *sh = NULL, *shp;
sys/arch/armv7/stand/efiboot/exec.c
140
Elf_Shdr *shp = (Elf_Shdr *)(marks[MARK_SYM] + elf->e_shoff);
sys/arch/octeon/dev/octboot.c
144
sh = mallocarray(eh.e_shnum, sizeof(Elf_Shdr), M_TEMP, M_NOWAIT);
sys/arch/octeon/dev/octboot.c
149
shsize = eh.e_shnum * sizeof(Elf_Shdr);
sys/arch/octeon/dev/octboot.c
95
Elf_Shdr *sh = NULL;
sys/arch/powerpc64/dev/kexec.c
124
sh = mallocarray(eh.e_shnum, sizeof(Elf_Shdr), M_TEMP, M_NOWAIT);
sys/arch/powerpc64/dev/kexec.c
129
shsize = eh.e_shnum * sizeof(Elf_Shdr);
sys/arch/powerpc64/dev/kexec.c
93
Elf_Shdr *sh = NULL, *shp;
sys/arch/sparc64/stand/ofwboot/elf64_exec.c
192
size = sizeof(Elf_Ehdr) + (elf->e_shnum * sizeof(Elf_Shdr));
sys/arch/sparc64/stand/ofwboot/elf64_exec.c
193
shp = addr = alloc(elf->e_shnum * sizeof(Elf_Shdr));
sys/arch/sparc64/stand/ofwboot/elf64_exec.c
195
if (read(fd, addr, (size_t)(elf->e_shnum * sizeof(Elf_Shdr))) !=
sys/arch/sparc64/stand/ofwboot/elf64_exec.c
196
elf->e_shnum * sizeof(Elf_Shdr)) {
sys/arch/sparc64/stand/ofwboot/elf64_exec.c
239
bcopy(shp, addr + sizeof(Elf_Ehdr), elf->e_shnum * sizeof(Elf_Shdr));
sys/arch/sparc64/stand/ofwboot/elf64_exec.c
240
free(shp, elf->e_shnum * sizeof(Elf_Shdr));
sys/arch/sparc64/stand/ofwboot/elf64_exec.c
247
size = sizeof(Elf_Ehdr) + (elf->e_shnum * sizeof(Elf_Shdr));
sys/arch/sparc64/stand/ofwboot/elf64_exec.c
79
Elf_Shdr *shp;
sys/ddb/db_dwarf.c
479
if (ehdr.e_shentsize < sizeof(Elf_Shdr))
sys/ddb/db_dwarf.c
487
Elf_Shdr shdr;
sys/ddb/db_elf.c
114
shp = (Elf_Shdr *)((char *)symtab + elf->e_shoff);
sys/ddb/db_elf.c
192
Elf_Shdr *shp = STAB_TO_SHDR(stab, elf);
sys/ddb/db_elf.c
216
Elf_Shdr *shp = STAB_TO_SHDR(stab, elf);
sys/ddb/db_elf.c
63
Elf_Shdr *shp;
sys/ddb/db_elf.h
45
#define STAB_TO_SHDR(stab, e) ((Elf_Shdr *)((stab)->private + (e)->e_shoff))
sys/dev/ksyms.c
77
Elf_Shdr *shdr;
sys/dev/ksyms.c
86
shdr = (Elf_Shdr *)&symtab[elf->e_shoff];
sys/kern/exec_elf.c
1259
Elf_Shdr shdr;
sys/kern/exec_elf.c
1265
.sh_offset = sizeof(Elf_Ehdr) + 2*sizeof(Elf_Shdr),
sys/kern/exec_elf.c
1317
ehdr.e_shentsize = sizeof(Elf_Shdr);
sys/kern/exec_elf.c
1333
Elf_Shdr shdr = { .sh_info = ws->npsections };
sys/lib/libsa/loadfile_elf.c
194
sz = elf->e_shnum * sizeof(Elf_Shdr);
sys/lib/libsa/loadfile_elf.c
75
Elf_Shdr *shp;
usr.bin/ctfconv/elf.c
119
Elf_Shdr *sh, *symsh;
usr.bin/ctfconv/elf.c
131
sh = (Elf_Shdr *)(p + shoff);
usr.bin/ctfconv/elf.c
165
sh = (Elf_Shdr *)(p + shoff);
usr.bin/ctfconv/elf.c
182
Elf_Shdr *sh;
usr.bin/ctfconv/elf.c
197
sh = (Elf_Shdr *)(p + shoff);
usr.bin/ctfconv/elf.c
267
Elf_Shdr *sh;
usr.bin/ctfconv/elf.c
291
sh = (Elf_Shdr *)(p + shoff);
usr.bin/ctfconv/elf.c
62
if (eh->e_shentsize < sizeof(Elf_Shdr)) {
usr.bin/ctfconv/elf.c
83
Elf_Shdr *sh;
usr.bin/ctfconv/elf.c
92
sh = (Elf_Shdr *)(p + shoff);
usr.bin/gprof/elf.c
55
const Elf_Shdr *shdrs;
usr.bin/gprof/elf.c
56
const Elf_Shdr *sh_symtab;
usr.bin/gprof/elf.c
57
const Elf_Shdr *sh_strtab;
usr.bin/gprof/elf.c
79
h.e_shoff + (off_t)h.e_shnum * sizeof(Elf_Shdr) > s.st_size)
usr.bin/gprof/elf.c
81
shdrs = (const Elf_Shdr *)(base + h.e_shoff);
usr.bin/nm/elf.c
116
static int elf_fix_shdrs(Elf_Ehdr *, Elf_Shdr *);
usr.bin/nm/elf.c
119
static int elf2nlist(Elf_Sym *, Elf_Ehdr *, Elf_Shdr *, char *_shstr,
usr.bin/nm/elf.c
122
Elf_Shdr *, char *_shstr, long _shstrsize, struct xnlist **_pnames,
usr.bin/nm/elf.c
150
Elf_Shdr *
usr.bin/nm/elf.c
153
Elf_Shdr *shdr;
usr.bin/nm/elf.c
167
if (head->e_shentsize < sizeof(Elf_Shdr)) {
usr.bin/nm/elf.c
194
elf_fix_shdrs(Elf_Ehdr *eh, Elf_Shdr *shdr)
usr.bin/nm/elf.c
309
elf2nlist(Elf_Sym *sym, Elf_Ehdr *eh, Elf_Shdr *shdr, char *shstr,
usr.bin/nm/elf.c
398
elf_size(Elf_Ehdr *head, Elf_Shdr *shdr,
usr.bin/nm/elf.c
422
Elf_Shdr *shdr, char *shstr, long shstrsize, struct xnlist **pnames,
usr.bin/nm/elf.c
511
Elf_Shdr *shdr, struct xnlist **pnames, struct xnlist ***psnames,
usr.sbin/config/exec_elf.c
122
elf_shdr = (Elf_Shdr *)&elf_total[elf_ex.e_shoff];
usr.sbin/config/exec_elf.c
46
Elf_Shdr *elf_shdr;
usr.sbin/config/exec_elf.c
55
Elf_Shdr *s;
usr.sbin/config/exec_elf.c
78
Elf_Shdr *s;
usr.sbin/crunchgen/elf_hide.c
157
Elf_Shdr *pshdr;
usr.sbin/crunchgen/elf_hide.c
161
pshdr = (Elf_Shdr *) (pexe + pehdr->e_shoff +
usr.sbin/crunchgen/elf_hide.c
184
Elf_Shdr *symsect;
usr.sbin/crunchgen/elf_hide.c
186
Elf_Shdr *psymshdr;
usr.sbin/crunchgen/elf_hide.c
187
Elf_Shdr *pshdr;
usr.sbin/crunchgen/elf_hide.c
195
pshdr = (Elf_Shdr *) (pexe + pehdr->e_shoff +
usr.sbin/crunchgen/elf_hide.c
199
psymshdr = (Elf_Shdr *) (pexe + pehdr->e_shoff +
usr.sbin/crunchgen/elf_hide.c
218
dump_symtab(Elf_Shdr * symsect, Elf_Sym * symtab, int symtabsize)
usr.sbin/crunchgen/elf_hide.c
244
Elf_Shdr *pshdr = NULL;
usr.sbin/crunchgen/elf_hide.c
249
pshdr = (Elf_Shdr *) (pexe + pehdr->e_shoff +
usr.sbin/crunchgen/elf_hide.c
305
hide_sym(Elf_Ehdr * ehdr, Elf_Shdr * symsect,
usr.sbin/crunchgen/elf_hide.c
340
reorder_syms(Elf_Ehdr * ehdr, Elf_Shdr * symsect,
usr.sbin/crunchgen/elf_hide.c
398
Elf_Shdr *pshdr;
usr.sbin/crunchgen/elf_hide.c
406
pshdr = (Elf_Shdr *) (pexe + ehdr->e_shoff +
usr.sbin/crunchgen/elf_hide.c
50
void dump_symtab(Elf_Shdr * symsect, Elf_Sym * symtab, int symtabsize);
usr.sbin/crunchgen/elf_hide.c
57
void hide_sym(Elf_Ehdr * ehdr, Elf_Shdr * symsect,
usr.sbin/crunchgen/elf_hide.c
59
void reorder_syms(Elf_Ehdr * ehdr, Elf_Shdr * symsect,
usr.sbin/crunchgen/elf_hide.c
74
Elf_Shdr *pshdr;
usr.sbin/installboot/i386_nlist.c
104
Elf_Shdr *shdr = NULL;
usr.sbin/installboot/i386_nlist.c
126
shdr = (Elf_Shdr *)mmap(NULL, (size_t)shdr_size, PROT_READ,
usr.sbin/kvm_mkdb/nlist.c
72
Elf_Shdr *sh = NULL;
usr.sbin/kvm_mkdb/nlist.c
88
sh = calloc(sizeof(Elf_Shdr), eh.e_shnum);
usr.sbin/kvm_mkdb/nlist.c
91
sizeof(Elf_Shdr) * eh.e_shnum);
usr.sbin/kvm_mkdb/nlist.c
99
if (fread(sh, sizeof(Elf_Shdr) * eh.e_shnum, 1, fp) != 1) {
usr.sbin/mkuboot/copy_elf.c
56
Elf_Shdr *shp, *wshp;
usr.sbin/mkuboot/copy_elf.c
71
sz = letoh16(elf.e_shnum) * sizeof(Elf_Shdr);