Home
last modified time | relevance | path

Searched refs:GElf_Addr (Results 1 – 25 of 70) sorted by relevance

123

/third_party/elfutils/libdwfl/
DlibdwflP.h128 GElf_Addr offline_next_address;
130 GElf_Addr segment_align; /* Smallest granularity of segments. */
135 GElf_Addr *lookup_addr; /* Start address of segment. */
156 GElf_Addr vaddr;
160 GElf_Addr address_sync;
171 GElf_Addr low_addr, high_addr;
174 GElf_Addr main_bias;
211 GElf_Addr build_id_vaddr; /* Address where they reside, 0 if unknown. */
335 static inline GElf_Addr
336 dwfl_adjusted_address (Dwfl_Module *mod, GElf_Addr addr) in dwfl_adjusted_address()
[all …]
Ddwfl_report_elf.c45 __libdwfl_elf_address_range (Elf *elf, GElf_Addr base, bool add_p_vaddr, in __libdwfl_elf_address_range()
46 bool sanity, GElf_Addr *vaddrp, in __libdwfl_elf_address_range()
47 GElf_Addr *address_syncp, GElf_Addr *startp, in __libdwfl_elf_address_range()
48 GElf_Addr *endp, GElf_Addr *biasp, in __libdwfl_elf_address_range()
59 GElf_Addr vaddr = 0; in __libdwfl_elf_address_range()
60 GElf_Addr address_sync = 0; in __libdwfl_elf_address_range()
61 GElf_Addr start = 0, end = 0, bias = 0; in __libdwfl_elf_address_range()
83 const GElf_Addr next = (end + align - 1) & -align; in __libdwfl_elf_address_range()
242 int fd, Elf *elf, GElf_Addr base, bool add_p_vaddr, in __libdwfl_report_elf()
245 GElf_Addr vaddr, address_sync, start, end, bias; in __libdwfl_report_elf()
[all …]
Dlink_map.c137 GElf_Addr vaddr, in integrated_memory_callback()
249 GElf_Addr vaddr, GElf_Addr *read_vaddr, in read_addrs()
250 size_t n, GElf_Addr *addrs /* [4] */) in read_addrs()
310 Dwfl *dwfl, GElf_Addr r_debug_vaddr, in report_r_debug()
316 GElf_Addr read_vaddr = r_debug_vaddr + addrsize (elfclass); in report_r_debug()
320 GElf_Addr addrs[4]; in report_r_debug()
328 GElf_Addr next = addrs[0]; in report_r_debug()
350 GElf_Addr l_name = addrs[1]; in report_r_debug()
351 GElf_Addr l_ld = addrs[2]; in report_r_debug()
419 GElf_Addr elf_dynamic_vaddr; in report_r_debug()
[all …]
Dsegment.c35 GElf_Addr
37 __libdwfl_segment_start (Dwfl *dwfl, GElf_Addr start) in __libdwfl_segment_start()
44 GElf_Addr
46 __libdwfl_segment_end (Dwfl *dwfl, GElf_Addr end) in __libdwfl_segment_end()
54 insert (Dwfl *dwfl, size_t i, GElf_Addr start, GElf_Addr end, int segndx) in insert()
66 GElf_Addr *naddr = realloc (dwfl->lookup_addr, sizeof naddr[0] * n); in insert()
131 lookup (Dwfl *dwfl, GElf_Addr address, int hint) in lookup()
166 const GElf_Addr start = __libdwfl_segment_start (dwfl, mod->low_addr); in reify_segments()
167 const GElf_Addr end = __libdwfl_segment_end (dwfl, mod->high_addr); in reify_segments()
287 dwfl_report_segment (Dwfl *dwfl, int ndx, const GElf_Phdr *phdr, GElf_Addr bias, in INTDEF()
[all …]
Ddwfl_module_addrsym.c38 GElf_Addr addr;
48 GElf_Addr closest_value;
55 GElf_Addr sizeless_value;
60 GElf_Addr min_label;
66 GElf_Addr value, Elf *symelf, GElf_Word shndx) in same_section()
90 GElf_Addr mod_addr = dwfl_deadjust_st_value (state->mod, symelf, in same_section()
132 GElf_Addr value, GElf_Sym *sym, in try_sym_value()
204 GElf_Addr value; in search_table()
225 GElf_Addr adjusted_st_value; in search_table()
244 __libdwfl_addrsym (Dwfl_Module *_mod, GElf_Addr _addr, GElf_Off *off, in __libdwfl_addrsym()
[all …]
Dlinux-proc-maps.c96 grovel_auxv (pid_t pid, Dwfl *dwfl, GElf_Addr *sysinfo_ehdr) in grovel_auxv()
107 GElf_Addr sysinfo_ehdr64 = 0; in grovel_auxv()
108 GElf_Addr sysinfo_ehdr32 = 0; in grovel_auxv()
109 GElf_Addr segment_align64 = dwfl->segment_align; in grovel_auxv()
110 GElf_Addr segment_align32 = dwfl->segment_align; in grovel_auxv()
200 proc_maps_report (Dwfl *dwfl, FILE *f, GElf_Addr sysinfo_ehdr, pid_t pid) in proc_maps_report()
300 GElf_Addr sysinfo_ehdr = 0; in INTDEF()
325 read_proc_memory (void *arg, void *data, GElf_Addr address, in INTDEF()
345 extern Elf *elf_from_remote_memory (GElf_Addr ehdr_vma,
347 GElf_Addr *loadbasep,
[all …]
Ddwfl_module_build_id.c37 const void *bits, int len, GElf_Addr vaddr) in found_build_id()
64 GElf_Addr build_id_elfaddr; in __libdwfl_find_build_id()
75 GElf_Addr build_id_vaddr = build_id_elfaddr + (build_id_elfaddr != 0 in __libdwfl_find_build_id()
83 const unsigned char **bits, GElf_Addr *vaddr) in dwfl_module_build_id()
114 GElf_Addr *vaddr) in _compat_vaddr_at_end_dwfl_module_build_id()
Ddwfl_segment_report_module.c60 GElf_Addr vaddr;
75 addr_segndx (Dwfl *dwfl, size_t segment, GElf_Addr addr, bool next) in addr_segndx()
147 handle_file_note (GElf_Addr module_start, GElf_Addr module_end, in handle_file_note()
261 GElf_Addr start, size_t segment, in read_portion()
262 GElf_Addr vaddr, size_t filesz) in read_portion()
315 GElf_Addr start = dwfl->lookup_addr[segment]; in dwfl_segment_report_module()
488 GElf_Addr bias = 0; in dwfl_segment_report_module()
492 GElf_Addr module_start = -1l; in dwfl_segment_report_module()
493 GElf_Addr module_end = 0; in dwfl_segment_report_module()
494 GElf_Addr module_address_sync = 0; in dwfl_segment_report_module()
[all …]
Dlibdwfl.h130 const GElf_Phdr *phdr, GElf_Addr bias,
153 GElf_Addr base, bool add_p_vaddr);
233 GElf_Addr vaddr)
245 const unsigned char **bits, GElf_Addr *vaddr)
420 extern Elf *dwfl_module_getelf (Dwfl_Module *, GElf_Addr *bias)
471 GElf_Sym *sym, GElf_Addr *addr,
477 extern const char *dwfl_module_addrname (Dwfl_Module *mod, GElf_Addr address);
498 extern const char *dwfl_module_addrinfo (Dwfl_Module *mod, GElf_Addr address,
513 extern const char *dwfl_module_addrsym (Dwfl_Module *mod, GElf_Addr address,
Delf-from-memory.c57 elf_from_remote_memory (GElf_Addr ehdr_vma, in elf_from_remote_memory()
59 GElf_Addr *loadbasep, in elf_from_remote_memory()
61 GElf_Addr address, in elf_from_remote_memory()
222 GElf_Addr loadbase = ehdr_vma; in elf_from_remote_memory()
245 GElf_Addr vaddr = class32 ? (*p32)[i].p_vaddr : (*p64)[i].p_vaddr; in elf_from_remote_memory()
302 GElf_Addr vaddr = class32 ? (*p32)[i].p_vaddr : (*p64)[i].p_vaddr; in elf_from_remote_memory()
Dcore-file.c246 GElf_Off *pend, GElf_Addr *pend_vaddr) in update_end()
256 GElf_Off *pend, GElf_Addr *pend_vaddr) in do_more()
285 GElf_Addr vaddr, in dwfl_elf_phdr_memory_callback()
312 GElf_Addr end_vaddr; in dwfl_elf_phdr_memory_callback()
427 __libdwfl_dynamic_vaddr_get (Elf *elf, GElf_Addr *vaddrp) in __libdwfl_dynamic_vaddr_get()
595 GElf_Addr file_dynamic_vaddr; in dwfl_core_file_report()
/third_party/elfutils/libdwelf/
Ddwelf_elf_gnu_build_id.c36 #define NO_VADDR ((GElf_Addr) -1l)
39 check_notes (Elf_Data *data, GElf_Addr data_elfaddr, in check_notes()
40 const void **build_id_bits, GElf_Addr *build_id_elfaddr, in check_notes()
65 const void **build_id_bits, GElf_Addr *build_id_elfaddr, in find_elf_build_id()
108 GElf_Addr vaddr = 0; in find_elf_build_id()
131 GElf_Addr *build_id_elfaddr, int *build_id_len) in __libdwfl_find_elf_build_id()
149 GElf_Addr build_id_elfaddr; in dwelf_elf_gnu_build_id()
/third_party/elfutils/libasm/
Ddisasm_cb.c47 default_elf_getsym (GElf_Addr addr, Elf32_Word scnndx, GElf_Addr value, in default_elf_getsym()
69 GElf_Addr addr;
145 null_elf_getsym (GElf_Addr addr __attribute__ ((unused)), in null_elf_getsym()
147 GElf_Addr value __attribute__ ((unused)), in null_elf_getsym()
158 GElf_Addr addr, const char *fmt, DisasmOutputCB_t outcb, in disasm_cb()
Dlibasm.h59 typedef int (*DisasmGetSymCB_t) (GElf_Addr, Elf32_Word, GElf_Addr, char **,
151 GElf_Xword size, GElf_Addr align);
155 GElf_Xword size, GElf_Addr value,
190 const uint8_t *end, GElf_Addr addr, const char *fmt,
196 const uint8_t *end, GElf_Addr addr, const char *fmt,
/third_party/libabigail/src/
Dabg-elf-helpers.h40 typedef unordered_map<GElf_Addr, elf_symbol_sptr> addr_elf_symbol_sptr_map_type;
43 typedef unordered_set<GElf_Addr> address_set_type;
186 GElf_Addr
188 GElf_Addr fn_desc_address);
215 get_binary_load_address(Elf* elf_handle, GElf_Addr& load_address);
226 GElf_Addr
Dabg-symtab-reader.h242 lookup_symbol(GElf_Addr symbol_addr) const;
254 update_main_symbol(GElf_Addr addr, const std::string& name);
279 typedef std::unordered_map<GElf_Addr, elf_symbol_sptr> addr_symbol_map_type;
294 GElf_Addr
Dabg-symtab-reader.cc101 symtab::lookup_symbol(GElf_Addr symbol_addr) const in lookup_symbol()
504 symtab::update_main_symbol(GElf_Addr addr, const std::string& name) in update_main_symbol()
538 GElf_Addr
548 GElf_Addr symbol_value = in setup_symbol_lookup_tables()
622 const GElf_Addr fn_desc_addr = native_symbol->st_value; in update_function_entry_address_symbol_map()
623 const GElf_Addr fn_entry_point_addr = in update_function_entry_address_symbol_map()
/third_party/elfutils/include/elfutils/
Dlibdwfl.h130 const GElf_Phdr *phdr, GElf_Addr bias,
153 GElf_Addr base, bool add_p_vaddr);
233 GElf_Addr vaddr)
245 const unsigned char **bits, GElf_Addr *vaddr)
420 extern Elf *dwfl_module_getelf (Dwfl_Module *, GElf_Addr *bias)
471 GElf_Sym *sym, GElf_Addr *addr,
477 extern const char *dwfl_module_addrname (Dwfl_Module *mod, GElf_Addr address);
498 extern const char *dwfl_module_addrinfo (Dwfl_Module *mod, GElf_Addr address,
513 extern const char *dwfl_module_addrsym (Dwfl_Module *mod, GElf_Addr address,
/third_party/elfutils/libdw/
Ddwarf_getcfi_elf.c44 allocate_cfi (Elf *elf, const GElf_Ehdr *ehdr, GElf_Addr vaddr) in allocate_cfi()
75 parse_eh_frame_hdr (const uint8_t *hdr, size_t hdr_size, GElf_Addr hdr_vaddr, in parse_eh_frame_hdr()
76 const GElf_Ehdr *ehdr, GElf_Addr *eh_frame_vaddr, in parse_eh_frame_hdr()
219 Elf_Scn *hdr_scn, GElf_Addr hdr_vaddr) in getcfi_scn_eh_frame()
237 GElf_Addr eh_frame_vaddr; in getcfi_scn_eh_frame()
285 GElf_Addr hdr_vaddr = 0; in getcfi_shdr()
/third_party/elfutils/tests/
Ddwflsyms.c98 addr_in_section (Elf *elf, GElf_Word shndx, GElf_Addr addr) in addr_in_section()
133 GElf_Addr value; in list_syms()
155 GElf_Addr addr = value; in list_syms()
187 GElf_Addr ebias; in list_syms()
/third_party/elfutils/backends/
Dppc_symbol.c98 find_dyn_got (Elf *elf, GElf_Addr *addr) in find_dyn_got()
148 GElf_Addr gotaddr; in ppc_check_special_symbol()
186 GElf_Addr addr; in ppc_bss_plt_p()
/third_party/elfutils/libebl/
Deblinitreg.c54 GElf_Addr
58 ? ~(GElf_Addr)0 : ebl->func_addr_mask); in ebl_func_addr_mask()
DlibeblP.h73 GElf_Addr func_addr_mask;
77 GElf_Addr fd_addr;
/third_party/elfutils/src/
Dfindtextrel.c43 GElf_Addr from;
44 GElf_Addr to;
92 GElf_Addr addr, Elf *elf, Elf_Scn *symscn, Dwarf *dw,
483 GElf_Addr addr, Elf *elf, Elf_Scn *symscn, Dwarf *dw, in check_rel()
520 GElf_Addr lowaddr = 0; in check_rel()
522 GElf_Addr highaddr = ~0ul; in check_rel()
/third_party/libabigail/include/
Dabg-elf-reader.h131 function_symbol_is_exported(GElf_Addr symbol_address) const;
134 variable_symbol_is_exported(GElf_Addr symbol_address) const;

123