Searched defs:symhdr (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/tools/chk4ubin/
H A Dchk4ubin.c131 GElf_Shdr symhdr; local
159 gelf_getshdr(symscn, &symhdr);
160 switch (symhdr.sh_type) {
163 symtab_size = symhdr.sh_size;
164 strscn = elf_getscn(elf, symhdr.sh_link);
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dnlist.c146 Elf32_Shdr *symhdr; /* section table entry for symtab */ local
186 symhdr = (Elf32_Shdr *)secdata->d_buf;
187 for (i = 0; i < (Elf32_Word)ehdr->e_shnum; i++, symhdr++)
188 if (symhdr->sh_type == SHT_SYMTAB)
191 if ((symhdr->sh_type != SHT_SYMTAB) ||
192 (symhdr->sh_link >= ehdr->e_shnum)) {
200 if ((symdata = elf_read(fd, (long)symhdr->sh_offset,
201 (size_t)symhdr->sh_size,
202 (size_t)((symhdr->sh_size / symhdr
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dksyms_snapshot.c84 Shdr *symhdr = base; local
85 Shdr *strhdr = symhdr + symhdr->sh_link;
86 size_t symsize = symhdr->sh_entsize;
87 size_t nsyms = symhdr->sh_size / symsize;
92 Sym *sym = (Sym *)(symhdr->sh_addr + i * symsize);
/illumos-gate/usr/src/uts/common/sys/
H A Dkobj.h60 Shdr *symhdr, *strhdr; member in struct:module
/illumos-gate/usr/src/uts/intel/dtrace/
H A Dfbt.c154 Shdr *symhdr = mp->symhdr; local
186 if (str == NULL || symhdr == NULL || symhdr->sh_addr == NULL) {
194 symsize = symhdr->sh_entsize;
206 Sym *sym = (Sym *)(symhdr->sh_addr + i * symsize);
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_kvm.c123 Shdr symhdr, strhdr; local
177 if (kmod.symspace == NULL || kmod.symhdr == NULL ||
187 if (mdb_tgt_vread(t, &symhdr, sizeof (Shdr),
188 (uintptr_t)kmod.symhdr) == -1) {
211 kmod.symsize = symhdr.sh_size + strhdr.sh_size;
220 kmod.strings = kmod.symspace + symhdr.sh_size;
243 km->km_symtab_hdr = symhdr;
H A Dmdb_ctf.c1674 Shdr *symhdr, const void *str_va, Shdr *strhdr, int *errp)
1687 symtab.cts_type = symhdr->sh_type;
1688 symtab.cts_flags = symhdr->sh_flags;
1690 symtab.cts_size = symhdr->sh_size;
1691 symtab.cts_entsize = symhdr->sh_entsize;
1692 symtab.cts_offset = symhdr->sh_offset;
1673 mdb_ctf_bufopen(const void *ctf_va, size_t ctf_size, const void *sym_va, Shdr *symhdr, const void *str_va, Shdr *strhdr, int *errp) argument
/illumos-gate/usr/src/uts/sparc/dtrace/
H A Dfbt.c1004 Shdr *symhdr = mp->symhdr; local
1043 if (str == NULL || symhdr == NULL || symhdr->sh_addr == NULL) {
1051 symsize = symhdr->sh_entsize;
1092 Sym *sym = (Sym *)(symhdr->sh_addr + i * symsize);

Completed in 63 milliseconds