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

1 2 3 4

  /external/elfutils/0.153/libebl/
ebl_check_special_section.c 58 ebl_check_special_section (ebl, ndx, shdr, sname)
61 const GElf_Shdr *shdr;
64 return ebl != NULL && ebl->check_special_section (ebl, ndx, shdr, sname);
eblsectionstripp.c 59 ebl_section_strip_p (Ebl *ebl, const GElf_Ehdr *ehdr, const GElf_Shdr *shdr,
70 if (shdr->sh_type == SHT_RELA || shdr->sh_type == SHT_REL)
72 Elf_Scn *scn_l = elf_getscn (ebl->elf, (shdr)->sh_info);
87 return SECTION_STRIP_P (shdr, name, remove_comment);
  /external/elfutils/0.153/libelf/
gelf_getshdr.c 82 Elf32_Shdr *shdr local
83 = scn->shdr.e32 ?: __elf32_getshdr_rdlock (scn);
85 if (shdr == NULL)
92 dst->name = shdr->name
108 Elf64_Shdr *shdr local
109 = scn->shdr.e64 ?: __elf64_getshdr_rdlock (scn);
111 if (shdr == NULL)
118 result = memcpy (dst, shdr, sizeof (GElf_Shdr));
gelf_update_shdr.c 75 Elf32_Shdr *shdr local
76 = scn->shdr.e32 ?: __elf32_getshdr_wrlock (scn);
78 if (shdr == NULL)
96 shdr->name = src->name
110 Elf64_Shdr *shdr local
111 = scn->shdr.e64 ?: __elf64_getshdr_wrlock (scn);
113 if (shdr == NULL)
120 (void) memcpy (shdr, src, sizeof (GElf_Shdr));
elf-knowledge.h 58 #define SECTION_STRIP_P(shdr, name, remove_comment) \
60 (((shdr)->sh_flags & SHF_ALLOC) == 0 \
62 && (shdr)->sh_type != SHT_NOTE \
63 && (((shdr)->sh_type) != SHT_PROGBITS \
71 && (shdr)->sh_type < SHT_NUM)
83 #define SH_INFO_LINK_P(Shdr) \
84 ((Shdr)->sh_type == SHT_REL || (Shdr)->sh_type == SHT_RELA \
85 || ((Shdr)->sh_flags & SHF_INFO_LINK) != 0)
elf32_getshdr.c 69 static ElfW2(LIBELFBITS,Shdr) *
72 ElfW2(LIBELFBITS,Shdr) *result;
79 result = scn->shdr.ELFW(e,LIBELFBITS);
86 size_t size = shnum * sizeof (ElfW2(LIBELFBITS,Shdr));
90 ElfW2(LIBELFBITS,Shdr) *shdr = elf->state.ELFW(elf,LIBELFBITS).shdr =
91 (ElfW2(LIBELFBITS,Shdr) *) malloc (size);
92 if (elf->state.ELFW(elf,LIBELFBITS).shdr == NULL)
101 ElfW2(LIBELFBITS,Shdr) *notcvt
    [all...]
elf32_updatenull.c 203 update_if_changed (scn0->shdr.ELFW(e,LIBELFBITS)->sh_size,
212 if (list->data[1].shdr.ELFW(e,LIBELFBITS) == NULL)
220 ElfW2(LIBELFBITS,Shdr) *shdr = scn->shdr.ELFW(e,LIBELFBITS);
223 assert (shdr != NULL);
224 ElfW2(LIBELFBITS,Word) sh_entsize = shdr->sh_entsize;
225 ElfW2(LIBELFBITS,Word) sh_align = shdr->sh_addralign ?: 1;
228 switch (shdr->sh_type)
271 update_if_changed (shdr->sh_entsize, sh_entsize
    [all...]
elf32_checksum.c 121 GElf_Shdr *shdr; local
125 shdr = INTUSE(gelf_getshdr) (scn, &shdr_mem);
126 if (shdr == NULL)
133 if (SECTION_STRIP_P (shdr,
134 INTUSE(elf_strptr) (elf, shstrndx, shdr->sh_name),
140 if (shdr->sh_type == SHT_NOBITS)
nlist.c 88 GElf_Shdr *shdr = NULL; local
117 shdr = INTUSE(gelf_getshdr) (scn, &shdr_mem);
118 if (shdr == NULL)
122 if (shdr->sh_type == SHT_SYMTAB)
129 if (shdr->sh_type == SHT_DYNSYM)
140 shdr = INTUSE(gelf_getshdr) (symscn, &shdr_mem);
141 /* SHDR->SH_LINK now contains the index of the string section. */
149 nsyms = (shdr->sh_size
172 mem.str = INTUSE(elf_strptr) (elf, shdr->sh_link, sym->st_name);
  /external/chromium_org/media/filters/
h264_parser.cc 986 H264SliceHeader* shdr) {
989 if (!shdr->IsISlice() && !shdr->IsSISlice()) {
990 READ_BOOL_OR_RETURN(&shdr->ref_pic_list_modification_flag_l0);
991 if (shdr->ref_pic_list_modification_flag_l0) {
992 res = ParseRefPicListModification(shdr->num_ref_idx_l0_active_minus1,
993 shdr->ref_list_l0_modifications);
999 if (shdr->IsBSlice()) {
1000 READ_BOOL_OR_RETURN(&shdr->ref_pic_list_modification_flag_l1)
    [all...]
  /external/elfutils/0.153/libasm/
asm_end.c 76 GElf_Shdr *shdr; local
142 shdr = gelf_getshdr (strscn, &shdr_mem);
143 if (strtabdata == NULL || shdr == NULL)
152 shdr->sh_type = SHT_STRTAB;
153 assert (shdr->sh_entsize == 0);
155 (void) gelf_update_shdr (strscn, shdr);
160 shdr = gelf_getshdr (symscn, &shdr_mem);
161 if (data == NULL || shdr == NULL)
225 shdr = gelf_getshdr (xndxscn, &shdr_mem);
226 if (xndxdata == NULL || shdr == NULL
    [all...]
asm_newscn_ingrp.c 68 GElf_Shdr *shdr = gelf_getshdr (result->data.main.scn, &shdr_mem); local
70 assert (shdr != NULL);
71 shdr->sh_flags |= SHF_GROUP;
73 (void) gelf_update_shdr (result->data.main.scn, shdr);
  /external/libunwind/src/
elfxx.c 36 static Elf_W (Shdr)*
51 return (Elf_W (Shdr) *) ((char *) ei->image + soff);
59 Elf_W (Shdr) *str_shdr;
67 Debug (1, "string shdr table outside of image? (%lu > %lu)\n",
72 str_shdr = (Elf_W (Shdr) *) ((char *) ei->image + str_soff);
97 Elf_W (Shdr) *shdr;
105 shdr = elf_w (section_table) (ei);
106 if (!shdr)
111 switch (shdr->sh_type
    [all...]
  /external/elfutils/0.153/src/
unstrip.c 322 section_can_shrink (const GElf_Shdr *shdr)
324 switch (shdr->sh_type)
353 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (elf, i), &shdr_mem);
354 ELF_CHECK (shdr != NULL, _("cannot get section header: %s"));
362 sym->st_value = shdr->sh_addr;
394 adjust_relocs (Elf_Scn *outscn, Elf_Scn *inscn, const GElf_Shdr *shdr,
406 switch (shdr->sh_type)
409 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i)
420 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i
352 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (elf, i), &shdr_mem); local
540 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
557 GElf_Shdr *shdr = gelf_getshdr (symscn, &shdr_mem); local
653 GElf_Shdr shdr; member in struct:section
790 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (outelf, s->shndx), local
1002 } shdr; local
1059 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
1185 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
1207 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
1249 GElf_Shdr *shdr = gelf_getshdr (scn, &sections[i].shdr); local
1309 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
1430 GElf_Shdr *shdr = gelf_getshdr (unstripped_symtab, &shdr_mem); local
1483 GElf_Shdr *shdr = gelf_getshdr (sec->outscn, &shdr_mem); local
1590 GElf_Shdr *shdr = gelf_getshdr (unstripped_symtab, &shdr_mem); local
1779 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
    [all...]
elflint.c 105 GElf_Shdr *shdr, int idx);
321 GElf_Shdr *shdr; local
323 shdr = gelf_getshdr (elf_getscn (ebl->elf, idx), &shdr_mem);
325 return elf_strptr (ebl->elf, shstrndx, shdr->sh_name);
444 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); local
445 if (shdr != NULL)
448 if (shdr->sh_size == 0)
452 shnum = shdr->sh_size;
461 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); local
462 if (shdr != NULL && shdr->sh_link < shnum
475 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); local
545 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
2581 GElf_Shdr *shdr = NULL; local
2632 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, shndx), &shdr_mem); local
2679 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
2807 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
3408 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); local
4145 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
4232 GElf_Shdr *shdr = NULL; local
    [all...]
strip.c 417 GElf_Shdr shdr; member in struct:shdr_info
422 Elf32_Word old_sh_link; /* Original value of shdr.sh_link. */
601 if (gelf_getshdr (scn, &shdr_info[cnt].shdr) == NULL)
606 shdr_info[cnt].shdr.sh_name);
616 /* Remember the shdr.sh_link value. */
617 shdr_info[cnt].old_sh_link = shdr_info[cnt].shdr.sh_link;
623 || (shdr_info[cnt].shdr.sh_flags & SHF_ALLOC) == 0)
624 shdr_info[cnt].shdr.sh_offset = 0;
628 if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_SYMTAB_SHNDX))
630 assert (shdr_info[shdr_info[cnt].shdr.sh_link].symtab_idx == 0)
1355 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
1619 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
1643 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
    [all...]
