HomeSort by relevance Sort by last modified time
    Searched refs:shdr (Results 51 - 75 of 92) sorted by null

1 23 4

  /development/tools/elftree/
elftree.c 172 static int dump_dynamic(struct file_state *f, Elf_Scn *scn, GElf_Shdr *shdr)
185 d.count = shdr->sh_size / shdr->sh_entsize;
208 GElf_Shdr shdr; local
238 scn = find_scn(&f, SHT_STRTAB, NULL, &shdr);
246 while ((scn = find_scn(&f, SHT_DYNAMIC, scn, &shdr))) {
247 dump_dynamic(&f, scn, &shdr);
  /external/elfutils/0.153/src/
arlib.c 247 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
248 if (shdr == NULL)
251 if (shdr->sh_type != symtype)
258 int nsyms = shdr->sh_size / shdr->sh_entsize;
259 for (int ndx = shdr->sh_info; ndx < nsyms; ++ndx)
271 const char *symname = elf_strptr (elf, shdr->sh_link, sym->st_name);
nm.c 912 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (elf, sym->st_shndx), local
914 if (shdr != NULL)
916 if ((shdr->sh_flags & SHF_WRITE) == 0)
918 else if (shdr->sh_type == SHT_NOBITS)
1157 GElf_Shdr *shdr, const char *prefix, const char *fname,
1167 size_t size = shdr->sh_size;
1169 size_t entsize = shdr->sh_entsize;
1175 fullname, elf_strptr (ebl->elf, shstrndx, shdr->sh_name));
1179 fullname, elf_strptr (ebl->elf, shstrndx, shdr->sh_name));
1455 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
    [all...]
