/freebsd/contrib/elftoolchain/libelf/ |
H A D | gelf_shdr.c | 71 d->sh_name = sh32->sh_name; in gelf_getshdr() 118 sh32->sh_name = s->sh_name; in gelf_update_shdr()
|
H A D | elf_types.m4 | 196 ``sh_name, WORD', 209 ``sh_name, WORD',
|
/freebsd/cddl/contrib/opensolaris/lib/libctf/common/ |
H A D | ctf_lib.c | 166 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 D | pe.c | 127 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 D | symbols.c | 296 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 D | libpe_section.c | 123 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 D | pe.h | 283 char sh_name[8]; member
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | output.c | 508 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 D | util.c | 84 (size_t)shdr.sh_name)) == NULL) { in findelfsecidx()
|
/freebsd/contrib/nvi/ex/ |
H A D | script.h | 16 char sh_name[64]; /* Pty name */ member
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_link.c | 536 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 D | readelf.h | 207 Elf32_Word sh_name; member 220 Elf64_Word sh_name; member
|
/freebsd/sys/dev/ksyms/ |
H A D | ksyms.c | 324 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 D | libdwarf_elf_access.c | 58 ret_section->name = elf_strptr(e->eo_elf, e->eo_strndx, sh->sh_name); in _dwarf_elf_get_section_info()
|
H A D | libdwarf_elf_init.c | 319 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 D | elf32.h | 89 Elf32_Word sh_name; /* Section name (index into the member
|
H A D | elf64.h | 98 Elf64_Word sh_name; /* Section name (index into the member
|
/freebsd/stand/common/ |
H A D | load_elf.c | 182 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 D | load_elf_obj.c | 483 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 D | ELFHeader.h | 160 elf_word sh_name; ///< Section name string index. member
|
H A D | ELFHeader.cpp | 233 if (data.GetU32(offset, &sh_name, 2) == nullptr) in Parse()
|
/freebsd/lib/libkldelf/ |
H A D | ef_obj.c | 402 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 D | ELFObjHandler.cpp | 296 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 D | kern_ctf.c | 168 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 D | ELF.h | 1025 Elf32_Word sh_name; // Section name (index into string table) member 1039 Elf64_Word sh_name; member
|