Home
last modified time | relevance | path

Searched refs:sh_name (Results 1 – 25 of 52) sorted by relevance

123

/freebsd/contrib/elftoolchain/libelf/
H A Dgelf_shdr.c71 d->sh_name = sh32->sh_name; in gelf_getshdr()
118 sh32->sh_name = s->sh_name; in gelf_update_shdr()
H A Delf_types.m4196 ``sh_name, WORD',
209 ``sh_name, WORD',
/freebsd/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c166 dst->sh_name = src->sh_name; in shdr_to_gelf()
394 if (shp->sh_name >= sp[shstrndx].sh_size || in ctf_fdopen()
395 lhp->sh_name >= sp[shstrndx].sh_size) in ctf_fdopen()
399 strcmp(strs + shp->sh_name, _CTF_SECTION) == 0) { in ctf_fdopen()
400 ctfsect.cts_name = strs + shp->sh_name; in ctf_fdopen()
408 symsect.cts_name = strs + shp->sh_name; in ctf_fdopen()
415 strsect.cts_name = strs + lhp->sh_name; in ctf_fdopen()
/freebsd/contrib/elftoolchain/elfcopy/
H A Dpe.c127 if ((name = elf_strptr(e, indx, sh.sh_name)) == in create_pe()
177 strncpy(psh.sh_name, name, sizeof(psh.sh_name)); in create_pe()
H A Dsymbols.c296 if ((name = elf_strptr(ecp->ein, indx, sh.sh_name)) == NULL) in mark_reloc_symbols()
368 if ((name = elf_strptr(ecp->ein, indx, sh.sh_name)) == NULL) in mark_section_group_symbols()
443 if ((name = elf_strptr(ecp->ein, ishstrndx, ish.sh_name)) == in generate_symbols()
469 if ((name = elf_strptr(ecp->ein, ishstrndx, ish.sh_name)) == in generate_symbols()
/freebsd/contrib/elftoolchain/libpe/
H A Dlibpe_section.c123 memcpy(sh->sh_name, tmp, sizeof(sh->sh_name)); in libpe_parse_section_headers()
442 memcpy(tmp, sh->sh_name, sizeof(sh->sh_name)); in libpe_write_section_headers()
H A Dpe.h283 char sh_name[8]; member
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c508 sname = elf_strptr(src, sehdr.e_shstrndx, shdr1.sh_name); in write_file()
511 shdr1.sh_name); in write_file()
569 sname = elf_strptr(src, sehdr.e_shstrndx, shdr.sh_name); in write_file()
572 shdr.sh_name); in write_file()
667 shdr.sh_name = ctfnameoff; in write_file()
H A Dutil.c84 (size_t)shdr.sh_name)) == NULL) { in findelfsecidx()
/freebsd/contrib/nvi/ex/
H A Dscript.h16 char sh_name[64]; /* Pty name */ member
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c536 shp->sh_name = 1; /* DTRACE_SHSTRTAB32[1] = ".shstrtab" */ in dump_elf32()
544 shp->sh_name = 11; /* DTRACE_SHSTRTAB32[11] = ".SUNW_dof" */ in dump_elf32()
553 shp->sh_name = 21; /* DTRACE_SHSTRTAB32[21] = ".strtab" */ in dump_elf32()
562 shp->sh_name = 29; /* DTRACE_SHSTRTAB32[29] = ".symtab" */ in dump_elf32()
584 shp->sh_name = 37; /* DTRACE_SHSTRTAB32[37] = ".rel.SUNW_dof" */ in dump_elf32()
693 shp->sh_name = 1; /* DTRACE_SHSTRTAB64[1] = ".shstrtab" */ in dump_elf64()
701 shp->sh_name = 11; /* DTRACE_SHSTRTAB64[11] = ".SUNW_dof" */ in dump_elf64()
710 shp->sh_name = 21; /* DTRACE_SHSTRTAB64[21] = ".strtab" */ in dump_elf64()
719 shp->sh_name = 29; /* DTRACE_SHSTRTAB64[29] = ".symtab" */ in dump_elf64()
741 shp->sh_name = 37; /* DTRACE_SHSTRTAB64[37] = ".rel.SUNW_dof" */ in dump_elf64()
/freebsd/contrib/file/src/
H A Dreadelf.h207 Elf32_Word sh_name; member
220 Elf64_Word sh_name; member
/freebsd/sys/dev/ksyms/
H A Dksyms.c324 hdr->kh_shdr[SHDR_SYMTAB].sh_name = 1; /* String offset (skip null) */ in ksyms_snapshot()
336 hdr->kh_shdr[SHDR_STRTAB].sh_name = 1 + sizeof(STR_SYMTAB); in ksyms_snapshot()
349 hdr->kh_shdr[SHDR_SHSTRTAB].sh_name = 1 + sizeof(STR_SYMTAB) + in ksyms_snapshot()
/freebsd/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_elf_access.c58 ret_section->name = elf_strptr(e->eo_elf, e->eo_strndx, sh->sh_name); in _dwarf_elf_get_section_info()
H A Dlibdwarf_elf_init.c319 if ((name = elf_strptr(elf, e->eo_strndx, sh.sh_name)) == in _dwarf_elf_init()
375 if ((name = elf_strptr(elf, e->eo_strndx, sh.sh_name)) == in _dwarf_elf_init()
/freebsd/sys/sys/
H A Delf32.h89 Elf32_Word sh_name; /* Section name (index into the member
H A Delf64.h98 Elf64_Word sh_name; /* Section name (index into the member
/freebsd/stand/common/
H A Dload_elf.c182 CONVERT_FIELD(b, sh_name, e); \ in elf_section_header_convert()
732 if (strcmp(shstr + shdr[i].sh_name,
1033 if (strcmp(&shstrtab[shdr[i].sh_name],
1037 if ((strcmp(&shstrtab[shdr[i].sh_name], ".data") == 0) ||
1038 (strcmp(&shstrtab[shdr[i].sh_name], ".rodata") == 0)) {
H A Dload_elf_obj.c483 if (shdr[i].sh_name == 0) in __elfN()
485 p = strdupout(shstrtab + shdr[i].sh_name); in __elfN()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h160 elf_word sh_name; ///< Section name string index. member
H A DELFHeader.cpp233 if (data.GetU32(offset, &sh_name, 2) == nullptr) in Parse()
/freebsd/lib/libkldelf/
H A Def_obj.c402 if (ef->shstrtab && shdr[i].sh_name != 0) in ef_obj_open()
404 ef->shstrtab + shdr[i].sh_name; in ef_obj_open()
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/
H A DELFObjHandler.cpp296 StrTab.Shdr.sh_name = ShStrTab.Content.getOffset(StrTab.Name); in fillStrTabShdr()
312 SymTab.Shdr.sh_name = this->ShStrTab.Content.getOffset(SymTab.Name); in fillSymTabShdr()
325 DynTab.Shdr.sh_name = this->ShStrTab.Content.getOffset(DynTab.Name); in fillDynTabShdr()
/freebsd/sys/kern/
H A Dkern_ctf.c168 if (strcmp(".SUNW_ctf", shstrtab + shdr[i].sh_name) == 0) in link_elf_ctf_get()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DELF.h1025 Elf32_Word sh_name; // Section name (index into string table) member
1039 Elf64_Word sh_name; member

123