strings.c 725 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
729 if (shdr != NULL && shdr->sh_type != SHT_NOBITS
730 && (shdr->sh_flags & SHF_ALLOC) != 0)
731 result |= read_block (fd, fname, fdlen, shdr->sh_offset,
732 shdr->sh_offset + shdr->sh_size);
elfcmp.c 754 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
755 if (shdr == NULL)
760 if ((shdr->sh_type != SHT_REL && shdr->sh_type != SHT_RELA)
761 || shdr->sh_link != scnndx)
770 if (shdr->sh_type == SHT_REL)
771 for (int ndx = 0; ndx < (int) (shdr->sh_size / shdr->sh_entsize);
785 for (int ndx = 0; ndx < (int) (shdr->sh_size / shdr->sh_entsize)
    [all...]
xelf.h 72 # define xelf_update_shdr(scn, shdr) \
73 /* nothing */ ((void) (scn), (void) (shdr), 1)
204 # define xelf_update_shdr(scn, shdr) \
205 /* nothing */ ((void) (scn), (void) (shdr), 1)
339 # define xelf_update_shdr(scn, shdr) gelf_update_shdr (scn, shdr)
addr2line.c 428 GElf_Shdr *shdr = gelf_getshdr local
431 if (unlikely (shdr == NULL))
434 if (*addr >= shdr->sh_size)
440 *addr += shdr->sh_addr + shdr_bias;
  /art/compiler/
elf_patcher.cc 281 Elf32_Shdr* shdr = elf_file_->FindSectionByName(".oat_patches"); local
282 if (shdr != nullptr) {
283 CHECK_EQ(shdr, elf_file_->FindSectionByType(SHT_OAT_PATCH))
285 CHECK_LE(patches_.size() * sizeof(uintptr_t), shdr->sh_size)
287 CHECK_LE(reinterpret_cast<uintptr_t>(elf_file_->Begin()) + shdr->sh_offset + shdr->sh_size,
289 CHECK(shdr == elf_file_->GetSectionHeader(elf_file_->GetSectionHeaderNum() - 1) ||
290 shdr->sh_offset + shdr->sh_size <= (shdr + 1)->sh_offset
    [all...]
  /external/elfutils/0.153/libelf/
elf_getshdrstrndx.c 117 if (elf->state.elf32.scns.data[0].shdr.e32 != NULL)
119 num = elf->state.elf32.scns.data[0].shdr.e32->sh_link;
155 if (elf->state.elf64.scns.data[0].shdr.e64 != NULL)
157 num = elf->state.elf64.scns.data[0].shdr.e64->sh_link;
elf_newscn.c 139 result->shdr.e32 = (Elf32_Shdr *) calloc (1, sizeof (Elf32_Shdr));
140 if (result->shdr.e32 == NULL)
148 result->shdr.e64 = (Elf64_Shdr *) calloc (1, sizeof (Elf64_Shdr));
149 if (result->shdr.e64 == NULL)
elf_begin.c 327 elf->state.elf32.shdr
337 elf->state.elf32.scns.data[cnt].shdr.e32 =
338 &elf->state.elf32.shdr[cnt];
339 if (likely (elf->state.elf32.shdr[cnt].sh_offset < maxsize)
340 && likely (maxsize - elf->state.elf32.shdr[cnt].sh_offset
341 <= elf->state.elf32.shdr[cnt].sh_size))
345 + elf->state.elf32.shdr[cnt].sh_offset);
351 if (elf->state.elf32.shdr[cnt].sh_type == SHT_SYMTAB_SHNDX
352 && elf->state.elf32.shdr[cnt].sh_link < scncnt)
353 elf->state.elf32.scns.data[elf->state.elf32.shdr[cnt].sh_link].shndx_inde
    [all...]
elf_end.c 173 free (scn->shdr.e32);
217 || (offsetof (struct Elf, state.elf32.shdr)
218 == offsetof (struct Elf, state.elf64.shdr))
219 ? (void *) elf->state.elf32.shdr
220 : (void *) elf->state.elf64.shdr);
elf32_newphdr.c 122 .shdr.ELFW(e,LIBELFBITS)->sh_info = 0;
158 scn0->shdr.ELFW(e,LIBELFBITS)->sh_info = count;
libelfP.h 246 } shdr; member in struct:Elf_Scn
328 void *shdr; member in struct:Elf::__anon4980::__anon4981
339 int shdr_malloced; /* Nonzero if shdr array was allocated. */
348 Elf32_Shdr *shdr; /* Used when reading from a file. */ member in struct:Elf::__anon4980::__anon4982
358 int shdr_malloced; /* Nonzero if shdr array was allocated. */
373 Elf64_Shdr *shdr; /* Used when reading from a file. */ member in struct:Elf::__anon4980::__anon4983
383 int shdr_malloced; /* Nonzero if shdr array was allocated. */
  /external/elfutils/0.153/libdw/
dwarf_begin_elf.c 94 GElf_Shdr *shdr; local
97 shdr = gelf_getshdr (scn, &shdr_mem);
98 if (shdr == NULL)
106 if (unlikely (shdr->sh_type == SHT_NOBITS))
114 if (! inscngrp && (shdr->sh_flags & SHF_GROUP) != 0)
122 shdr->sh_name);
  /external/ltrace/sysdeps/linux-gnu/mips/
plt.c 199 GElf_Shdr shdr; local
209 if (elf_get_section_type(lte, SHT_DYNAMIC, &scn, &shdr) < 0
217 Elf_Data *data = elf_loaddata(scn, &shdr);
222 for (j = 0; j < shdr.sh_size / shdr.sh_entsize; ++j) {
  /external/ltrace/sysdeps/linux-gnu/arm/
plt.c 64 GElf_Shdr shdr; local
65 if (elf_get_section_type(lte, SHT_ARM_ATTRIBUTES, &scn, &shdr) < 0
66 || (scn != NULL && (data = elf_loaddata(scn, &shdr)) == NULL)) {
  /frameworks/compile/mclinker/lib/LD/
ELFReader.cpp 343 const llvm::ELF::Elf32_Shdr *shdr = NULL; local
354 // if shnum and shstrtab overflow, the actual values are in the 1st shdr
358 shdr = reinterpret_cast<const llvm::ELF::Elf32_Shdr*>(shdr_region.begin());
361 sh_size = shdr->sh_size;
362 sh_link = shdr->sh_link;
365 sh_size = mcld::bswap32(shdr->sh_size);
366 sh_link = mcld::bswap32(shdr->sh_link);
383 shdr = &shdrTab[shstrtab];
385 sh_offset = shdr->sh_offset;
386 sh_size = shdr->sh_size
864 const llvm::ELF::Elf64_Shdr *shdr = NULL; local
    [all...]
ELFObjectWriter.cpp 196 sizeof(ELFSizeTraits<32>::Shdr) * pModule.size();
199 sizeof(ELFSizeTraits<64>::Shdr) * pModule.size();
213 typedef typename ELFSizeTraits<SIZE>::Shdr ElfXX_Shdr;
309 typedef typename ELFSizeTraits<SIZE>::Shdr ElfXX_Shdr;
316 ElfXX_Shdr* shdr = (ElfXX_Shdr*)region.begin(); local
323 shdr[sectIdx].sh_name = shstridx;
324 shdr[sectIdx].sh_type = ld_sect->type();
325 shdr[sectIdx].sh_flags = ld_sect->flag();
326 shdr[sectIdx].sh_addr = ld_sect->addr();
327 shdr[sectIdx].sh_offset = ld_sect->offset()
    [all...]
  /external/chromium_org/media/filters/
h264_parser.h 385 // Parse a slice header, returning it in |*shdr|. |*nalu| must be set to
386 // the NALU returned from AdvanceToNextNALU() and corresponding to |*shdr|.
387 Result ParseSliceHeader(const H264NALU& nalu, H264SliceHeader* shdr);
427 Result ParseRefPicListModifications(H264SliceHeader* shdr);
432 Result ParsePredWeightTable(const H264SPS& sps, H264SliceHeader* shdr);
442 Result ParseDecRefPicMarking(H264SliceHeader* shdr);
  /external/elfutils/0.153/libdwfl/
offline.c 66 const GElf_Shdr *shdr __attribute__ ((unused)),
70 assert (shdr->sh_addr == 0);
71 assert (shdr->sh_flags & SHF_ALLOC);
104 assert (main_shdr->sh_flags == shdr->sh_flags);
  /external/ltrace/
ltrace-elf.h 111 Elf_Data *elf_loaddata(Elf_Scn *scn, GElf_Shdr *shdr);
136 /* Read relocations from relocation section SCN with header SHDR and
139 int elf_read_relocs(struct ltelf *lte, Elf_Scn *scn, GElf_Shdr *shdr,
  /external/chromium_org/media/formats/mp2t/
es_parser_h264.cc 172 H264SliceHeader shdr; local
173 if (h264_parser_->ParseSliceHeader(nalu, &shdr) != H264Parser::kOk) {
181 pps_id_for_access_unit = shdr.pic_parameter_set_id;
  /external/elfutils/0.153/libebl/
libebl.h 148 const GElf_Shdr *shdr, const char *name);
218 const GElf_Shdr *shdr, const char *name,
  /external/libpcap/
pcap-usb-linux.c 569 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));

Completed in 3818 milliseconds

1 23 4