Searched refs:shdr (Results 1 - 16 of 16) sorted by relevance

/macosx-10.10.1/dtrace-147/libelf/
H A Dchecksum.c80 Elf32_Shdr * shdr; local
110 if ((shdr = elf32_getshdr(scn)) == 0)
113 if (!(shdr->sh_flags & SHF_ALLOC))
116 if ((shdr->sh_type == SHT_DYNSYM) ||
117 (shdr->sh_type == SHT_DYNAMIC))
133 Elf64_Shdr * shdr; local
144 if ((shdr = elf64_getshdr(scn)) == 0)
148 if (!(shdr->sh_flags & SHF_ALLOC))
158 if ((shdr->sh_type == SHT_DYNSYM) ||
159 (shdr
[all...]
H A Dgelf.c1100 GElf_Shdr shdr; local
1105 if (gelf_getshdr(scn, &shdr) == NULL)
1107 if (shdr.sh_type != SHT_DYNAMIC)
1110 n = shdr.sh_size / shdr.sh_entsize;
/macosx-10.10.1/dtrace-147/tools/ctfconvert/
H A Doutput.c432 GElf_Shdr shdr; local
451 gelf_getshdr(scn, &shdr);
452 nent = shdr.sh_size / shdr.sh_entsize;
455 scn = elf_getscn(elf, shdr.sh_link);
458 if (SHN_MACHO != shdr.sh_link && SHN_MACHO_64 != shdr.sh_link) {
459 scn = elf_getscn(elf, shdr.sh_link);
547 if (SHN_MACHO == shdr.sh_link) {
550 } else if (SHN_MACHO_64 == shdr
627 GElf_Shdr shdr; local
671 GElf_Shdr shdr; local
[all...]
H A Dutil.c68 GElf_Shdr shdr; local
76 if (gelf_getshdr(scn, &shdr) == NULL) {
83 (size_t)shdr.sh_name)) == NULL) {
H A Ddump.c1039 GElf_Shdr shdr; local
1044 if (gelf_getshdr(scn, &shdr) != NULL && (name =
1045 elf_strptr(elf, ehdr->e_shstrndx, shdr.sh_name)) != NULL &&
1165 GElf_Shdr shdr; local
1168 if (gelf_getshdr(symscn, &shdr) != NULL) {
1170 symstrscn = elf_getscn(elf, shdr.sh_link);
1172 cd.cd_nsyms = shdr.sh_size / shdr.sh_entsize;
1176 if (SHN_MACHO == shdr.sh_link) { /* Underlying file is Mach-o */
1178 cd.cd_nsyms = shdr
[all...]
/macosx-10.10.1/libpcap-48/libpcap/
H A Dpcap-usb-linux.c569 pcap_usb_setup* shdr; local
583 shdr = &uhdr->setup;
584 shdr->bmRequestType = strtoul(str1, 0, 16);
585 shdr->bRequest = strtoul(str2, 0, 16);
586 shdr->wValue = htols(strtoul(str3, 0, 16));
587 shdr->wIndex = htols(strtoul(str4, 0, 16));
588 shdr->wLength = htols(strtoul(str5, 0, 16));
/macosx-10.10.1/cxxfilt-11/cxxfilt/bfd/
H A Delf.c456 Elf_Internal_Shdr *shdr; member in union:elf_internal_group
506 Elf_Internal_Shdr *shdr = elf_elfsections (abfd)[i]; local
507 if (shdr->sh_type == SHT_GROUP && shdr->sh_size >= 8)
531 Elf_Internal_Shdr *shdr = elf_elfsections (abfd)[i]; local
532 if (shdr->sh_type == SHT_GROUP && shdr->sh_size >= 8)
538 elf_tdata (abfd)->group_sect_ptr[num_group] = shdr;
543 amt = shdr->sh_size * sizeof (*dest) / 4;
544 shdr
592 Elf_Internal_Shdr *shdr = elf_tdata (abfd)->group_sect_ptr[i]; local
708 Elf_Internal_Shdr *shdr = elf_tdata (abfd)->group_sect_ptr[i]; local
[all...]
H A Delf32-i370.c382 Elf_Internal_Shdr *shdr,
386 shdr->sh_flags |= SHF_EXCLUDE;
389 shdr->sh_type = SHT_ORDERED;
378 i370_elf_fake_sections(bfd *abfd ATTRIBUTE_UNUSED, Elf_Internal_Shdr *shdr, asection *asect) argument
H A Delf-bfd.h33 #define NUM_SHDR_ENTRIES(shdr) ((shdr)->sh_size / (shdr)->sh_entsize)
H A Delflink.c2043 Elf_Internal_Shdr *shdr,
2056 if (bfd_seek (abfd, shdr->sh_offset, SEEK_SET) != 0)
2060 if (bfd_bread (external_relocs, shdr->sh_size, abfd) != shdr->sh_size)
2069 if (shdr->sh_entsize == bed->s->sizeof_rel)
2071 else if (shdr->sh_entsize == bed->s->sizeof_rela)
2080 erelaend = erela + shdr->sh_size;
2101 erela += shdr->sh_entsize;
2035 elf_link_read_relocs_from_section(bfd *abfd, asection *sec, Elf_Internal_Shdr *shdr, void *external_relocs, Elf_Internal_Rela *internal_relocs) argument
H A Delf32-ppc.c1909 Elf_Internal_Shdr *shdr,
1913 shdr->sh_flags |= SHF_EXCLUDE;
1916 shdr->sh_type = SHT_ORDERED;
1905 ppc_elf_fake_sections(bfd *abfd ATTRIBUTE_UNUSED, Elf_Internal_Shdr *shdr, asection *asect) argument
/macosx-10.10.1/dtrace-147/libdwarf/
H A Ddwarf_init_finish.c147 Elf64_Shdr shdr; local
260 sres = elf_sgi_shdr(elf, section_index, &shdr);
267 section_size = shdr.sh_size;
270 elf_sgi_string(elf, ehdr.e_shstrndx, shdr.sh_name,
/macosx-10.10.1/ruby-106/ruby/
H A Daddr2line.c464 ElfW(Shdr) *shdr, *shstr_shdr;
521 shdr = (ElfW(Shdr) *)(file + ehdr->e_shoff);
523 shstr_shdr = shdr + ehdr->e_shstrndx;
527 section_name = shstr + shdr[i].sh_name;
529 debug_line_shdr = shdr + i;
532 gnu_debuglink_shdr = shdr + i;
/macosx-10.10.1/llvmCore-3425.0.34/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.cpp124 Elf_Shdr *shdr = const_cast<Elf_Shdr*>( local
129 shdr->sh_addr = static_cast<addr_type>(Addr);
/macosx-10.10.1/dcerpc-61/dcerpc/ncklib/
H A Ddglsn.c308 rpc_dg_pkt_hdr_p_t shdr = (rpc_dg_pkt_hdr_p_t) &rqe->pkt->hdr; local
312 dhdr->field = SWAB_16(shdr->field); \
316 dhdr->field = SWAB_32(shdr->field); \
320 dhdr->ufield = shdr->ufield; \
325 dhdr->field = shdr->field; \
/macosx-10.10.1/xnu-2782.1.97/iokit/Kernel/
H A DIOPMrootDomain.cpp8924 swd_stackshot_hdr *shdr = (swd_stackshot_hdr *)tmpBuf;; local
8927 shdr->magic = SWD_STACKSHOTHDR_MAGIC;
8928 shdr->size = 0;
9161 swd_stackshot_hdr shdr; local
9164 shdr.magic = SWD_STACKSHOTHDR_MAGIC;
9165 shdr.size = 0;
9179 sleepWakeDebugSaveFile(sname, (char*)(&shdr), sizeof(shdr));

Completed in 349 milliseconds