Searched refs:sh_type (Results 26 - 50 of 81) sorted by relevance

1234

/freebsd-13-stable/usr.sbin/kldxref/
H A Def_obj.c418 switch (shdr[i].sh_type) {
448 shdr[symstrindex].sh_type != SHT_STRTAB) {
485 shdr[hdr->e_shstrndx].sh_type == SHT_STRTAB) {
500 switch (shdr[i].sh_type) {
530 switch (shdr[i].sh_type) {
537 if (shdr[i].sh_type == SHT_PROGBITS) {
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DELF.h250 assert(Shdr.sh_type == ELF::SHT_NOTE && "Shdr is not of type SHT_NOTE");
641 if (Section->sh_type != ELF::SHT_STRTAB)
642 if (Error E = WarnHandler("invalid sh_type for string table section " +
646 getHeader()->e_machine, Section->sh_type)))
676 assert(Section.sh_type == ELF::SHT_SYMTAB_SHNDX);
685 if (SymTable.sh_type != ELF::SHT_SYMTAB &&
686 SymTable.sh_type != ELF::SHT_DYNSYM)
689 SymTable.sh_type) +
715 if (Sec.sh_type != ELF::SHT_SYMTAB && Sec.sh_type !
[all...]
/freebsd-13-stable/usr.bin/gprof/
H A Delf.c93 if (shdrs[i].sh_type == SHT_SYMTAB)
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c527 shp->sh_type = SHT_STRTAB;
536 shp->sh_type = SHT_SUNW_dof;
545 shp->sh_type = SHT_STRTAB;
554 shp->sh_type = SHT_SYMTAB;
576 shp->sh_type = SHT_REL;
670 shp->sh_type = SHT_STRTAB;
679 shp->sh_type = SHT_SUNW_dof;
688 shp->sh_type = SHT_STRTAB;
697 shp->sh_type = SHT_SYMTAB;
719 shp->sh_type
[all...]
/freebsd-13-stable/contrib/elftoolchain/elfcopy/
H A Dbinary.c78 sh.sh_type == SHT_NOBITS ||
104 sh.sh_type == SHT_NOBITS ||
H A Dsections.c388 if (ish.sh_type == SHT_REL || ish.sh_type == SHT_RELA)
398 if (ish.sh_type == SHT_GROUP && ecp->strip == STRIP_ALL)
413 s->type = ish.sh_type;
480 ish.sh_type != SHT_NOTE)
1184 osh.sh_type = s->type;
1207 osh.sh_type = s->type = SHT_PROGBITS;
1221 if (ish.sh_type == SHT_REL || ish.sh_type == SHT_RELA)
1321 osh.sh_type
[all...]
H A Dsymbols.c289 if (sh.sh_type != SHT_REL && sh.sh_type != SHT_RELA)
312 if (sh.sh_type == SHT_REL) {
365 if (sh.sh_type != SHT_GROUP)
1111 shy.sh_type = SHT_SYMTAB;
1125 sht.sh_type = SHT_STRTAB;
H A Dascii.c104 if (sh.sh_type != SHT_SYMTAB)
127 sh.sh_type == SHT_NOBITS ||
168 sh.sh_type == SHT_NOBITS ||
433 sh.sh_type == SHT_NOBITS ||
/freebsd-13-stable/sys/kern/
H A Dkern_ctf.c146 if (hdr->e_shstrndx == 0 || shdr[hdr->e_shstrndx].sh_type != SHT_STRTAB) {
147 printf("%s(%d): module %s e_shstrndx is %d, sh_type is %d\n",
149 shdr[hdr->e_shstrndx].sh_type);
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h161 elf_word sh_type; ///< Section type. member in struct:elf::ELFSectionHeader
H A DObjectFileELF.cpp1405 sheader.sh_type == SHT_NOBITS ? 0 : sheader.sh_size;
1413 if (sheader.sh_type == SHT_MIPS_ABIFLAGS) {
1480 if (sheader.sh_type == SHT_ARM_ATTRIBUTES && section_size != 0 &&
1497 bool is_note_header = (sheader.sh_type == SHT_NOTE);
1613 switch (H.sh_type) {
1810 header.sh_type == SHT_NOBITS ? 0 : header.sh_size;
2292 assert(symtab_hdr->sh_type == SHT_SYMTAB ||
2293 symtab_hdr->sh_type == SHT_DYNSYM);
2486 assert(rel_hdr->sh_type == SHT_RELA || rel_hdr->sh_type
3138 DumpELFSectionHeader_sh_type(Stream *s, elf_word sh_type) argument
[all...]
/freebsd-13-stable/lib/libproc/
H A Dproc_sym.c161 load_symtab(Elf *e, struct symtab *symtab, u_long sh_type) argument
175 if (shdr.sh_type == sh_type)
283 if (shdr.sh_type != SHT_PROGBITS)
/freebsd-13-stable/sys/mips/mips/
H A Delf_trampoline.c138 if (shdr[i].sh_type == SHT_SYMTAB) {
/freebsd-13-stable/sys/sys/
H A Delf32.h93 Elf32_Word sh_type; /* Section type. */ member in struct:__anon15801
H A Delf64.h102 Elf64_Word sh_type; /* Section type. */ member in struct:__anon15819
/freebsd-13-stable/contrib/file/src/
H A Dreadelf.h140 /* sh_type */
208 Elf32_Word sh_type; member in struct:__anon757
221 Elf64_Word sh_type; member in struct:__anon758
/freebsd-13-stable/contrib/llvm-project/lld/ELF/
H A DInputFiles.cpp338 if (sec.sh_type == type)
565 if (sec.sh_type == ELF::SHT_LLVM_CALL_GRAPH_PROFILE)
573 if (sec.sh_type == SHT_LLVM_ADDRSIG) {
588 switch (sec.sh_type) {
656 if (sec.sh_type == SHT_REL || sec.sh_type == SHT_RELA)
865 switch (sec.sh_type) {
947 if (sec.sh_type == SHT_RELA) {
1340 switch (sec.sh_type) {
1702 if (sec.sh_type !
[all...]
/freebsd-13-stable/contrib/elftoolchain/size/
H A Dsize.c711 if ((shdr->sh_type == SHT_SYMTAB ||
712 shdr->sh_type == SHT_STRTAB || shdr->sh_type == SHT_RELA ||
713 shdr->sh_type == SHT_REL) && shdr->sh_addr == 0)
769 (shdr->sh_type != SHT_NOBITS))
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp391 Obj->getHeader()->e_machine, Sec->sh_type) +
399 Obj->getHeader()->e_machine, Sec->sh_type) +
415 Obj->getHeader()->e_machine, Sec->sh_type) +
419 if ((*SymtabOrErr)->sh_type != ExpectedType)
423 Sec->sh_type) +
429 (*SymtabOrErr)->sh_type));
437 Sec->sh_type) +
1131 getFullSymbolName(Sym, *StrTableOrErr, SymTab->sh_type == SHT_DYNSYM);
1920 if (Sec.sh_type != ELF::SHT_DYNAMIC)
2064 switch (Sec.sh_type) {
[all...]
H A DARMEHABIPrinter.h403 if (Sec.sh_type != ELF::SHT_REL || Sec.sh_info != IndexSectionIndex)
575 if (Sec.sh_type == ELF::SHT_ARM_EXIDX) {
/freebsd-13-stable/sys/dev/ksyms/
H A Dksyms.c327 hdr->kh_shdr[SHDR_SYMTAB].sh_type = SHT_SYMTAB;
339 hdr->kh_shdr[SHDR_STRTAB].sh_type = SHT_STRTAB;
353 hdr->kh_shdr[SHDR_SHSTRTAB].sh_type = SHT_STRTAB;
/freebsd-13-stable/lib/libpmcstat/
H A Dlibpmcstat_image.c448 if (sh.sh_type == SHT_SYMTAB || sh.sh_type == SHT_DYNSYM)
/freebsd-13-stable/contrib/libexecinfo/
H A Dsymtab.c123 if(shdr.sh_type != SHT_SYMTAB)
/freebsd-13-stable/contrib/elftoolchain/libelf/
H A Dlibelf_ehdr.c76 if ((shtype = GET_SHDR_MEMBER(sh_type)) != SHT_NULL) {
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/lockstat/
H A Dsym.c204 if (shdr->sh_type == SHT_SYMTAB) {

Completed in 392 milliseconds

1234