/macosx-10.9.5/dtrace-118.1/libelf/ |
H A D | checksum.c | 80 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 D | gelf.c | 1104 GElf_Shdr shdr; local 1109 if (gelf_getshdr(scn, &shdr) == NULL) 1111 if (shdr.sh_type != SHT_DYNAMIC) 1114 n = shdr.sh_size / shdr.sh_entsize;
|
/macosx-10.9.5/dtrace-118.1/tools/ctfconvert/ |
H A D | output.c | 432 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 D | util.c | 68 GElf_Shdr shdr; local 76 if (gelf_getshdr(scn, &shdr) == NULL) { 83 (size_t)shdr.sh_name)) == NULL) {
|
H A D | dump.c | 1037 GElf_Shdr shdr; local 1042 if (gelf_getshdr(scn, &shdr) != NULL && (name = 1043 elf_strptr(elf, ehdr->e_shstrndx, shdr.sh_name)) != NULL && 1163 GElf_Shdr shdr; local 1166 if (gelf_getshdr(symscn, &shdr) != NULL) { 1168 symstrscn = elf_getscn(elf, shdr.sh_link); 1170 cd.cd_nsyms = shdr.sh_size / shdr.sh_entsize; 1174 if (SHN_MACHO == shdr.sh_link) { /* Underlying file is Mach-o */ 1176 cd.cd_nsyms = shdr [all...] |
/macosx-10.9.5/dtrace-118.1/libdtrace/ |
H A D | dt_link.c | 78 (lseek64(fd, (off64_t)elf_file.shdr[(index)].sh_offset, SEEK_SET) != \ 79 (off64_t)elf_file.shdr[(index)].sh_offset || \ 80 dt_write(dtp, fd, (data), elf_file.shdr[(index)].sh_size) != \ 81 elf_file.shdr[(index)].sh_size) 473 Elf32_Shdr shdr[ESHDR_NUM]; member in struct:__anon8329 519 shp = &elf_file.shdr[ESHDR_SHSTRTAB]; 527 shp = &elf_file.shdr[ESHDR_DOF]; 536 shp = &elf_file.shdr[ESHDR_STRTAB]; 545 shp = &elf_file.shdr[ESHDR_SYMTAB]; 567 shp = &elf_file.shdr[ESHDR_RE 610 Elf64_Shdr shdr[ESHDR_NUM]; member in struct:__anon8330 [all...] |
/macosx-10.9.5/libpcap-42/libpcap/ |
H A D | pcap-usb-linux.c | 526 pcap_usb_setup* shdr; local 540 shdr = &uhdr->setup; 541 shdr->bmRequestType = strtoul(str1, 0, 16); 542 shdr->bRequest = strtoul(str2, 0, 16); 543 shdr->wValue = htols(strtoul(str3, 0, 16)); 544 shdr->wIndex = htols(strtoul(str4, 0, 16)); 545 shdr->wLength = htols(strtoul(str5, 0, 16));
|
/macosx-10.9.5/cxxfilt-11/cxxfilt/bfd/ |
H A D | elf.c | 456 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 D | elf32-i370.c | 382 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 D | elf-bfd.h | 33 #define NUM_SHDR_ENTRIES(shdr) ((shdr)->sh_size / (shdr)->sh_entsize)
|
H A D | elflink.c | 2043 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 D | elf32-ppc.c | 1909 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.9.5/dtrace-118.1/libdwarf/ |
H A D | dwarf_init_finish.c | 147 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.9.5/ruby-104/ruby/ |
H A D | addr2line.c | 464 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.9.5/llvmCore-3425.0.33/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldELF.cpp | 124 Elf_Shdr *shdr = const_cast<Elf_Shdr*>( local 129 shdr->sh_addr = static_cast<addr_type>(Addr);
|
/macosx-10.9.5/dcerpc-58/dcerpc/ncklib/ |
H A D | dglsn.c | 308 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; \
|