/external/elfutils/libelf/ |
D | libelf.h | 219 typedef struct Elf_Scn Elf_Scn; typedef 282 extern Elf_Scn *elf_getscn (Elf *__elf, size_t __index); 285 extern Elf_Scn *elf32_offscn (Elf *__elf, Elf32_Off __offset); 287 extern Elf_Scn *elf64_offscn (Elf *__elf, Elf64_Off __offset); 290 extern size_t elf_ndxscn (Elf_Scn *__scn); 293 extern Elf_Scn *elf_nextscn (Elf *__elf, Elf_Scn *__scn); 296 extern Elf_Scn *elf_newscn (Elf *__elf); 300 extern int elf_scnshndx (Elf_Scn *__scn); 327 extern Elf32_Shdr *elf32_getshdr (Elf_Scn *__scn); 329 extern Elf64_Shdr *elf64_getshdr (Elf_Scn *__scn); [all …]
|
D | libelfP.h | 156 Elf_Scn *s; 172 struct Elf_Scn struct 259 struct Elf_Scn data[0]; /* Section data. */ argument 269 Elf_Scn dummy_scn; 465 extern int __libelf_set_rawdata (Elf_Scn *scn) internal_function; 466 extern int __libelf_set_rawdata_wrlock (Elf_Scn *scn) internal_function; 502 extern Elf_Scn *__elf32_offscn_internal (Elf *__elf, Elf32_Off __offset) 504 extern Elf_Scn *__elf64_offscn_internal (Elf *__elf, Elf64_Off __offset) 514 extern Elf32_Shdr *__elf32_getshdr_rdlock (Elf_Scn *__scn) internal_function; 515 extern Elf64_Shdr *__elf64_getshdr_rdlock (Elf_Scn *__scn) internal_function; [all …]
|
D | elf32_updatefile.c | 55 const Elf_Scn **scna = (const Elf_Scn **) a; in compare_sections() 56 const Elf_Scn **scnb = (const Elf_Scn **) b; in compare_sections() 91 sort_sections (Elf_Scn **scns, Elf_ScnList *list) in sort_sections() 93 Elf_Scn **scnp = scns; in sort_sections() 217 if (unlikely (shnum > SIZE_MAX / sizeof (Elf_Scn *))) in __elfw2() 221 Elf_Scn **scns = (Elf_Scn **) malloc (shnum * sizeof (Elf_Scn *)); in __elfw2() 242 Elf_Scn *scn = scns[cnt]; in __elfw2() 298 Elf_Scn *scn = scns[cnt]; in __elfw2() 430 Elf_Scn *scn = scns[cnt]; in __elfw2() 648 if (unlikely (shnum > SIZE_MAX / (sizeof (Elf_Scn *) in __elfw2() [all …]
|
D | elf_nextscn.c | 41 Elf_Scn * 42 elf_nextscn (Elf *elf, Elf_Scn *scn) in elf_nextscn() 45 Elf_Scn *result = NULL; in elf_nextscn()
|
D | elf_newscn.c | 43 Elf_Scn * 46 Elf_Scn *result = NULL; in elf_newscn() 92 < SIZE_MAX / 2 / sizeof (Elf_Scn) - sizeof (Elf_ScnList)) in elf_newscn() 99 * sizeof (Elf_Scn)), 1); in elf_newscn()
|
D | elf_getscn.c | 41 Elf_Scn * 55 Elf_Scn *result = NULL; in elf_getscn() 68 Elf_Scn *scn0 = &runp->data[0]; in elf_getscn()
|
D | elf32_getshdr.c | 49 load_shdr_wrlock (Elf_Scn *scn) in ElfW2() 228 scn_valid (Elf_Scn *scn) in scn_valid() 250 __elfw2(LIBELFBITS,getshdr_rdlock) (Elf_Scn *scn) in ElfW2() 272 __elfw2(LIBELFBITS,getshdr_wrlock) (Elf_Scn *scn) in ElfW2() 287 elfw2(LIBELFBITS,getshdr) (Elf_Scn *scn) in ElfW2()
|
D | gelf.h | 174 extern Elf_Scn *gelf_offscn (Elf *__elf, GElf_Off __offset); 177 extern GElf_Shdr *gelf_getshdr (Elf_Scn *__scn, GElf_Shdr *__dst); 180 extern int gelf_update_shdr (Elf_Scn *__scn, GElf_Shdr *__src); 195 extern GElf_Chdr *gelf_getchdr (Elf_Scn *__scn, GElf_Chdr *__dst);
|
D | elf_getdata.c | 138 convert_data (Elf_Scn *scn, int eclass, in convert_data() 214 __libelf_set_rawdata_wrlock (Elf_Scn *scn) in __libelf_set_rawdata_wrlock() 404 __libelf_set_rawdata (Elf_Scn *scn) in __libelf_set_rawdata() 420 __libelf_set_data_list_rdlock (Elf_Scn *scn, int wrlocked) in __libelf_set_data_list_rdlock() 458 __elf_getdata_rdlock (Elf_Scn *scn, Elf_Data *data) in __elf_getdata_rdlock() 554 elf_getdata (Elf_Scn *scn, Elf_Data *data) in elf_getdata()
|
D | elf32_offscn.c | 45 Elf_Scn * 68 Elf_Scn *result = NULL; in elfw2()
|
/external/elfutils/tests/ |
D | fillfile.c | 40 add_strtab_entry (Elf_Scn *strtab, const char *str) in add_strtab_entry() 64 static Elf_Scn * 68 Elf_Scn *scn = elf_newscn (elf); in create_strtab() 129 add_data_section (Elf *elf, Elf_Scn *strtab, const char *sname) in add_data_section() 132 Elf_Scn *scn = elf_newscn (elf); in add_data_section() 246 Elf_Scn *strtab = create_strtab (elf); in check_elf() 296 Elf_Scn *checkscn = NULL; in check_elf() 297 Elf_Scn *scn = elf_nextscn (elf, NULL); in check_elf() 365 Elf_Scn *scn1 = NULL; in check_elf() 366 Elf_Scn *scn2 = NULL; in check_elf() [all …]
|
D | addsections.c | 54 Elf_Scn *zscn = elf_getscn (elf, 0); in setshstrndx() 104 Elf_Scn *shstrtab_scn = elf_getscn (elf, shstrndx); in add_sections() 156 Elf_Scn *scn = elf_newscn (elf); in add_sections() 204 Elf_Scn *new_shstrtab_scn = elf_newscn (elf); in add_sections()
|
D | newdata.c | 42 Elf_Scn *scn = elf_getscn (elf, 1); in add_section_data() 111 Elf_Scn *scn = elf_newscn (elf); in create_elf() 172 Elf_Scn *scn = elf_getscn (elf, 1); in check_section_size() 200 Elf_Scn *scn = elf_getscn (elf, 1); in check_section_data() 313 Elf_Scn *scn = elf_getscn (elf, 1); in check_elf()
|
D | elfcopy.c | 54 Elf_Scn *zscn = elf_getscn (elf, 0); in setshstrndx() 186 Elf_Scn *scn = NULL; in copy_elf() 198 Elf_Scn *new_scn = elf_newscn (elfb); in copy_elf()
|
D | dwflsyms.c | 91 Elf_Scn *scn = elf_getscn (elf, shndx); in elf_section_name() 101 Elf_Scn *scn = elf_getscn (elf, shndx); in addr_in_section() 189 Elf_Scn *scn = dwfl_module_address_section (mod, &addr, &ebias); in list_syms()
|
/external/elfutils/libdwfl/ |
D | derelocate.c | 40 Elf_Scn *scn; 41 Elf_Scn *relocs; 51 Elf_Scn *scn; 52 Elf_Scn *relocs; 98 Elf_Scn *scn = NULL; in cache_sections() 153 Elf_Scn *tscn = elf_getscn (mod->main.elf, shdr->sh_info); in cache_sections() 212 Elf_Scn *tscn = elf_getscn (mod->main.elf, shdr->sh_info); in cache_sections() 403 Elf_Scn * in INTDEF() 418 Elf_Scn *tscn = mod->reloc_info->refs[idx].scn; in INTDEF() 419 Elf_Scn *relocscn = mod->reloc_info->refs[idx].relocs; in INTDEF()
|
D | relocate.c | 52 Elf_Scn *refscn = elf_getscn (elf, shndx); in __libdwfl_relocate_value() 126 Elf_Scn *scn = NULL; in relocate_getsym() 221 Elf_Scn *scn = elf_getscn (symtab->symelf, symtab->strtabndx); in resolve_symbol() 502 Elf_Scn *scn, GElf_Shdr *shdr, in relocate_section() 503 Elf_Scn *tscn, bool debugscn, bool partial) in relocate_section() 767 Elf_Scn *scn = NULL; in __libdwfl_relocate() 781 Elf_Scn *tscn = elf_getscn (debugfile, shdr->sh_info); in __libdwfl_relocate() 797 Elf_Scn *relocscn, Elf_Scn *tscn, bool partial) in __libdwfl_relocate_section()
|
/external/elfutils/libasm/ |
D | asm_end.c | 67 Elf_Scn *shstrscn; in binary_end() 89 Elf_Scn *scn = elf_getscn (ctx->out.elf, asmscn->data.main.scnndx); in binary_end() 91 Elf_Scn *scn = asmscn->data.main.scn; in binary_end() 142 Elf_Scn *strscn = elf_newscn (ctx->out.elf); in binary_end() 160 Elf_Scn *symscn = elf_newscn (ctx->out.elf); in binary_end() 208 Elf_Scn *scn = (sym->scn->subsection_id == 0 in binary_end() 223 Elf_Scn *xndxscn; in binary_end() 321 Elf_Scn *scn; in binary_end() 386 Elf_Scn *scn = elf_getscn (ctx->out.elf, symscnndx); in binary_end() 445 Elf_Scn *scn = elf_getscn (ctx->out.elf, 0); in binary_end()
|
D | libasmP.h | 61 #define ASM_ABS_SCN ((Elf_Scn *) 1) 62 #define ASM_COM_SCN ((Elf_Scn *) 2) 87 Elf_Scn *scn; 223 Elf_Scn *scn;
|
/external/perf_data_converter/src/quipper/ |
D | dso.cc | 29 Elf_Scn *FindElfSection(Elf *elf, const std::vector<string> &names) { in FindElfSection() 39 Elf_Scn *best_sec = nullptr; in FindElfSection() 40 Elf_Scn *sec = nullptr; in FindElfSection() 70 Elf_Scn *section = FindElfSection(elf, kNoteSectionNames); in GetBuildID()
|
D | dso_test_utils.cc | 52 Elf_Data *AddDataToSection(Elf_Scn *section, const string &data_str) { in AddDataToSection() 110 Elf_Scn *section = elf_newscn(elf); in WriteElfWithMultipleBuildids() 136 Elf_Scn *section = elf_newscn(elf); in WriteElfWithMultipleBuildids()
|
/external/elfutils/src/ |
D | unstrip.c | 254 Elf_Scn *scn0 = elf_getscn (outelf, 0); in copy_elf() 283 Elf_Scn *scn = NULL; in copy_elf() 286 Elf_Scn *newscn = elf_newscn (outelf); in copy_elf() 380 symtab_count_leading_section_symbols (Elf *elf, Elf_Scn *scn, size_t shnum, in symtab_count_leading_section_symbols() 414 update_shdr (Elf_Scn *outscn, GElf_Shdr *newshdr) in update_shdr() 422 update_sh_size (Elf_Scn *outscn, const Elf_Data *data) in update_sh_size() 435 adjust_relocs (Elf_Scn *outscn, Elf_Scn *inscn, const GElf_Shdr *shdr, in adjust_relocs() 590 adjust_all_relocs (Elf *elf, Elf_Scn *symtab, const GElf_Shdr *symshdr, in adjust_all_relocs() 594 Elf_Scn *scn = NULL; in adjust_all_relocs() 614 add_new_section_symbols (Elf_Scn *old_symscn, size_t old_shnum, in add_new_section_symbols() [all …]
|
/external/elfutils/libdw/ |
D | dwarf_begin_elf.c | 74 check_section (Dwarf *result, size_t shstrndx, Elf_Scn *scn, bool inscngrp) in check_section() 307 Elf_Scn *scn = NULL; in global_read() 317 scngrp_read (Dwarf *result, Elf *elf, size_t shstrndx, Elf_Scn *scngrp) in scngrp_read() 355 Elf_Scn *scn = elf_getscn (elf, scnidx[cnt]); in scngrp_read() 376 dwarf_begin_elf (Elf *elf, Dwarf_Cmd cmd, Elf_Scn *scngrp) in dwarf_begin_elf()
|
D | dwarf_getcfi_elf.c | 216 Elf_Scn *scn, GElf_Shdr *shdr, in getcfi_scn_eh_frame() 217 Elf_Scn *hdr_scn, GElf_Addr hdr_vaddr) in getcfi_scn_eh_frame() 282 Elf_Scn *hdr_scn = NULL; in getcfi_shdr() 284 Elf_Scn *scn = NULL; in getcfi_shdr()
|
/external/mesa3d/src/gallium/state_trackers/clover/llvm/codegen/ |
D | native.cpp | 58 Elf_Scn * 63 for (Elf_Scn *s = elf_nextscn(elf, NULL); s; s = elf_nextscn(elf, s)) { in get_symbol_table() 77 get_symbol_offsets(Elf *elf, Elf_Scn *symtab) { in get_symbol_offsets()
|