/external/elfutils/src/ |
D | elflint.c | 320 section_name (Ebl *ebl, GElf_Ehdr *ehdr, int idx) in section_name() argument 325 shdr = gelf_getshdr (elf_getscn (ebl->elf, idx), &shdr_mem); in section_name() 327 return elf_strptr (ebl->elf, shstrndx, shdr->sh_name); in section_name() 354 check_elf_header (Ebl *ebl, GElf_Ehdr *ehdr, size_t size) in check_elf_header() argument 387 ebl_osabi_name (ebl, ehdr->e_ident[EI_OSABI], buf, sizeof (buf))); in check_elf_header() 446 shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header() 465 shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header() 480 if (!ebl_machine_flag_check (ebl, ehdr->e_flags)) in check_elf_header() 482 ebl_machine_flag_name (ebl, ehdr->e_flags, buf, sizeof (buf))); in check_elf_header() 485 if (gelf_getclass (ebl->elf) == ELFCLASS32) in check_elf_header() [all …]
|
D | readelf.c | 158 static void print_ehdr (Ebl *ebl, GElf_Ehdr *ehdr); 159 static void print_shdr (Ebl *ebl, GElf_Ehdr *ehdr); 160 static void print_phdr (Ebl *ebl, GElf_Ehdr *ehdr); 161 static void print_scngrp (Ebl *ebl, GElf_Ehdr *ehdr); 162 static void print_dynamic (Ebl *ebl, GElf_Ehdr *ehdr); 163 static void print_relocs (Ebl *ebl, GElf_Ehdr *ehdr); 164 static void handle_relocs_rel (Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, 166 static void handle_relocs_rela (Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, 168 static void print_symtab (Ebl *ebl, GElf_Ehdr *ehdr, int type); 169 static void handle_symtab (Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, [all …]
|
D | nm.c | 633 get_local_names (Ebl *ebl, Dwarf *dbg) in get_local_names() argument 723 show_symbols_sysv (Ebl *ebl, GElf_Word strndx, in show_symbols_sysv() argument 729 if (elf_getshnum (ebl->elf, &shnum) < 0) in show_symbols_sysv() 740 if (elf_getshstrndx (ebl->elf, &shstrndx) < 0) in show_symbols_sysv() 747 while ((scn = elf_nextscn (ebl->elf, scn)) != NULL) in show_symbols_sysv() 754 = elf_strptr (ebl->elf, shstrndx, in show_symbols_sysv() 758 int digits = length_map[gelf_getclass (ebl->elf) - 1][radix]; in show_symbols_sysv() 789 const char *symstr = elf_strptr (ebl->elf, strndx, in show_symbols_sysv() 806 ebl_symbol_binding_name (ebl, in show_symbols_sysv() 809 ebl_symbol_type_name (ebl, GELF_ST_TYPE (syms[cnt].sym.st_info), in show_symbols_sysv() [all …]
|
/external/elfutils/libebl/ |
D | libebl.h | 26 typedef struct ebl struct 101 void (*destr) (struct ebl *); argument 123 extern const char *ebl_backend_name (Ebl *ebl); argument 126 extern const char *ebl_object_type_name (Ebl *ebl, int object, 130 extern const char *ebl_reloc_type_name (Ebl *ebl, int reloc, 134 extern bool ebl_reloc_type_check (Ebl *ebl, int reloc); 137 extern bool ebl_reloc_valid_use (Ebl *ebl, int reloc); 141 extern bool ebl_gotpc_reloc_check (Ebl *ebl, int reloc); 144 extern const char *ebl_segment_type_name (Ebl *ebl, int segment, 148 extern const char *ebl_section_type_name (Ebl *ebl, int section, [all …]
|
D | eblclosebackend.c | 25 ebl_closebackend (Ebl *ebl) in ebl_closebackend() argument 27 if (ebl != NULL) in ebl_closebackend() 30 ebl->destr (ebl); in ebl_closebackend() 33 if (ebl->dlhandle != NULL) in ebl_closebackend() 34 (void) dlclose (ebl->dlhandle); in ebl_closebackend() 37 free (ebl); in ebl_closebackend()
|
D | eblgotpcreloccheck.c | 24 ebl_gotpc_reloc_check (ebl, reloc) in ebl_gotpc_reloc_check() argument 25 Ebl *ebl; in ebl_gotpc_reloc_check() 28 return ebl != NULL ? ebl->gotpc_reloc_check (ebl->elf, reloc) : false;
|
D | eblrelocvaliduse.c | 23 ebl_reloc_valid_use (ebl, reloc) in ebl_reloc_valid_use() argument 24 Ebl *ebl; in ebl_reloc_valid_use() 27 return ebl != NULL ? ebl->reloc_valid_use (ebl->elf, reloc) : false;
|
D | eblbackendname.c | 24 ebl_backend_name (ebl) in ebl_backend_name() argument 25 Ebl *ebl; in ebl_backend_name() 27 return ebl != NULL ? ebl->emulation : gettext ("No backend");
|
D | eblreloctypecheck.c | 23 ebl_reloc_type_check (ebl, reloc) in ebl_reloc_type_check() argument 24 Ebl *ebl; in ebl_reloc_type_check() 27 return ebl != NULL ? ebl->reloc_type_check (reloc) : false;
|
D | eblmachineflagcheck.c | 23 ebl_machine_flag_check (ebl, flags) in ebl_machine_flag_check() argument 24 Ebl *ebl; in ebl_machine_flag_check() 27 return ebl != NULL ? ebl->machine_flag_check (flags) : (flags == 0);
|
D | eblreloctypename.c | 24 ebl_reloc_type_name (ebl, reloc, buf, len) in ebl_reloc_type_name() argument 25 Ebl *ebl; in ebl_reloc_type_name() 32 res = ebl != NULL ? ebl->reloc_type_name (reloc, buf, len) : NULL;
|
D | ebldynamictagcheck.c | 24 ebl_dynamic_tag_check (ebl, tag) in ebl_dynamic_tag_check() argument 25 Ebl *ebl; in ebl_dynamic_tag_check() 28 bool res = ebl != NULL ? ebl->dynamic_tag_check (tag) : false;
|
D | eblobjecttypename.c | 24 ebl_object_type_name (ebl, object, buf, len) in ebl_object_type_name() argument 25 Ebl *ebl; in ebl_object_type_name() 32 res = ebl != NULL ? ebl->object_type_name (object, buf, len) : NULL;
|
D | eblsymbolbindingname.c | 24 ebl_symbol_binding_name (ebl, binding, buf, len) in ebl_symbol_binding_name() argument 25 Ebl *ebl; in ebl_symbol_binding_name() 32 res = ebl != NULL ? ebl->symbol_type_name (binding, buf, len) : NULL;
|
D | eblmachineflagname.c | 25 ebl_machine_flag_name (ebl, flags, buf, len) in ebl_machine_flag_name() argument 26 Ebl *ebl; in ebl_machine_flag_name() 51 machstr = ebl != NULL ? ebl->machine_flag_name (&flags) : NULL;
|
D | eblsymboltypename.c | 24 ebl_symbol_type_name (ebl, symbol, buf, len) in ebl_symbol_type_name() argument 25 Ebl *ebl; in ebl_symbol_type_name() 32 res = ebl != NULL ? ebl->symbol_type_name (symbol, buf, len) : NULL;
|
D | eblosabiname.c | 24 ebl_osabi_name (ebl, osabi, buf, len) in ebl_osabi_name() argument 25 Ebl *ebl; in ebl_osabi_name() 30 const char *res = ebl != NULL ? ebl->osabi_name (osabi, buf, len) : NULL;
|
D | ebldynamictagname.c | 25 ebl_dynamic_tag_name (ebl, tag, buf, len) in ebl_dynamic_tag_name() argument 26 Ebl *ebl; in ebl_dynamic_tag_name() 31 const char *res = ebl != NULL ? ebl->dynamic_tag_name (tag, buf, len) : NULL;
|
D | eblsegmenttypename.c | 24 ebl_segment_type_name (ebl, segment, buf, len) in ebl_segment_type_name() argument 25 Ebl *ebl; in ebl_segment_type_name() 32 res = ebl != NULL ? ebl->segment_type_name (segment, buf, len) : NULL;
|
D | eblsectionname.c | 24 ebl_section_name (ebl, section, xsection, buf, len, scnnames, shnum) in ebl_section_name() argument 25 Ebl *ebl; in ebl_section_name() 33 const char *res = ebl != NULL ? ebl->section_name (section, xsection,
|
D | ebldebugscnp.c | 24 ebl_debugscn_p (ebl, name) in ebl_debugscn_p() argument 25 Ebl *ebl; in ebl_debugscn_p() 28 return ebl->debugscn_p (name);
|
D | eblshflagscombine.c | 23 ebl_sh_flags_combine (ebl, flags1, flags2) in ebl_sh_flags_combine() argument 24 Ebl *ebl; in ebl_sh_flags_combine() 28 return ebl->sh_flags_combine (flags1, flags2);
|
D | eblcorenote.c | 26 ebl_core_note (ebl, name, type, descsz, desc) in ebl_core_note() argument 27 Ebl *ebl; in ebl_core_note() 33 int class = gelf_getclass (ebl->elf); 35 if (! ebl->core_note (name, type, descsz, desc))
|
D | eblobjnotetypename.c | 25 ebl_object_note_type_name (ebl, type, buf, len) in ebl_object_note_type_name() argument 26 Ebl *ebl; in ebl_object_note_type_name() 31 const char *res = ebl->object_note_type_name (type, buf, len);
|
D | eblobjnote.c | 26 ebl_object_note (ebl, name, type, descsz, desc) in ebl_object_note() argument 27 Ebl *ebl; in ebl_object_note() 33 if (! ebl->object_note (name, type, descsz, desc))
|