Searched refs:sh_name (Results 1 - 25 of 66) sorted by relevance

123

/freebsd-11-stable/contrib/nvi/ex/
H A Dscript.h18 char sh_name[64]; /* Pty name */ member in struct:_script
/freebsd-11-stable/contrib/elftoolchain/libelf/
H A Dgelf_shdr.c71 d->sh_name = sh32->sh_name;
118 sh32->sh_name = s->sh_name;
/freebsd-11-stable/contrib/binutils/include/elf/
H A Dexternal.h101 unsigned char sh_name[4]; /* Section name, index in string tbl */ member in struct:__anon505
114 unsigned char sh_name[4]; /* Section name, index in string tbl */ member in struct:__anon506
H A Dinternal.h79 unsigned int sh_name; /* Section name, index in string tbl */ member in struct:elf_internal_shdr
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c165 dst->sh_name = src->sh_name;
392 if (shp->sh_name >= sp[shstrndx].sh_size ||
393 lhp->sh_name >= sp[shstrndx].sh_size)
394 continue; /* corrupt sh_name field */
397 strcmp(strs + shp->sh_name, _CTF_SECTION) == 0) {
398 ctfsect.cts_name = strs + shp->sh_name;
406 symsect.cts_name = strs + shp->sh_name;
413 strsect.cts_name = strs + lhp->sh_name;
/freebsd-11-stable/contrib/elftoolchain/elfcopy/
H A Dpe.c127 if ((name = elf_strptr(e, indx, sh.sh_name)) ==
177 strncpy(psh.sh_name, name, sizeof(psh.sh_name));
H A Dsymbols.c296 if ((name = elf_strptr(ecp->ein, indx, sh.sh_name)) == NULL)
368 if ((name = elf_strptr(ecp->ein, indx, sh.sh_name)) == NULL)
443 if ((name = elf_strptr(ecp->ein, ishstrndx, ish.sh_name)) ==
469 if ((name = elf_strptr(ecp->ein, ishstrndx, ish.sh_name)) ==
/freebsd-11-stable/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_elf_access.c58 ret_section->name = elf_strptr(e->eo_elf, e->eo_strndx, sh->sh_name);
H A Dlibdwarf_elf_init.c266 if ((name = elf_strptr(elf, e->eo_strndx, sh.sh_name)) ==
324 if ((name = elf_strptr(elf, e->eo_strndx, sh.sh_name)) ==
/freebsd-11-stable/contrib/elftoolchain/libpe/
H A Dlibpe_section.c123 memcpy(sh->sh_name, tmp, sizeof(sh->sh_name));
442 memcpy(tmp, sh->sh_name, sizeof(sh->sh_name));
H A Dpe.h283 char sh_name[8]; member in struct:_PE_SecHdr
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c509 sname = elf_strptr(src, sehdr.e_shstrndx, shdr1.sh_name);
512 shdr1.sh_name);
571 sname = elf_strptr(src, sehdr.e_shstrndx, shdr.sh_name);
574 shdr.sh_name);
669 shdr.sh_name = ctfnameoff;
H A Dutil.c83 (size_t)shdr.sh_name)) == NULL) {
/freebsd-11-stable/sys/sys/
H A Delf64.h98 Elf64_Word sh_name; /* Section name (index into the member in struct:__anon8485
H A Delf32.h89 Elf32_Word sh_name; /* Section name (index into the member in struct:__anon8467
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h160 elf_word sh_name; ///< Section name string index. member in struct:elf::ELFSectionHeader
H A DELFHeader.cpp226 // Read sh_name and sh_type.
227 if (data.GetU32(offset, &sh_name, 2) == nullptr)
/freebsd-11-stable/contrib/file/src/
H A Dreadelf.h207 Elf32_Word sh_name; member in struct:__anon38
220 Elf64_Word sh_name; member in struct:__anon39
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c554 shp->sh_name = 1; /* DTRACE_SHSTRTAB32[1] = ".shstrtab" */
562 shp->sh_name = 11; /* DTRACE_SHSTRTAB32[11] = ".SUNW_dof" */
571 shp->sh_name = 21; /* DTRACE_SHSTRTAB32[21] = ".strtab" */
580 shp->sh_name = 29; /* DTRACE_SHSTRTAB32[29] = ".symtab" */
602 shp->sh_name = 37; /* DTRACE_SHSTRTAB32[37] = ".rel.SUNW_dof" */
700 shp->sh_name = 1; /* DTRACE_SHSTRTAB64[1] = ".shstrtab" */
708 shp->sh_name = 11; /* DTRACE_SHSTRTAB64[11] = ".SUNW_dof" */
717 shp->sh_name = 21; /* DTRACE_SHSTRTAB64[21] = ".strtab" */
726 shp->sh_name = 29; /* DTRACE_SHSTRTAB64[29] = ".symtab" */
748 shp->sh_name
[all...]
/freebsd-11-stable/sys/dev/ksyms/
H A Dksyms.c314 hdr->kh_shdr[SHDR_SYMTAB].sh_name = 1; /* String offset (skip null) */
326 hdr->kh_shdr[SHDR_STRTAB].sh_name = 1 + sizeof(STR_SYMTAB);
339 hdr->kh_shdr[SHDR_SHSTRTAB].sh_name = 1 + sizeof(STR_SYMTAB) +
/freebsd-11-stable/sys/kern/
H A Dkern_ctf.c177 if (strcmp(".SUNW_ctf", shstrtab + shdr[i].sh_name) == 0)
/freebsd-11-stable/stand/common/
H A Dload_elf.c178 CONVERT_FIELD(b, sh_name, e); \
623 if (strcmp(shstr + shdr[i].sh_name,
946 if (strcmp(&shstrtab[shdr[i].sh_name],
950 if ((strcmp(&shstrtab[shdr[i].sh_name], ".data") == 0) ||
951 (strcmp(&shstrtab[shdr[i].sh_name], ".rodata") == 0)) {
H A Dload_elf_obj.c446 if (shdr[i].sh_name == 0)
448 p = strdupout(shstrtab + shdr[i].sh_name);
/freebsd-11-stable/contrib/binutils/bfd/
H A Delf.c315 (shindex == shstrndx && strindex == hdr->sh_name
317 : bfd_elf_string_from_elf_section (abfd, shstrndx, hdr->sh_name)));
447 iname = elf_elfsections (abfd)[isym->st_shndx]->sh_name;
761 idx->shdr->sh_name),
1004 if (!strcmp (&shstrtab[i_shdrp[i]->sh_name], name))
1855 hdr->sh_name);
2744 rel_hdr->sh_name =
2747 if (rel_hdr->sh_name == (unsigned int) -1)
2781 this_hdr->sh_name = (unsigned int) _bfd_elf_strtab_add (elf_shstrtab (abfd),
2783 if (this_hdr->sh_name
[all...]
/freebsd-11-stable/usr.sbin/kldxref/
H A Def_obj.c547 if (ef->shstrtab && shdr[i].sh_name != 0)
549 ef->shstrtab + shdr[i].sh_name;

Completed in 369 milliseconds

123