Home
last modified time | relevance | path

Searched refs:ebl (Results 1 - 25 of 143) sorted by relevance

123456

/third_party/elfutils/libebl/
H A Dlibebl.h50 typedef struct ebl Ebl;
72 extern int ebl_get_elfmachine (Ebl *ebl) __pure_attribute__;
75 extern int ebl_get_elfclass (Ebl *ebl) __pure_attribute__;
78 extern int ebl_get_elfdata (Ebl *ebl) __pure_attribute__;
85 extern const char *ebl_backend_name (Ebl *ebl);
88 extern const char *ebl_reloc_type_name (Ebl *ebl, int reloc,
92 extern bool ebl_reloc_type_check (Ebl *ebl, int reloc);
95 extern bool ebl_reloc_valid_use (Ebl *ebl, int reloc);
101 extern Elf_Type ebl_reloc_simple_type (Ebl *ebl, int reloc, int *addsub);
105 extern bool ebl_gotpc_reloc_check (Ebl *ebl, in
[all...]
H A Deblinitreg.c37 ebl_set_initial_registers_tid (Ebl *ebl, pid_t tid, in ebl_set_initial_registers_tid() argument
43 assert (ebl->set_initial_registers_tid != NULL); in ebl_set_initial_registers_tid()
44 return ebl->set_initial_registers_tid (tid, setfunc, arg); in ebl_set_initial_registers_tid()
48 ebl_frame_nregs (Ebl *ebl) in ebl_frame_nregs() argument
50 /* ebl is declared NN */ in ebl_frame_nregs()
51 return ebl->frame_nregs; in ebl_frame_nregs()
55 ebl_func_addr_mask (Ebl *ebl) in ebl_func_addr_mask() argument
57 return ((ebl == NULL || ebl->func_addr_mask == 0) in ebl_func_addr_mask()
58 ? ~(GElf_Addr)0 : ebl in ebl_func_addr_mask()
[all...]
H A Deblabicfi.c37 ebl_abi_cfi (Ebl *ebl, Dwarf_CIE *abi_info) in ebl_abi_cfi() argument
39 return ebl == NULL ? -1 : ebl->abi_cfi (ebl, abi_info); in ebl_abi_cfi()
43 ebl_ra_offset (Ebl *ebl) in ebl_ra_offset() argument
45 return ebl->ra_offset; in ebl_ra_offset()
H A Deblsectionstripp.c38 ebl_section_strip_p (Ebl *ebl, const GElf_Shdr *shdr, in ebl_section_strip_p() argument
46 if (ebl_debugscn_p (ebl, name)) in ebl_section_strip_p()
51 Elf_Scn *scn_l = elf_getscn (ebl->elf, (shdr)->sh_info); in ebl_section_strip_p()
57 if (elf_getshdrstrndx (ebl->elf, &shstrndx) != 0) in ebl_section_strip_p()
59 const char *s_l = elf_strptr (ebl->elf, shstrndx, in ebl_section_strip_p()
61 if (s_l != NULL && ebl_debugscn_p (ebl, s_l)) in ebl_section_strip_p()
H A Deblclosebackend.c39 ebl_closebackend (Ebl *ebl) in ebl_closebackend() argument
41 if (ebl != NULL) in ebl_closebackend()
44 ebl->destr (ebl); in ebl_closebackend()
47 free (ebl); in ebl_closebackend()
H A Deblresolvesym.c37 ebl_resolve_sym_value (Ebl *ebl, GElf_Addr *addr) in ebl_resolve_sym_value() argument
39 if (ebl == NULL || ebl->resolve_sym_value == NULL) in ebl_resolve_sym_value()
42 return ebl->resolve_sym_value (ebl, addr); in ebl_resolve_sym_value()
H A Deblobjnote.c47 ebl_object_note (Ebl *ebl, uint32_t namesz, const char *name, uint32_t type, in ebl_object_note() argument
50 if (! ebl->object_note (name, type, descsz, desc)) in ebl_object_note()
72 size_t addrs_size = gelf_fsize (ebl->elf, ELF_T_ADDR, 3, EV_CURRENT); in ebl_object_note()
92 if (gelf_xlatetom (ebl->elf, &dst, &src, in ebl_object_note()
93 elf_getident (ebl->elf, NULL)[EI_DATA]) == NULL) in ebl_object_note()
113 if (gelf_getclass (ebl->elf) == ELFCLASS32) in ebl_object_note()
157 size_t addr_size = gelf_fsize (ebl->elf, ELF_T_ADDR, in ebl_object_note()
175 if (gelf_xlatetom (ebl->elf, &dst, &src, in ebl_object_note()
176 elf_getident (ebl->elf, in ebl_object_note()
346 if (gelf_xlatetom (ebl in ebl_object_note()
[all...]
H A Deblsymbolbindingname.c39 ebl_symbol_binding_name (Ebl *ebl, int binding, char *buf, size_t len) in ebl_symbol_binding_name() argument
43 res = ebl != NULL ? ebl->symbol_type_name (binding, buf, len) : NULL; in ebl_symbol_binding_name()
61 && ebl != NULL in ebl_symbol_binding_name()
62 && (ident = elf_getident (ebl->elf, NULL)) != NULL in ebl_symbol_binding_name()
H A Deblsymboltypename.c39 ebl_symbol_type_name (Ebl *ebl, int symbol, char *buf, size_t len) in ebl_symbol_type_name() argument
43 res = ebl != NULL ? ebl->symbol_type_name (symbol, buf, len) : NULL; in ebl_symbol_type_name()
67 && ebl != NULL in ebl_symbol_type_name()
68 && (ident = elf_getident (ebl->elf, NULL)) != NULL in ebl_symbol_type_name()
H A Deblrelocvaliduse.c38 ebl_reloc_valid_use (Ebl *ebl, int reloc) in ebl_reloc_valid_use() argument
40 return ebl != NULL ? ebl->reloc_valid_use (ebl->elf, reloc) : false; in ebl_reloc_valid_use()
H A Deblbsspltp.c38 ebl_bss_plt_p (Ebl *ebl) in ebl_bss_plt_p() argument
40 return ebl == NULL ? false : ebl->bss_plt_p (ebl->elf); in ebl_bss_plt_p()
H A Debldwarftoregno.c36 ebl_dwarf_to_regno (Ebl *ebl, unsigned *regno) in ebl_dwarf_to_regno() argument
38 /* ebl is declared NN */ in ebl_dwarf_to_regno()
39 return ebl->dwarf_to_regno == NULL ? true : ebl->dwarf_to_regno (ebl, regno); in ebl_dwarf_to_regno()
H A Deblgotpcreloccheck.c39 ebl_gotpc_reloc_check (Ebl *ebl, int reloc) in ebl_gotpc_reloc_check() argument
41 return ebl != NULL ? ebl->gotpc_reloc_check (ebl->elf, reloc) : false; in ebl_gotpc_reloc_check()
H A Debl_check_special_section.c37 ebl_check_special_section (Ebl *ebl, int ndx, const GElf_Shdr *shdr, in ebl_check_special_section() argument
40 return ebl != NULL && ebl->check_special_section (ebl, ndx, shdr, sname); in ebl_check_special_section()
/third_party/elfutils/src/
H A Delflint.c94 static void check_note_section (Ebl *ebl, GElf_Ehdr *ehdr,
299 section_name (Ebl *ebl, int idx) in section_name() argument
308 shdr = gelf_getshdr (elf_getscn (ebl->elf, idx), &shdr_mem); in section_name()
312 ret = elf_strptr (ebl->elf, shstrndx, shdr->sh_name); in section_name()
339 check_elf_header (Ebl *ebl, GElf_Ehdr *ehdr, size_t size) in check_elf_header() argument
375 ebl_osabi_name (ebl, ehdr->e_ident[EI_OSABI], buf, sizeof (buf))); in check_elf_header()
432 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
449 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
464 scn = elf_nextscn (ebl->elf, scn); in check_elf_header()
481 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl in check_elf_header()
552 check_scn_group(Ebl *ebl, int idx) check_scn_group() argument
602 check_symtab(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) check_symtab() argument
1075 is_rel_dyn(Ebl *ebl, const GElf_Ehdr *ehdr, int idx, const GElf_Shdr *shdr, bool is_rela) is_rel_dyn() argument
1249 check_reloc_shdr(Ebl *ebl, const GElf_Ehdr *ehdr, const GElf_Shdr *shdr, int idx, int reltype, GElf_Shdr **destshdrp, GElf_Shdr *destshdr_memp, struct loaded_segment **loadedp) check_reloc_shdr() argument
1371 check_one_reloc(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *relshdr, int idx, size_t cnt, const GElf_Shdr *symshdr, Elf_Data *symdata, GElf_Addr r_offset, GElf_Xword r_info, const GElf_Shdr *destshdr, bool reldyn, struct loaded_segment *loaded, enum load_state *statep) check_one_reloc() argument
1492 check_rela(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) check_rela() argument
1543 check_rel(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) check_rel() argument
1598 check_dynamic(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) check_dynamic() argument
1929 check_symtab_shndx(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) check_symtab_shndx() argument
2023 check_sysv_hash(Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, int idx, GElf_Shdr *symshdr) check_sysv_hash() argument
2077 check_sysv_hash64(Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, int idx, GElf_Shdr *symshdr) check_sysv_hash64() argument
2134 check_gnu_hash(Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, int idx, GElf_Shdr *symshdr) check_gnu_hash() argument
2303 check_hash(int tag, Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) check_hash() argument
2376 compare_hash_gnu_hash(Ebl *ebl, GElf_Ehdr *ehdr, size_t hash_idx, size_t gnu_hash_idx) compare_hash_gnu_hash() argument
2601 check_null(Ebl *ebl, GElf_Shdr *shdr, int idx) check_null() argument
2621 check_group(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) check_group() argument
2831 has_copy_reloc(Ebl *ebl, unsigned int symscnndx, unsigned int symndx) has_copy_reloc() argument
2884 in_nobits_scn(Ebl *ebl, unsigned int shndx) in_nobits_scn() argument
2930 check_versym(Ebl *ebl, int idx) check_versym() argument
3087 check_verneed(Ebl *ebl, GElf_Shdr *shdr, int idx) check_verneed() argument
3234 check_verdef(Ebl *ebl, GElf_Shdr *shdr, int idx) check_verdef() argument
3443 check_attributes(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) check_attributes() argument
3700 check_sections(Ebl *ebl, GElf_Ehdr *ehdr) check_sections() argument
4305 check_note_data(Ebl *ebl, const GElf_Ehdr *ehdr, Elf_Data *data, int shndx, int phndx, GElf_Off start) check_note_data() argument
4423 check_note(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Phdr *phdr, int cnt) check_note() argument
4456 check_note_section(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) check_note_section() argument
4492 check_program_header(Ebl *ebl, GElf_Ehdr *ehdr) check_program_header() argument
4781 Ebl *ebl; process_elf_file() local
[all...]
H A Dobjdump.c344 show_relocs_x (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *symdata, in show_relocs_x() argument
348 int elfclass = gelf_getclass (ebl->elf); in show_relocs_x()
353 ebl_reloc_type_name (ebl, GELF_R_TYPE (r_info), buf, sizeof (buf))); in show_relocs_x()
365 elf_strptr (ebl->elf, symstrndx, sym->st_name)); in show_relocs_x()
370 destshdr = gelf_getshdr (elf_getscn (ebl->elf, in show_relocs_x()
382 elf_strptr (ebl->elf, shstrndx, destshdr->sh_name)); in show_relocs_x()
400 show_relocs_rel (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, in show_relocs_rel() argument
404 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_REL, 1, EV_CURRENT); in show_relocs_rel()
414 show_relocs_x (ebl, shdr, symdata, xndxdata, symstrndx, shstrndx, in show_relocs_rel()
421 show_relocs_rela (Ebl *ebl, GElf_Shd argument
472 show_relocs(Ebl *ebl, const char *fname, uint32_t shstrndx) show_relocs() argument
549 show_full_content(Ebl *ebl, const char *fname, uint32_t shstrndx) show_full_content() argument
682 show_disasm(Ebl *ebl, const char *fname, uint32_t shstrndx) show_disasm() argument
755 Ebl *ebl = ebl_openbackend (elf); handle_elf() local
[all...]
H A Dreadelf.c299 static void print_ehdr (Ebl *ebl, GElf_Ehdr *ehdr);
300 static void print_shdr (Ebl *ebl, GElf_Ehdr *ehdr);
301 static void print_phdr (Ebl *ebl, GElf_Ehdr *ehdr);
302 static void print_scngrp (Ebl *ebl);
303 static void print_dynamic (Ebl *ebl);
304 static void print_relocs (Ebl *ebl, GElf_Ehdr *ehdr);
305 static void handle_relocs_rel (Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn,
307 static void handle_relocs_rela (Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn,
309 static void print_symtab (Ebl *ebl, int type);
310 static void handle_symtab (Ebl *ebl, Elf_Sc
970 Ebl *ebl = ebl_openbackend (elf); process_elf_file() local
1097 print_ehdr(Ebl *ebl, GElf_Ehdr *ehdr) print_ehdr() argument
1244 print_shdr(Ebl *ebl, GElf_Ehdr *ehdr) print_shdr() argument
1380 print_phdr(Ebl *ebl, GElf_Ehdr *ehdr) print_phdr() argument
1593 section_name(Ebl *ebl, GElf_Shdr *shdr) section_name() argument
1603 handle_scngrp(Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr) handle_scngrp() argument
1661 print_scngrp(Ebl *ebl) print_scngrp() argument
1820 handle_dynamic(Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr, GElf_Phdr *phdr) handle_dynamic() argument
1999 print_dynamic(Ebl *ebl) print_dynamic() argument
2022 print_relocs(Ebl *ebl, GElf_Ehdr *ehdr) print_relocs() argument
2046 handle_relocs_rel(Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr) handle_relocs_rel() argument
2235 handle_relocs_rela(Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr) handle_relocs_rela() argument
2430 print_symtab(Ebl *ebl, int type) print_symtab() argument
2476 handle_symtab(Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr) handle_symtab() argument
2721 print_verinfo(Ebl *ebl) print_verinfo() argument
2779 handle_verneed(Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr) handle_verneed() argument
2856 handle_verdef(Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr) handle_verdef() argument
2938 handle_versym(Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr) handle_versym() argument
3234 print_hash_info(Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr, size_t shstrndx, uint_fast32_t maxlength, Elf32_Word nbucket, uint_fast32_t nsyms, uint32_t *lengths, const char *extrastr) print_hash_info() argument
3312 handle_sysv_hash(Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr, size_t shstrndx) handle_sysv_hash() argument
3376 handle_sysv_hash64(Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr, size_t shstrndx) handle_sysv_hash64() argument
3441 handle_gnu_hash(Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr, size_t shstrndx) handle_gnu_hash() argument
3543 handle_hash(Ebl *ebl) handle_hash() argument
3587 print_liblist(Ebl *ebl) print_liblist() argument
3656 print_attributes(Ebl *ebl, const GElf_Ehdr *ehdr) print_attributes() argument
5254 print_debug_abbrev_section(Dwfl_Module *dwflmod __attribute__ ((unused)), Ebl *ebl, GElf_Ehdr *ehdr __attribute__ ((unused)), Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) print_debug_abbrev_section() argument
5327 print_debug_addr_section(Dwfl_Module *dwflmod __attribute__ ((unused)), Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) print_debug_addr_section() argument
5554 print_decoded_aranges_section(Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) print_decoded_aranges_section() argument
5620 print_debug_aranges_section(Dwfl_Module *dwflmod __attribute__ ((unused)), Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) print_debug_aranges_section() argument
5801 print_debug_rnglists_section(Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr __attribute__ ((unused)), Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg __attribute__((unused))) print_debug_rnglists_section() argument
6178 print_debug_ranges_section(Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) print_debug_ranges_section() argument
6299 register_info(Ebl *ebl, unsigned int regno, const Ebl_Register_Location *loc, char name[REGNAMESZ], int *bits, int *type) register_info() argument
6386 regname(Ebl *ebl, unsigned int regno, char *regnamebuf) regname() argument
6394 print_cfa_program(const unsigned char *readp, const unsigned char *const endp, Dwarf_Word vma_base, unsigned int code_align, int data_align, unsigned int version, unsigned int ptr_size, unsigned int encoding, Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr, Dwarf *dbg) print_cfa_program() argument
6774 print_debug_frame_section(Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) print_debug_frame_section() argument
7891 print_debug_units(Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr __attribute__ ((unused)), Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg, bool debug_types) print_debug_units() argument
8178 print_debug_info_section(Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) print_debug_info_section() argument
8185 print_debug_types_section(Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) print_debug_types_section() argument
8193 print_decoded_line_section(Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr __attribute__ ((unused)), Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) print_decoded_line_section() argument
8554 print_debug_line_section(Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) print_debug_line_section() argument
9303 print_debug_loclists_section(Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr __attribute__ ((unused)), Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) print_debug_loclists_section() argument
9778 print_debug_loc_section(Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) print_debug_loc_section() argument
10038 print_debug_macinfo_section(Dwfl_Module *dwflmod __attribute__ ((unused)), Ebl *ebl, GElf_Ehdr *ehdr __attribute__ ((unused)), Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) print_debug_macinfo_section() argument
10204 print_debug_macro_section(Dwfl_Module *dwflmod __attribute__ ((unused)), Ebl *ebl, GElf_Ehdr *ehdr __attribute__ ((unused)), Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) print_debug_macro_section() argument
10591 print_debug_pubnames_section(Dwfl_Module *dwflmod __attribute__ ((unused)), Ebl *ebl, GElf_Ehdr *ehdr __attribute__ ((unused)), Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) print_debug_pubnames_section() argument
10606 print_debug_str_section(Dwfl_Module *dwflmod __attribute__ ((unused)), Ebl *ebl, GElf_Ehdr *ehdr __attribute__ ((unused)), Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg __attribute__ ((unused))) print_debug_str_section() argument
10651 print_debug_str_offsets_section(Dwfl_Module *dwflmod __attribute__ ((unused)), Ebl *ebl, GElf_Ehdr *ehdr __attribute__ ((unused)), Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) print_debug_str_offsets_section() argument
11122 print_gdb_index_section(Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr __attribute__ ((unused)), Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) print_gdb_index_section() argument
11419 print_debug(Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr) print_debug() argument
12191 handle_core_register(Ebl *ebl, Elf *core, int maxregname, const Ebl_Register_Location *regloc, const void *desc, unsigned int colno) handle_core_register() argument
12353 handle_core_registers(Ebl *ebl, Elf *core, const void *desc, const Ebl_Register_Location *reglocs, size_t nregloc) handle_core_registers() argument
12427 handle_auxv_note(Ebl *ebl, Elf *core, GElf_Word descsz, GElf_Off desc_pos) handle_auxv_note() argument
12645 handle_core_note(Ebl *ebl, const GElf_Nhdr *nhdr, const char *name, const void *desc) handle_core_note() argument
12675 handle_notes_data(Ebl *ebl, const GElf_Ehdr *ehdr, GElf_Off start, Elf_Data *data) handle_notes_data() argument
12763 handle_notes(Ebl *ebl, GElf_Ehdr *ehdr) handle_notes() argument
13033 dump_data(Ebl *ebl) dump_data() argument
13039 dump_strings(Ebl *ebl) dump_strings() argument
13045 print_strings(Ebl *ebl) print_strings() argument
[all...]
/third_party/elfutils/backends/
H A Dppc64_resolve_sym.c44 ppc64_resolve_sym_value (Ebl *ebl, GElf_Addr *addr) in ppc64_resolve_sym_value() argument
46 if (ebl->fd_data != NULL && *addr >= ebl->fd_addr in ppc64_resolve_sym_value()
47 && *addr + sizeof (Elf64_Addr) <= ebl->fd_addr + ebl->fd_data->d_size) in ppc64_resolve_sym_value()
49 GElf_Ehdr ehdr_mem, *ehdr = gelf_getehdr (ebl->elf, &ehdr_mem); in ppc64_resolve_sym_value()
53 opd_in.d_buf = ebl->fd_data->d_buf + (*addr - ebl->fd_addr); in ppc64_resolve_sym_value()
H A Dia64_symbol.c118 ia64_reloc_simple_type (Ebl *ebl, int type, in ia64_reloc_simple_type() argument
130 if (ebl->data == ELFDATA2MSB) in ia64_reloc_simple_type()
135 if (ebl->data == ELFDATA2LSB) in ia64_reloc_simple_type()
140 if (ebl->data == ELFDATA2MSB) in ia64_reloc_simple_type()
145 if (ebl->data == ELFDATA2LSB) in ia64_reloc_simple_type()
155 ia64_check_reloc_target_type (Ebl *ebl __attribute__ ((unused)), Elf64_Word sh_type) in ia64_check_reloc_target_type()
H A Dsparc_regs.c40 sparc_register_info (Ebl *ebl, in sparc_register_info() argument
45 const int nfp = 32 + (ebl->class == ELFCLASS32 ? 0 : 16); in sparc_register_info()
46 const int nspec = ebl->class == ELFCLASS32 ? 8 : 6; in sparc_register_info()
54 *bits = ebl->class == ELFCLASS32 ? 32 : 64; in sparc_register_info()
69 if ((ebl->class == ELFCLASS64 ? 0 : 4) + 1 - (unsigned int) regno <= 1) in sparc_register_info()
71 return stpncpy (name, names[ebl->class == ELFCLASS64][regno], in sparc_register_info()
H A Dcommon-reloc.c1 /* Common code for ebl reloc functions.
150 EBLHOOK(init_reloc) (Ebl *ebl) in init_reloc() argument
152 ebl->reloc_type_name = EBLHOOK(reloc_type_name); in init_reloc()
153 ebl->reloc_type_check = EBLHOOK(reloc_type_check); in init_reloc()
154 ebl->reloc_valid_use = EBLHOOK(reloc_valid_use); in init_reloc()
155 ebl->none_reloc_p = EBLHOOK(none_reloc_p); in init_reloc()
157 ebl->copy_reloc_p = EBLHOOK(copy_reloc_p); in init_reloc()
160 ebl->relative_reloc_p = EBLHOOK(relative_reloc_p); in init_reloc()
/third_party/elfutils/libdwfl/
H A Ddwfl_frame.c50 Ebl *ebl = state->thread->process->ebl; in state_fetch_pc() local
52 if (ebl_abi_cfi (ebl, &abi_info) != 0) in state_fetch_pc()
59 if (ra >= ebl_frame_nregs (ebl)) in state_fetch_pc()
64 state->pc = state->regs[ra] + ebl_ra_offset (ebl); in state_fetch_pc()
89 Ebl *ebl = thread->process->ebl; in state_alloc() local
90 size_t nregs = ebl_frame_nregs (ebl); in state_alloc()
117 ebl_closebackend (process->ebl); in __libdwfl_process_free()
156 Ebl *ebl; in dwfl_attach_state() local
398 Ebl *ebl = thread->process->ebl; INTDEF() local
[all...]
H A Dframe_unwind.c50 Ebl *ebl = state->thread->process->ebl; in __libdwfl_frame_reg_get() local
51 if (! ebl_dwarf_to_regno (ebl, &regno)) in __libdwfl_frame_reg_get()
53 if (regno >= ebl_frame_nregs (ebl)) in __libdwfl_frame_reg_get()
67 Ebl *ebl = state->thread->process->ebl; in __libdwfl_frame_reg_set() local
68 if (! ebl_dwarf_to_regno (ebl, &regno)) in __libdwfl_frame_reg_set()
70 if (regno >= ebl_frame_nregs (ebl)) in __libdwfl_frame_reg_set()
73 if (ebl_get_elfclass (ebl) == ELFCLASS32) in __libdwfl_frame_reg_set()
505 Ebl *ebl in new_unwound() local
547 Ebl *ebl = process->ebl; handle_cfi() local
746 Ebl *ebl = process->ebl; __libdwfl_frame_unwind() local
[all...]
H A Ddwfl_module.c77 /* We might have primed the Dwarf_CFI ebl cache with our own ebl in __libdwfl_module_free()
81 if (mod->eh_cfi->ebl != NULL && mod->eh_cfi->ebl == mod->ebl) in __libdwfl_module_free()
82 mod->eh_cfi->ebl = NULL; in __libdwfl_module_free()
88 if (mod->dwarf_cfi->ebl != NULL && mod->dwarf_cfi->ebl == mod->ebl) in __libdwfl_module_free()
89 mod->dwarf_cfi->ebl in __libdwfl_module_free()
[all...]
/third_party/elfutils/libasm/
H A Ddisasm_begin.c41 disasm_begin (Ebl *ebl, Elf *elf, DisasmGetSymCB_t symcb) in disasm_begin() argument
43 if (ebl == NULL) in disasm_begin()
46 if (ebl->disasm == NULL) in disasm_begin()
59 ctx->ebl = ebl; in disasm_begin()

Completed in 16 milliseconds

123456