Home
last modified time | relevance | path

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

123

/external/elfutils/libdwfl/
DlibdwflP.h126 GElf_Addr offline_next_address;
128 GElf_Addr segment_align; /* Smallest granularity of segments. */
133 GElf_Addr *lookup_addr; /* Start address of segment. */
159 GElf_Addr vaddr;
163 GElf_Addr address_sync;
174 GElf_Addr low_addr, high_addr;
177 GElf_Addr main_bias;
212 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.c43 __libdwfl_elf_address_range (Elf *elf, GElf_Addr base, bool add_p_vaddr, in __libdwfl_elf_address_range()
44 bool sanity, GElf_Addr *vaddrp, in __libdwfl_elf_address_range()
45 GElf_Addr *address_syncp, GElf_Addr *startp, in __libdwfl_elf_address_range()
46 GElf_Addr *endp, GElf_Addr *biasp, in __libdwfl_elf_address_range()
57 GElf_Addr vaddr = 0; in __libdwfl_elf_address_range()
58 GElf_Addr address_sync = 0; in __libdwfl_elf_address_range()
59 GElf_Addr start = 0, end = 0, bias = 0; in __libdwfl_elf_address_range()
81 const GElf_Addr next = (end + align - 1) & -align; in __libdwfl_elf_address_range()
240 int fd, Elf *elf, GElf_Addr base, bool add_p_vaddr, in __libdwfl_report_elf()
243 GElf_Addr vaddr, address_sync, start, end, bias; in __libdwfl_report_elf()
[all …]
Dlink_map.c142 GElf_Addr vaddr, in integrated_memory_callback()
246 Dwfl *dwfl, GElf_Addr r_debug_vaddr, in report_r_debug()
252 GElf_Addr read_vaddr = r_debug_vaddr + addrsize (elfclass); in report_r_debug()
264 GElf_Addr addrs[4]; in report_r_debug()
265 inline bool read_addrs (GElf_Addr vaddr, size_t n) in report_r_debug()
313 GElf_Addr next = addrs[0]; in report_r_debug()
333 GElf_Addr l_name = addrs[1]; in report_r_debug()
334 GElf_Addr l_ld = addrs[2]; in report_r_debug()
401 GElf_Addr elf_dynamic_vaddr; in report_r_debug()
406 GElf_Addr build_id_elfaddr; in report_r_debug()
[all …]
Dsegment.c31 GElf_Addr
33 __libdwfl_segment_start (Dwfl *dwfl, GElf_Addr start) in __libdwfl_segment_start()
40 GElf_Addr
42 __libdwfl_segment_end (Dwfl *dwfl, GElf_Addr end) in __libdwfl_segment_end()
50 insert (Dwfl *dwfl, size_t i, GElf_Addr start, GElf_Addr end, int segndx) in insert()
62 GElf_Addr *naddr = realloc (dwfl->lookup_addr, sizeof naddr[0] * n); in insert()
127 lookup (Dwfl *dwfl, GElf_Addr address, int hint) in lookup()
162 const GElf_Addr start = __libdwfl_segment_start (dwfl, mod->low_addr); in reify_segments()
163 const GElf_Addr end = __libdwfl_segment_end (dwfl, mod->high_addr); in reify_segments()
283 dwfl_report_segment (Dwfl *dwfl, int ndx, const GElf_Phdr *phdr, GElf_Addr bias, in INTDEF()
[all …]
Ddwfl_module_addrsym.c34 GElf_Addr addr;
44 GElf_Addr closest_value;
51 GElf_Addr sizeless_value;
56 GElf_Addr min_label;
62 GElf_Addr value, Elf *symelf, GElf_Word shndx) in same_section()
86 GElf_Addr mod_addr = dwfl_deadjust_st_value (state->mod, symelf, in same_section()
128 GElf_Addr value, GElf_Sym *sym, in try_sym_value()
200 GElf_Addr value; in search_table()
221 GElf_Addr adjusted_st_value; in search_table()
237 __libdwfl_addrsym (Dwfl_Module *_mod, GElf_Addr _addr, GElf_Off *off, in __libdwfl_addrsym()
[all …]
Dlinux-proc-maps.c92 grovel_auxv (pid_t pid, Dwfl *dwfl, GElf_Addr *sysinfo_ehdr) in grovel_auxv()
103 GElf_Addr sysinfo_ehdr64 = 0; in grovel_auxv()
104 GElf_Addr sysinfo_ehdr32 = 0; in grovel_auxv()
105 GElf_Addr segment_align64 = dwfl->segment_align; in grovel_auxv()
106 GElf_Addr segment_align32 = dwfl->segment_align; in grovel_auxv()
196 proc_maps_report (Dwfl *dwfl, FILE *f, GElf_Addr sysinfo_ehdr, pid_t pid) in proc_maps_report()
292 GElf_Addr sysinfo_ehdr = 0; in INTDEF()
317 read_proc_memory (void *arg, void *data, GElf_Addr address, in INTDEF()
337 extern Elf *elf_from_remote_memory (GElf_Addr ehdr_vma,
339 GElf_Addr *loadbasep,
[all …]
Ddwfl_segment_report_module.c64 addr_segndx (Dwfl *dwfl, size_t segment, GElf_Addr addr, bool next) in addr_segndx()
136 handle_file_note (GElf_Addr module_start, GElf_Addr module_end, in handle_file_note()
261 GElf_Addr start = dwfl->lookup_addr[segment]; in dwfl_segment_report_module()
265 GElf_Addr addr, size_t minread) in dwfl_segment_report_module()
305 GElf_Addr vaddr, size_t filesz) in dwfl_segment_report_module()
430 GElf_Addr bias = 0; in dwfl_segment_report_module()
434 GElf_Addr module_start = -1l; in dwfl_segment_report_module()
435 GElf_Addr module_end = 0; in dwfl_segment_report_module()
436 GElf_Addr module_address_sync = 0; in dwfl_segment_report_module()
439 GElf_Addr dyn_vaddr = 0; in dwfl_segment_report_module()
[all …]
Ddwfl_module_build_id.c33 const void *bits, int len, GElf_Addr vaddr) in found_build_id()
60 GElf_Addr build_id_elfaddr; in __libdwfl_find_build_id()
71 GElf_Addr build_id_vaddr = build_id_elfaddr + (build_id_elfaddr != 0 in __libdwfl_find_build_id()
78 const unsigned char **bits, GElf_Addr *vaddr) in dwfl_module_build_id()
110 GElf_Addr *vaddr) in _compat_vaddr_at_end_dwfl_module_build_id()
Dlibdwfl.h139 const GElf_Phdr *phdr, GElf_Addr bias,
162 GElf_Addr base, bool add_p_vaddr);
238 GElf_Addr vaddr)
250 const unsigned char **bits, GElf_Addr *vaddr)
425 extern Elf *dwfl_module_getelf (Dwfl_Module *, GElf_Addr *bias)
476 GElf_Sym *sym, GElf_Addr *addr,
482 extern const char *dwfl_module_addrname (Dwfl_Module *mod, GElf_Addr address);
503 extern const char *dwfl_module_addrinfo (Dwfl_Module *mod, GElf_Addr address,
518 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()
216 GElf_Addr loadbase = ehdr_vma; in elf_from_remote_memory()
226 inline bool handle_segment (GElf_Addr vaddr, GElf_Off offset, in elf_from_remote_memory()
306 inline bool handle_segment (GElf_Addr vaddr, GElf_Off offset, 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()
424 __libdwfl_dynamic_vaddr_get (Elf *elf, GElf_Addr *vaddrp) in __libdwfl_dynamic_vaddr_get()
573 GElf_Addr file_dynamic_vaddr; in dwfl_core_file_report()
Ddwfl_module_getdwarf.c235 consider_shdr (GElf_Addr interp, in consider_shdr()
238 GElf_Addr sh_addr, in consider_shdr()
240 GElf_Addr *phighest) in consider_shdr()
246 const GElf_Addr sh_end = sh_addr + sh_size; in consider_shdr()
365 GElf_Addr main_interp = 0; in find_prelink_address_sync()
387 GElf_Addr undo_interp = 0; in find_prelink_address_sync()
467 GElf_Addr highest; in find_prelink_address_sync()
660 find_offsets (Elf *elf, GElf_Addr main_bias, size_t phnum, size_t n, in find_offsets()
661 GElf_Addr addrs[n], GElf_Off offs[n]) in find_offsets()
696 translate_offs (GElf_Addr adjust, in translate_offs()
[all …]
Ddwfl_module_getsym.c33 __libdwfl_getsym (Dwfl_Module *mod, int ndx, GElf_Sym *sym, GElf_Addr *addr, in __libdwfl_getsym()
122 GElf_Addr st_value = sym->st_value & ebl_func_addr_mask (mod->ebl); in __libdwfl_getsym()
198 GElf_Sym *sym, GElf_Addr *addr, in dwfl_module_getsym_info()
/external/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()
106 GElf_Addr vaddr = 0; in find_elf_build_id()
129 GElf_Addr *build_id_elfaddr, int *build_id_len) in __libdwfl_find_elf_build_id()
147 GElf_Addr build_id_elfaddr; in dwelf_elf_gnu_build_id()
/external/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;
143 null_elf_getsym (GElf_Addr addr __attribute__ ((unused)), in null_elf_getsym()
145 GElf_Addr value __attribute__ ((unused)), in null_elf_getsym()
156 GElf_Addr addr, const char *fmt, DisasmOutputCB_t outcb, in disasm_cb()
Dlibasm.h58 typedef int (*DisasmGetSymCB_t) (GElf_Addr, Elf32_Word, GElf_Addr, char **,
150 GElf_Xword size, GElf_Addr align);
154 GElf_Xword size, GElf_Addr value,
189 const uint8_t *end, GElf_Addr addr, const char *fmt,
195 const uint8_t *end, GElf_Addr addr, const char *fmt,
/external/elfutils/include/elfutils/
Dlibdwfl.h139 const GElf_Phdr *phdr, GElf_Addr bias,
162 GElf_Addr base, bool add_p_vaddr);
238 GElf_Addr vaddr)
250 const unsigned char **bits, GElf_Addr *vaddr)
425 extern Elf *dwfl_module_getelf (Dwfl_Module *, GElf_Addr *bias)
476 GElf_Sym *sym, GElf_Addr *addr,
482 extern const char *dwfl_module_addrname (Dwfl_Module *mod, GElf_Addr address);
503 extern const char *dwfl_module_addrinfo (Dwfl_Module *mod, GElf_Addr address,
518 extern const char *dwfl_module_addrsym (Dwfl_Module *mod, GElf_Addr address,
/external/elfutils/libdw/
Ddwarf_getcfi_elf.c44 allocate_cfi (Elf *elf, GElf_Addr vaddr) in allocate_cfi()
73 parse_eh_frame_hdr (const uint8_t *hdr, size_t hdr_size, GElf_Addr hdr_vaddr, in parse_eh_frame_hdr()
74 const GElf_Ehdr *ehdr, GElf_Addr *eh_frame_vaddr, in parse_eh_frame_hdr()
217 Elf_Scn *hdr_scn, GElf_Addr hdr_vaddr) in getcfi_scn_eh_frame()
235 GElf_Addr eh_frame_vaddr; in getcfi_scn_eh_frame()
283 GElf_Addr hdr_vaddr = 0; in getcfi_shdr()
/external/elfutils/tests/
Ddwflsyms.c99 addr_in_section (Elf *elf, GElf_Word shndx, GElf_Addr addr) in addr_in_section()
134 GElf_Addr value; in list_syms()
156 GElf_Addr addr = value; in list_syms()
188 GElf_Addr ebias; in list_syms()
/external/elfutils/backends/
Dppc_symbol.c84 find_dyn_got (Elf *elf, GElf_Addr *addr) in find_dyn_got()
134 GElf_Addr gotaddr; in ppc_check_special_symbol()
169 GElf_Addr addr; in ppc_bss_plt_p()
/external/elfutils/src/
Dfindtextrel.c44 GElf_Addr from;
45 GElf_Addr to;
94 GElf_Addr addr, Elf *elf, Elf_Scn *symscn, Dwarf *dw,
507 GElf_Addr addr, Elf *elf, Elf_Scn *symscn, Dwarf *dw, in check_rel()
544 GElf_Addr lowaddr = 0; in check_rel()
546 GElf_Addr highaddr = ~0ul; in check_rel()
/external/elfutils/libebl/
Deblinitreg.c54 GElf_Addr
58 ? ~(GElf_Addr)0 : ebl->func_addr_mask); in ebl_func_addr_mask()
DlibeblP.h77 GElf_Addr func_addr_mask;
81 GElf_Addr fd_addr;
Deblobjnote.c105 GElf_Addr pc; in ebl_object_note()
106 GElf_Addr base; in ebl_object_note()
107 GElf_Addr sem; in ebl_object_note()
Debl-hooks.h154 GElf_Addr addr, const char *fmt, DisasmOutputCB_t outcb,
192 bool EBLHOOK(resolve_sym_value) (Ebl *ebl, GElf_Addr *addr);

123