| /freebsd-13-stable/contrib/elftoolchain/libelf/ |
| HD | gelf_shdr.c | 71 d->sh_name = sh32->sh_name; in gelf_getshdr() 118 sh32->sh_name = s->sh_name; in gelf_update_shdr()
|
| HD | elf_types.m4 | 196 ``sh_name, WORD', 209 ``sh_name, WORD',
|
| /freebsd-13-stable/cddl/contrib/opensolaris/lib/libctf/common/ |
| HD | 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-13-stable/contrib/elftoolchain/elfcopy/ |
| HD | 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()
|
| HD | 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-13-stable/contrib/elftoolchain/libpe/ |
| HD | 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()
|
| HD | pe.h | 283 char sh_name[8]; member
|
| /freebsd-13-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
| HD | 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()
|
| HD | util.c | 84 (size_t)shdr.sh_name)) == NULL) { in findelfsecidx()
|
| /freebsd-13-stable/contrib/nvi/ex/ |
| HD | script.h | 16 char sh_name[64]; /* Pty name */ member
|
| /freebsd-13-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| HD | dt_link.c | 526 shp->sh_name = 1; /* DTRACE_SHSTRTAB32[1] = ".shstrtab" */ in dump_elf32() 534 shp->sh_name = 11; /* DTRACE_SHSTRTAB32[11] = ".SUNW_dof" */ in dump_elf32() 543 shp->sh_name = 21; /* DTRACE_SHSTRTAB32[21] = ".strtab" */ in dump_elf32() 552 shp->sh_name = 29; /* DTRACE_SHSTRTAB32[29] = ".symtab" */ in dump_elf32() 574 shp->sh_name = 37; /* DTRACE_SHSTRTAB32[37] = ".rel.SUNW_dof" */ in dump_elf32() 669 shp->sh_name = 1; /* DTRACE_SHSTRTAB64[1] = ".shstrtab" */ in dump_elf64() 677 shp->sh_name = 11; /* DTRACE_SHSTRTAB64[11] = ".SUNW_dof" */ in dump_elf64() 686 shp->sh_name = 21; /* DTRACE_SHSTRTAB64[21] = ".strtab" */ in dump_elf64() 695 shp->sh_name = 29; /* DTRACE_SHSTRTAB64[29] = ".symtab" */ in dump_elf64() 717 shp->sh_name = 37; /* DTRACE_SHSTRTAB64[37] = ".rel.SUNW_dof" */ in dump_elf64()
|
| /freebsd-13-stable/contrib/file/src/ |
| HD | readelf.h | 207 Elf32_Word sh_name; member 220 Elf64_Word sh_name; member
|
| /freebsd-13-stable/sys/dev/ksyms/ |
| HD | 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-13-stable/contrib/elftoolchain/libdwarf/ |
| HD | 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()
|
| HD | libdwarf_elf_init.c | 266 if ((name = elf_strptr(elf, e->eo_strndx, sh.sh_name)) == in _dwarf_elf_init() 324 if ((name = elf_strptr(elf, e->eo_strndx, sh.sh_name)) == in _dwarf_elf_init()
|
| /freebsd-13-stable/sys/sys/ |
| HD | elf32.h | 89 Elf32_Word sh_name; /* Section name (index into the member
|
| HD | elf64.h | 98 Elf64_Word sh_name; /* Section name (index into the member
|
| /freebsd-13-stable/stand/common/ |
| HD | load_elf.c | 185 CONVERT_FIELD(b, sh_name, e); \ in elf_section_header_convert() 735 if (strcmp(shstr + shdr[i].sh_name, 1036 if (strcmp(&shstrtab[shdr[i].sh_name], 1040 if ((strcmp(&shstrtab[shdr[i].sh_name], ".data") == 0) || 1041 (strcmp(&shstrtab[shdr[i].sh_name], ".rodata") == 0)) {
|
| HD | load_elf_obj.c | 486 if (shdr[i].sh_name == 0) in __elfN() 488 p = strdupout(shstrtab + shdr[i].sh_name); in __elfN()
|
| /freebsd-13-stable/usr.sbin/kldxref/ |
| HD | ef_obj.c | 397 if (ef->shstrtab && shdr[i].sh_name != 0) in ef_obj_open() 399 ef->shstrtab + shdr[i].sh_name; in ef_obj_open()
|
| /freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
| HD | ELFHeader.h | 160 elf_word sh_name; ///< Section name string index. member
|
| HD | ELFHeader.cpp | 233 if (data.GetU32(offset, &sh_name, 2) == nullptr) in Parse()
|
| /freebsd-13-stable/contrib/llvm-project/llvm/lib/InterfaceStub/ |
| HD | 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-13-stable/sys/kern/ |
| HD | kern_ctf.c | 158 if (strcmp(".SUNW_ctf", shstrtab + shdr[i].sh_name) == 0) in link_elf_ctf_get()
|
| /freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| HD | ELF.h | 1025 Elf32_Word sh_name; // Section name (index into string table) member 1039 Elf64_Word sh_name; member
|