Home
last modified time | relevance | path

Searched refs:GElf_Shdr (Results 1 – 25 of 81) sorted by relevance

1234

/external/elfutils/src/
Dobjdump.c357 show_relocs_x (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *symdata, in show_relocs_x()
381 GElf_Shdr destshdr_mem; in show_relocs_x()
382 GElf_Shdr *destshdr; in show_relocs_x()
413 show_relocs_rel (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, in show_relocs_rel()
434 show_relocs_rela (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, in show_relocs_rela()
455 section_match (Elf *elf, uint32_t scnndx, GElf_Shdr *shdr, size_t shstrndx) in section_match()
492 GElf_Shdr shdr_mem; in show_relocs()
493 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_relocs()
503 GElf_Shdr destshdr_mem; in show_relocs()
504 GElf_Shdr *destshdr = gelf_getshdr (elf_getscn (ebl->elf, in show_relocs()
[all …]
Delflint.c97 GElf_Shdr *shdr, int idx);
316 GElf_Shdr shdr_mem; in section_name()
317 GElf_Shdr *shdr; in section_name()
446 GElf_Shdr shdr_mem; in check_elf_header()
447 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
463 GElf_Shdr shdr_mem; in check_elf_header()
464 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
477 GElf_Shdr shdr_mem; in check_elf_header()
478 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
547 GElf_Shdr shdr_mem; in check_scn_group()
[all …]
Dunstrip.c280 GElf_Shdr shdr_mem; in copy_elf()
355 section_can_shrink (const GElf_Shdr *shdr) in section_can_shrink()
385 GElf_Shdr shdr_mem; in symtab_count_leading_section_symbols()
386 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (elf, i), &shdr_mem); in symtab_count_leading_section_symbols()
406 update_shdr (Elf_Scn *outscn, GElf_Shdr *newshdr) in update_shdr()
416 GElf_Shdr shdr_mem; in update_sh_size()
417 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem); in update_sh_size()
427 adjust_relocs (Elf_Scn *outscn, Elf_Scn *inscn, const GElf_Shdr *shdr, in adjust_relocs()
428 size_t map[], const GElf_Shdr *symshdr) in adjust_relocs()
465 GElf_Shdr shdr_mem; in adjust_relocs()
[all …]
Dreadelf.c253 GElf_Shdr *shdr);
255 GElf_Shdr *shdr);
257 static void handle_symtab (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr);
259 static void handle_verneed (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr);
260 static void handle_verdef (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr);
262 GElf_Shdr *shdr);
559 GElf_Shdr shdr_mem; in open_input_section()
560 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in open_input_section()
816 GElf_Shdr shdr_mem; in elf_contains_chdrs()
817 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in elf_contains_chdrs()
[all …]
Delfcompress.c184 GElf_Shdr zshdr_mem; in setshdrstrndx()
185 GElf_Shdr *zshdr = gelf_getshdr (zscn, &zshdr_mem); in setshdrstrndx()
231 GElf_Shdr shdr_mem; in compress_section()
232 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in compress_section()
453 GElf_Shdr shdr_mem; in process_file()
454 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
656 GElf_Shdr shdr_mem; in process_file()
657 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
817 GElf_Shdr shdr_mem; in process_file()
818 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
[all …]
Dsize.c419 GElf_Shdr shdr_mem; in show_sysv()
420 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_sysv()
443 GElf_Shdr shdr_mem; in show_sysv()
444 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_sysv()
490 GElf_Shdr shdr_mem; in show_sysv_one_line()
491 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_sysv_one_line()
539 GElf_Shdr shdr_mem; in show_bsd()
540 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_bsd()
Dfindtextrel.c263 GElf_Shdr shdr_mem; in process_file()
264 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
403 GElf_Shdr shdr_mem; in process_file()
404 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
540 GElf_Shdr shdr_mem; in check_rel()
541 GElf_Shdr *shdr = gelf_getshdr (symscn, &shdr_mem); in check_rel()
/external/elfutils/tests/
Delfputzdata.c77 GElf_Shdr mem; in main()
78 GElf_Shdr *shdr = gelf_getshdr (scn, &mem); in main()
150 GElf_Shdr newmem; in main()
151 GElf_Shdr *newshdr = gelf_getshdr (scn, &newmem); in main()
202 GElf_Shdr newermem; in main()
203 GElf_Shdr *newershdr = gelf_getshdr (scn, &newermem); in main()
Delfstrmerge.c184 GElf_Shdr shdrstrshdr_mem; in main()
185 GElf_Shdr *shdrstrshdr = gelf_getshdr (shdrstrscn, &shdrstrshdr_mem); in main()
195 GElf_Shdr symtabshdr_mem; in main()
196 GElf_Shdr *symtabshdr; in main()
220 GElf_Shdr strtabshdr_mem; in main()
221 GElf_Shdr *strtabshdr = gelf_getshdr (strtabscn, &strtabshdr_mem); in main()
268 GElf_Shdr shdr_mem; in main()
269 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in main()
400 GElf_Shdr zshdr_mem; in main()
401 GElf_Shdr *zshdr = gelf_getshdr (zscn, &zshdr_mem); in main()
[all …]
Ddwflsyms.c91 GElf_Shdr shdr; in elf_section_name()
101 GElf_Shdr shdr; in addr_in_section()
191 GElf_Shdr shdr_mem; in list_syms()
192 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in list_syms()
Dtest-elf_cntl_gelf_getshdr.c100 GElf_Shdr shdr_mem; in main()
101 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in main()
/external/elfutils/libelf/
Dgelf_getshdr.c40 GElf_Shdr *
41 gelf_getshdr (Elf_Scn *scn, GElf_Shdr *dst) in gelf_getshdr()
43 GElf_Shdr *result = NULL; in gelf_getshdr()
95 result = memcpy (dst, shdr, sizeof (GElf_Shdr)); in gelf_getshdr()
Dgelf.h65 typedef Elf64_Shdr GElf_Shdr; typedef
175 extern GElf_Shdr *gelf_getshdr (Elf_Scn *__scn, GElf_Shdr *__dst);
178 extern int gelf_update_shdr (Elf_Scn *__scn, GElf_Shdr *__src);
/external/ltrace/
Dltrace-elf.h111 Elf_Data *elf_loaddata(Elf_Scn *scn, GElf_Shdr *shdr);
119 Elf_Scn **tgt_sec, GElf_Shdr *tgt_shdr);
121 Elf_Scn **tgt_sec, GElf_Shdr *tgt_shdr);
123 Elf_Scn **tgt_sec, GElf_Shdr *tgt_shdr);
139 int elf_read_relocs(struct ltelf *lte, Elf_Scn *scn, GElf_Shdr *shdr,
Dltrace-elf.c116 elf_loaddata(Elf_Scn *scn, GElf_Shdr *shdr) in elf_loaddata()
126 elf_get_section_if(struct ltelf *lte, Elf_Scn **tgt_sec, GElf_Shdr *tgt_shdr, in elf_get_section_if() argument
127 int (*predicate)(Elf_Scn *, GElf_Shdr *, void *data), in elf_get_section_if()
133 GElf_Shdr shdr; in elf_get_section_if()
152 inside_p(Elf_Scn *scn, GElf_Shdr *shdr, void *data) in inside_p()
161 Elf_Scn **tgt_sec, GElf_Shdr *tgt_shdr) in elf_get_section_covering()
168 type_p(Elf_Scn *scn, GElf_Shdr *shdr, void *data) in type_p()
176 Elf_Scn **tgt_sec, GElf_Shdr *tgt_shdr) in elf_get_section_type()
188 name_p(Elf_Scn *scn, GElf_Shdr *shdr, void *d) in name_p()
199 Elf_Scn **tgt_sec, GElf_Shdr *tgt_shdr) in elf_get_section_named()
[all …]
/external/elfutils/libebl/
Deblsectionstripp.c38 ebl_section_strip_p (Ebl *ebl, const GElf_Ehdr *ehdr, const GElf_Shdr *shdr, in ebl_section_strip_p()
52 GElf_Shdr shdr_mem_l; in ebl_section_strip_p()
53 GElf_Shdr *shdr_l = gelf_getshdr (scn_l, &shdr_mem_l); in ebl_section_strip_p()
/external/elfutils/backends/
Daarch64_symbol.c66 const char *name, const GElf_Shdr *destshdr) in aarch64_check_special_symbol()
78 GElf_Shdr shdr_mem; in aarch64_check_special_symbol()
79 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in aarch64_check_special_symbol()
Dalpha_symbol.c88 const GElf_Shdr *shdr, in alpha_check_special_section()
103 GElf_Shdr scn_shdr; in alpha_check_special_section()
136 const GElf_Shdr *destshdr __attribute__ ((unused))) in alpha_check_special_symbol()
Dppc_symbol.c98 GElf_Shdr shdr_mem; in find_dyn_got()
99 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in find_dyn_got()
126 const char *name, const GElf_Shdr *destshdr) in ppc_check_special_symbol()
/external/google-breakpad/src/common/solaris/
Ddump_symbols.cc218 GElf_Shdr *shdr) { in FindSectionByName()
227 if (gelf_getshdr(scn, shdr) == (GElf_Shdr *)0) { in FindSectionByName()
395 bool LoadAllSymbols(const GElf_Shdr *stab_section, in LoadAllSymbols()
396 const GElf_Shdr *stabstr_section, in LoadAllSymbols()
438 const GElf_Shdr *sections = in LoadSymbols()
439 reinterpret_cast<GElf_Shdr *>(elf_header->e_shoff + base); in LoadSymbols()
440 GElf_Shdr stab_section; in LoadSymbols()
446 GElf_Shdr stabstr_section; in LoadSymbols()
452 GElf_Shdr symtab_section; in LoadSymbols()
458 GElf_Shdr strtab_section; in LoadSymbols()
Dfile_id.cc98 const GElf_Shdr *text_section = NULL; in FindElfTextSection()
100 GElf_Shdr shdr; in FindElfTextSection()
103 if (gelf_getshdr(scn, &shdr) == (GElf_Shdr *)0) { in FindElfTextSection()
/external/elfutils/libdwfl/
Drelocate.c48 GElf_Shdr refshdr_mem, *refshdr = gelf_getshdr (refscn, &refshdr_mem); in __libdwfl_relocate_value()
124 GElf_Shdr shdr_mem, *shdr = gelf_getshdr (scn, &shdr_mem); in relocate_getsym()
220 GElf_Shdr shdr_mem; in resolve_symbol()
221 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in resolve_symbol()
480 Elf_Scn *scn, GElf_Shdr *shdr, in relocate_section()
485 GElf_Shdr tshdr_mem; in relocate_section()
486 GElf_Shdr *tshdr = gelf_getshdr (tscn, &tshdr_mem); in relocate_section()
528 GElf_Shdr shdr_mem; in relocate_section()
724 GElf_Shdr shdr_mem; in __libdwfl_relocate()
725 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in __libdwfl_relocate()
[all …]
Doffline.c45 const GElf_Shdr *shdr __attribute__ ((unused)), in dwfl_offline_section_address()
67 GElf_Shdr shdr_mem; in dwfl_offline_section_address()
68 GElf_Shdr *sh = gelf_getshdr (scn, &shdr_mem); in dwfl_offline_section_address()
78 GElf_Shdr shdr_mem; in dwfl_offline_section_address()
79 GElf_Shdr *main_shdr = gelf_getshdr (scn, &shdr_mem); in dwfl_offline_section_address()
/external/elfutils/libasm/
Dasm_newscn_ingrp.c66 GElf_Shdr shdr_mem; in asm_newscn_ingrp()
67 GElf_Shdr *shdr = gelf_getshdr (result->data.main.scn, &shdr_mem); in asm_newscn_ingrp()
/external/elfutils/libdw/
Ddwarf_begin_elf.c70 GElf_Shdr shdr_mem; in check_section()
71 GElf_Shdr *shdr; in check_section()
231 GElf_Shdr shdr_mem; in scngrp_read()
232 GElf_Shdr *shdr = gelf_getshdr (scngrp, &shdr_mem); in scngrp_read()

1234