/third_party/libabigail/src/ |
H A D | abg-elf-helpers.h | 68 Elf_Scn* 73 Elf_Scn* 76 Elf_Scn* 79 Elf_Scn* 82 Elf_Scn* 85 Elf_Scn* 103 Elf_Scn* 106 Elf_Scn* 109 Elf_Scn* 112 Elf_Scn* [all...] |
H A D | abg-elf-helpers.cc | 308 Elf_Scn* 315 Elf_Scn* section = 0; in find_section_by_name() 343 Elf_Scn* 350 Elf_Scn* section = 0; in find_section() 376 Elf_Scn* 379 Elf_Scn* section = nullptr; in find_section() 395 Elf_Scn* 406 Elf_Scn* 424 Elf_Scn* 427 Elf_Scn *dynsy in find_symbol_table_section() [all...] |
H A D | abg-elf-reader.cc | 60 Elf_Scn* section = 0; in find_alt_dwarf_debug_info_link() 248 Elf_Scn* symtab_section = nullptr; 273 Elf_Scn* ctf_section = nullptr; 274 Elf_Scn* alt_ctf_section = nullptr; 389 Elf_Scn *section = in locate_alt_ctf_debug_info() 602 const Elf_Scn* 619 const Elf_Scn* 636 const Elf_Scn*
|
/third_party/elfutils/libelf/ |
H A 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 *__sc [all...] |
H A D | libelfP.h | 154 Elf_Scn *s; 170 struct Elf_Scn struct 257 struct Elf_Scn data[0]; /* Section data. */ 267 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 *__sc [all...] |
H A D | elf32_updatefile.c | 52 const Elf_Scn **scna = (const Elf_Scn **) a; in compare_sections() 53 const Elf_Scn **scnb = (const Elf_Scn **) b; in compare_sections() 88 sort_sections (Elf_Scn **scns, Elf_ScnList *list) in sort_sections() 90 Elf_Scn **scnp = scns; in sort_sections() 214 if (unlikely (shnum > SIZE_MAX / sizeof (Elf_Scn *))) in __elfw2() 218 Elf_Scn **scns = malloc (shnum * sizeof (Elf_Scn *)); in __elfw2() 239 Elf_Scn *sc in __elfw2() [all...] |
H A 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()
|
H A 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()
|
H A 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()
|
H A 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);
|
H A D | elf32_getshdr.c | 47 load_shdr_wrlock (Elf_Scn *scn) in ElfW2() 226 scn_valid (Elf_Scn *scn) in scn_valid() 248 __elfw2(LIBELFBITS,getshdr_rdlock) (Elf_Scn *scn) in ElfW2() 270 __elfw2(LIBELFBITS,getshdr_wrlock) (Elf_Scn *scn) in ElfW2() 285 elfw2(LIBELFBITS,getshdr) (Elf_Scn *scn) in ElfW2()
|
H A 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() 422 __libelf_set_rawdata (Elf_Scn *scn) in __libelf_set_rawdata() 438 __libelf_set_data_list_rdlock (Elf_Scn *scn, int wrlocked) in __libelf_set_data_list_rdlock() 476 __elf_getdata_rdlock (Elf_Scn *scn, Elf_Data *data) in __elf_getdata_rdlock() 572 elf_getdata (Elf_Scn *scn, Elf_Data *data) in elf_getdata()
|
H A D | elf32_offscn.c | 45 Elf_Scn * 68 Elf_Scn *result = NULL; in elfw2()
|
/third_party/elfutils/tests/ |
H A D | fillfile.c | 41 add_strtab_entry (Elf_Scn *strtab, const char *str) in add_strtab_entry() 65 static Elf_Scn * 69 Elf_Scn *scn = elf_newscn (elf); in create_strtab() 130 add_data_section (Elf *elf, Elf_Scn *strtab, const char *sname) in add_data_section() 133 Elf_Scn *scn = elf_newscn (elf); in add_data_section() 247 Elf_Scn *strtab = create_strtab (elf); in check_elf() 297 Elf_Scn *checkscn = NULL; in check_elf() 298 Elf_Scn *scn = elf_nextscn (elf, NULL); in check_elf() 366 Elf_Scn *scn1 = NULL; in check_elf() 367 Elf_Scn *scn in check_elf() [all...] |
H A 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() 175 Elf_Scn *scn = elf_newscn (elf); in add_sections() 223 Elf_Scn *new_shstrtab_scn = elf_newscn (elf); in add_sections()
|
H A D | newdata.c | 43 Elf_Scn *scn = elf_getscn (elf, 1); in add_section_data() 112 Elf_Scn *scn = elf_newscn (elf); in create_elf() 173 Elf_Scn *scn = elf_getscn (elf, 1); in check_section_size() 201 Elf_Scn *scn = elf_getscn (elf, 1); in check_section_data() 314 Elf_Scn *scn = elf_getscn (elf, 1); in check_elf()
|
H A D | ecp.c | 77 Elf_Scn *scn = NULL; in main() 80 Elf_Scn *newscn = elf_newscn (outelf); in main()
|
/third_party/elfutils/libdwfl/ |
H A 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 *relocsc in INTDEF() [all...] |
H A D | relocate.c | 54 Elf_Scn *refscn = elf_getscn (elf, shndx); in __libdwfl_relocate_value() 128 Elf_Scn *scn = NULL; in relocate_getsym() 223 Elf_Scn *scn = elf_getscn (symtab->symelf, symtab->strtabndx); in resolve_symbol() 504 Elf_Scn *scn, GElf_Shdr *shdr, in relocate_section() 505 Elf_Scn *tscn, bool debugscn, bool partial) in relocate_section() 769 Elf_Scn *scn = NULL; in __libdwfl_relocate() 783 Elf_Scn *tscn = elf_getscn (debugfile, shdr->sh_info); in __libdwfl_relocate() 799 Elf_Scn *relocscn, Elf_Scn *tscn, bool partial) in __libdwfl_relocate_section()
|
/third_party/elfutils/libasm/ |
H A D | asm_end.c | 64 Elf_Scn *shstrscn; in binary_end() 86 Elf_Scn *scn = elf_getscn (ctx->out.elf, asmscn->data.main.scnndx); in binary_end() 88 Elf_Scn *scn = asmscn->data.main.scn; in binary_end() 139 Elf_Scn *strscn = elf_newscn (ctx->out.elf); in binary_end() 157 Elf_Scn *symscn = elf_newscn (ctx->out.elf); in binary_end() 205 Elf_Scn *scn = (sym->scn->subsection_id == 0 in binary_end() 220 Elf_Scn *xndxscn; in binary_end() 318 Elf_Scn *scn; in binary_end() 383 Elf_Scn *scn = elf_getscn (ctx->out.elf, symscnndx); in binary_end() 442 Elf_Scn *sc in binary_end() [all...] |
H A D | libasmP.h | 62 #define ASM_ABS_SCN ((Elf_Scn *) 1) 63 #define ASM_COM_SCN ((Elf_Scn *) 2) 88 Elf_Scn *scn; 224 Elf_Scn *scn;
|
/third_party/libabigail/include/ |
H A D | abg-elf-reader.h | 109 const Elf_Scn* 115 const Elf_Scn* 118 const Elf_Scn*
|
/third_party/elfutils/libdw/ |
H A D | dwarf_begin_elf.c | 74 scn_dwarf_type (Dwarf *result, size_t shstrndx, Elf_Scn *scn) in scn_dwarf_type() 99 check_section (Dwarf *result, size_t shstrndx, Elf_Scn *scn, bool inscngrp) in check_section() 394 Elf_Scn *scn = NULL; in global_read() 414 scngrp_read (Dwarf *result, Elf *elf, size_t shstrndx, Elf_Scn *scngrp) in scngrp_read() 455 Elf_Scn *scn = elf_getscn (elf, scnidx[cnt]); in scngrp_read() 473 Elf_Scn *scn = elf_getscn (elf, scnidx[cnt]); in scngrp_read() 485 dwarf_begin_elf (Elf *elf, Dwarf_Cmd cmd, Elf_Scn *scngrp) in dwarf_begin_elf()
|
/third_party/elfutils/src/ |
H A D | unstrip.c | 250 Elf_Scn *scn0 = elf_getscn (outelf, 0); in copy_elf() 279 Elf_Scn *scn = NULL; in copy_elf() 282 Elf_Scn *newscn = elf_newscn (outelf); in copy_elf() 382 symtab_count_leading_section_symbols (Elf *elf, Elf_Scn *scn, size_t shnum, in symtab_count_leading_section_symbols() 416 update_shdr (Elf_Scn *outscn, GElf_Shdr *newshdr) in update_shdr() 424 update_sh_size (Elf_Scn *outscn, const Elf_Data *data) in update_sh_size() 450 adjust_relocs (Elf_Scn *outscn, Elf_Scn *inscn, const GElf_Shdr *shdr, in adjust_relocs() 601 adjust_all_relocs (Elf *elf, Elf_Scn *symtab, const GElf_Shdr *symshdr, in adjust_all_relocs() 605 Elf_Scn *sc in adjust_all_relocs() [all...] |
/third_party/mesa3d/src/gallium/frontends/clover/llvm/codegen/ |
H A D | native.cpp | 60 Elf_Scn * 65 for (Elf_Scn *s = elf_nextscn(elf, NULL); s; s = elf_nextscn(elf, s)) { in get_symbol_table() 79 get_symbol_offsets(Elf *elf, Elf_Scn *symtab) { in get_symbol_offsets()
|