Home
last modified time | relevance | path

Searched refs:ebl (Results 1 – 25 of 330) sorted by relevance

12345678910>>...14

/dports/devel/elfutils/elfutils-0.179/libebl/
H A Dlibebl.h49 typedef struct ebl Ebl;
83 extern const char *ebl_backend_name (Ebl *ebl);
151 extern bool ebl_check_special_symbol (Ebl *ebl,
204 extern bool ebl_section_strip_p (Ebl *ebl,
209 extern bool ebl_bss_plt_p (Ebl *ebl);
212 extern int ebl_sysvhash_entrysize (Ebl *ebl);
223 extern int ebl_return_value_location (Ebl *ebl,
237 extern ssize_t ebl_register_info (Ebl *ebl,
346 extern size_t ebl_frame_nregs (Ebl *ebl)
352 extern int ebl_ra_offset (Ebl *ebl)
[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
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->func_addr_mask); in ebl_func_addr_mask()
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 Debl-hooks.h140 ssize_t EBLHOOK(register_info) (Ebl *ebl,
146 int EBLHOOK(syscall_abi) (Ebl *ebl, int *sp, int *pc,
150 int EBLHOOK(disasm) (Ebl *ebl, const uint8_t **startp, const uint8_t *end,
156 int EBLHOOK(abi_cfi) (Ebl *ebl, Dwarf_CIE *abi_info);
167 bool EBLHOOK(dwarf_to_regno) (Ebl *ebl, unsigned *regno);
171 void EBLHOOK(normalize_pc) (Ebl *ebl, Dwarf_Addr *pc);
181 bool EBLHOOK(unwind) (Ebl *ebl, Dwarf_Addr pc, ebl_tid_registers_t *setfunc,
189 bool EBLHOOK(resolve_sym_value) (Ebl *ebl, GElf_Addr *addr);
192 void EBLHOOK(destr) (struct ebl *);
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.c40 ebl_closebackend (Ebl *ebl) in ebl_closebackend() argument
42 if (ebl != NULL) in ebl_closebackend()
45 ebl->destr (ebl); in ebl_closebackend()
48 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.c50 if (! ebl->object_note (name, type, descsz, desc)) in ebl_object_note()
92 if (gelf_xlatetom (ebl->elf, &dst, &src, in ebl_object_note()
113 if (gelf_getclass (ebl->elf) == ELFCLASS32) 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()
342 if (gelf_xlatetom (ebl->elf, &out, &in, in ebl_object_note()
343 elf_getident (ebl->elf, in ebl_object_note()
360 int elfclass = gelf_getclass (ebl->elf); in ebl_object_note()
363 gelf_getehdr (ebl->elf, &ehdr); in ebl_object_note()
387 if (gelf_xlatetom (ebl->elf, &out, &in, 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 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 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 Debldwarftoregno.c36 ebl_dwarf_to_regno (Ebl *ebl, unsigned *regno) in ebl_dwarf_to_regno() argument
39 return ebl->dwarf_to_regno == NULL ? true : ebl->dwarf_to_regno (ebl, regno); in ebl_dwarf_to_regno()
/dports/devel/elfutils/elfutils-0.179/src/
H A Delflint.c300 section_name (Ebl *ebl, int idx) in section_name() argument
660 idx, section_name (ebl, idx)); in check_symtab()
1982 idx, section_name (ebl, idx), in check_symtab_shndx()
2924 check_versym (Ebl *ebl, int idx) in check_versym() argument
3769 && ebl_bss_plt_p (ebl)) in check_sections()
3990 check_scn_group (ebl, cnt); in check_sections()
4178 check_null (ebl, shdr, cnt); in check_sections()
4754 Ebl *ebl; in process_elf_file() local
4771 ebl = ebl_openbackend (elf); in process_elf_file()
4784 check_sections (ebl, ehdr); in process_elf_file()
[all …]
H A Dobjdump.c349 int elfclass = gelf_getclass (ebl->elf); in show_relocs_x()
371 destshdr = gelf_getshdr (elf_getscn (ebl->elf, in show_relocs_x()
475 int elfclass = gelf_getclass (ebl->elf); in show_relocs()
567 elf_strptr (ebl->elf, shstrndx, shdr->sh_name)); in show_full_content()
685 DisasmCtx_t *ctx = disasm_begin (ebl, ebl->elf, NULL /* XXX TODO */); in show_disasm()
757 Ebl *ebl = ebl_openbackend (elf); in handle_elf() local
761 ebl_backend_name (ebl)); in handle_elf()
777 if (elf_getshdrstrndx (ebl->elf, &shstrndx) < 0) in handle_elf()
783 result = show_disasm (ebl, fullname, shstrndx); in handle_elf()
785 result = show_relocs (ebl, fullname, shstrndx); in handle_elf()
[all …]
H A Dreadelf.c975 Ebl *pure_ebl = ebl; in process_elf_file()
1012 handle_hash (ebl); in process_elf_file()
5604 Ebl *ebl, in print_debug_rnglists_section() argument
9013 Ebl *ebl, in print_debug_loclists_section() argument
9695 Ebl *ebl, in print_debug_macinfo_section() argument
9861 Ebl *ebl, in print_debug_macro_section() argument
10248 Ebl *ebl, in print_debug_pubnames_section() argument
10263 Ebl *ebl, in print_debug_str_section() argument
10308 Ebl *ebl, in print_debug_str_offsets_section() argument
12319 colno = handle_core_registers (ebl, ebl->elf, desc + regs_offset, in handle_core_note()
[all …]
/dports/devel/elfutils/elfutils-0.179/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 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 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() argument
/dports/devel/elfutils/elfutils-0.179/libdwfl/
H A Ddwfl_frame.c49 Ebl *ebl = state->thread->process->ebl; in state_fetch_pc() local
58 if (ra >= ebl_frame_nregs (ebl)) in state_fetch_pc()
88 Ebl *ebl = thread->process->ebl; in state_alloc() local
155 Ebl *ebl; in dwfl_attach_state() local
159 ebl = ebl_openbackend (elf); in dwfl_attach_state()
164 ebl = NULL; in dwfl_attach_state()
182 ebl = mod->ebl; in dwfl_attach_state()
187 if (ebl == NULL) in dwfl_attach_state()
198 ebl_closebackend (ebl); in dwfl_attach_state()
202 process->ebl = ebl; in dwfl_attach_state()
[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()
516 Ebl *ebl = process->ebl; in new_unwound() local
558 Ebl *ebl = process->ebl; in handle_cfi() local
565 ebl_dwarf_to_regno (ebl, &ra); in handle_cfi()
609 regval &= ebl_func_addr_mask (ebl); in handle_cfi()
[all …]
H A Ddwfl_module.c82 if (mod->eh_cfi->ebl != NULL && mod->eh_cfi->ebl == mod->ebl) in __libdwfl_module_free()
83 mod->eh_cfi->ebl = NULL; in __libdwfl_module_free()
89 if (mod->dwarf_cfi->ebl != NULL && mod->dwarf_cfi->ebl == mod->ebl) in __libdwfl_module_free()
90 mod->dwarf_cfi->ebl = NULL; in __libdwfl_module_free()
108 if (mod->ebl != NULL) in __libdwfl_module_free()
109 ebl_closebackend (mod->ebl); in __libdwfl_module_free()
/dports/devel/monotone/monotone-1.1/test/func/importing_cvs_small_real_repo/cvs-repository/src/Attic/
H A Dobjdump.c,v374 int elfclass = gelf_getclass (ebl->elf);
447 int elfclass = gelf_getclass (ebl->elf);
552 int elfclass = gelf_getclass (ebl->elf);
640 elf_strptr (ebl->elf, shstrndx, shdr->sh_name));
722 DisasmCtx_t *ctx = disasm_begin (ebl, ebl->elf, NULL /* XXX TODO */);
770 Ebl *ebl = ebl_openbackend (elf);
774 ebl_backend_name (ebl));
790 if (elf_getshstrndx (ebl->elf, &shstrndx) < 0)
796 result = show_disasm (ebl, fullname, shstrndx);
798 result = show_relocs (ebl, fullname, shstrndx);
[all …]
/dports/devel/elfutils/elfutils-0.179/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()
/dports/devel/elfutils/elfutils-0.179/tests/
H A Dasm-tst4.c23 #include ELFUTILS_HEADER(ebl)
45 Ebl *ebl = ebl_openbackend_machine (EM_386); in main() local
46 if (ebl == NULL) in main()
52 ctx = asm_begin (fname, ebl, false); in main()
102 ebl_closebackend (ebl); in main()

12345678910>>...14