objdump.c 369 show_relocs_x (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *symdata,
400 if (shdr == NULL)
425 show_relocs_rel (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data,
429 int nentries = shdr->sh_size / shdr->sh_entsize;
438 show_relocs_x (ebl, shdr, symdata, xndxdata, symstrndx, shstrndx,
445 show_relocs_rela (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data,
449 int nentries = shdr->sh_size / shdr->sh_entsize;
458 show_relocs_x (ebl, shdr, symdata, xndxdata, symstrndx, shstrndx
503 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
574 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
711 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
    [all...]
findtextrel.c 272 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
274 if (shdr == NULL)
282 switch (shdr->sh_type)
291 for (size_t cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize;
406 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
408 if (shdr == NULL)
417 if ((shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA)
420 symscn = elf_getscn (elf, shdr->sh_link)
542 GElf_Shdr *shdr = gelf_getshdr (symscn, &shdr_mem); local
    [all...]
  /external/elfutils/0.153/libdwfl/
dwfl_report_elf.c 92 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
93 if (unlikely (shdr == NULL))
96 if (shdr->sh_flags & SHF_ALLOC)
98 const GElf_Xword align = shdr->sh_addralign ?: 1;
100 if (shdr->sh_addr == 0
106 shdr->sh_addr = next;
110 start = base = shdr->sh_addr;
147 end = shdr->sh_addr + shdr->sh_size;
148 if (likely (shdr->sh_addr != 0
    [all...]
derelocate.c 112 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
113 if (shdr == NULL)
116 if ((shdr->sh_flags & SHF_ALLOC) && shdr->sh_addr == 0
122 &shdr->sh_addr) != DWFL_E_NOERROR)
124 shdr = gelf_getshdr (scn, &shdr_mem);
125 if (unlikely (shdr == NULL))
129 if (shdr->sh_flags & SHF_ALLOC)
132 shdr->sh_name);
140 newref->start = dwfl_adjusted_address (mod, shdr->sh_addr)
204 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local
    [all...]
  /external/chromium_org/third_party/libvpx/source/libvpx/build/make/
obj_int_extract.c 342 Elf32_Shdr shdr; local
344 if (parse_elf_section(elf, s_idx, &shdr, NULL)) {
350 return (char *)(elf->buf + shdr.sh_offset + idx);
352 Elf64_Shdr shdr; local
354 if (parse_elf_section(elf, s_idx, NULL, &shdr)) {
360 return (char *)(elf->buf + shdr.sh_offset + idx);
403 Elf32_Shdr shdr; local
405 parse_elf_section(&elf, i, &shdr, NULL);
407 if (shdr.sh_type == SHT_STRTAB) {
410 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name))
420 Elf64_Shdr shdr; local
440 Elf32_Shdr shdr; local
529 Elf64_Shdr shdr; local
    [all...]
  /external/libvpx/libvpx/build/make/
obj_int_extract.c 342 Elf32_Shdr shdr; local
344 if (parse_elf_section(elf, s_idx, &shdr, NULL)) {
350 return (char *)(elf->buf + shdr.sh_offset + idx);
352 Elf64_Shdr shdr; local
354 if (parse_elf_section(elf, s_idx, NULL, &shdr)) {
360 return (char *)(elf->buf + shdr.sh_offset + idx);
403 Elf32_Shdr shdr; local
405 parse_elf_section(&elf, i, &shdr, NULL);
407 if (shdr.sh_type == SHT_STRTAB) {
410 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name))
420 Elf64_Shdr shdr; local
440 Elf32_Shdr shdr; local
529 Elf64_Shdr shdr; local
    [all...]
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/
obj_int_extract.c 342 Elf32_Shdr shdr; local
344 if (parse_elf_section(elf, s_idx, &shdr, NULL)) {
350 return (char *)(elf->buf + shdr.sh_offset + idx);
352 Elf64_Shdr shdr; local
354 if (parse_elf_section(elf, s_idx, NULL, &shdr)) {
360 return (char *)(elf->buf + shdr.sh_offset + idx);
403 Elf32_Shdr shdr; local
405 parse_elf_section(&elf, i, &shdr, NULL);
407 if (shdr.sh_type == SHT_STRTAB) {
410 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name))
420 Elf64_Shdr shdr; local
440 Elf32_Shdr shdr; local
529 Elf64_Shdr shdr; local
    [all...]
  /external/elfutils/0.153/backends/
alpha_symbol.c 85 const GElf_Shdr *shdr,
88 if ((shdr->sh_flags
90 && shdr->sh_addr != 0)
118 return pltgot == shdr->sh_addr;
  /external/ltrace/
ltrace-elf.c 116 elf_loaddata(Elf_Scn *scn, GElf_Shdr *shdr)
120 || data->d_off || data->d_size != shdr->sh_size)
133 GElf_Shdr shdr; local
136 if (scn == NULL || gelf_getshdr(scn, &shdr) == NULL) {
140 if (predicate(scn, &shdr, data)) {
142 *tgt_shdr = shdr;
152 inside_p(Elf_Scn *scn, GElf_Shdr *shdr, void *data)
155 return addr >= shdr->sh_addr
156 && addr < shdr->sh_addr + shdr->sh_size
472 GElf_Shdr shdr; local
541 GElf_Shdr shdr; local
582 GElf_Shdr shdr; local
674 GElf_Shdr shdr; local
926 GElf_Shdr shdr; local
    [all...]

Completed in 545 milliseconds

1 2 3 4