Home
last modified time | relevance | path

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

1234

/external/elfutils/src/libdwfl/
DlibdwflP.h116 GElf_Addr offline_next_address;
118 GElf_Addr segment_align; /* Smallest granularity of segments. */
123 GElf_Addr *lookup_addr; /* Start address of segment. */
149 GElf_Addr vaddr;
153 GElf_Addr address_sync;
164 GElf_Addr low_addr, high_addr;
167 GElf_Addr main_bias;
202 GElf_Addr build_id_vaddr; /* Address where they reside, 0 if unknown. */
325 static inline GElf_Addr
326 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.c135 GElf_Addr vaddr, in integrated_memory_callback()
239 Dwfl *dwfl, GElf_Addr r_debug_vaddr, in report_r_debug()
245 GElf_Addr read_vaddr = r_debug_vaddr + addrsize (elfclass); in report_r_debug()
257 GElf_Addr addrs[4]; in report_r_debug()
258 inline bool read_addrs (GElf_Addr vaddr, size_t n) in report_r_debug()
309 GElf_Addr next = addrs[0]; in report_r_debug()
329 GElf_Addr l_name = addrs[1]; in report_r_debug()
330 GElf_Addr l_ld = addrs[2]; in report_r_debug()
395 GElf_Addr elf_dynamic_vaddr; in report_r_debug()
400 GElf_Addr build_id_elfaddr; in report_r_debug()
[all …]
Ddwfl_module_addrsym.c36 __libdwfl_addrsym (Dwfl_Module *mod, GElf_Addr addr, GElf_Off *off, in __libdwfl_addrsym()
47 inline bool same_section (GElf_Addr value, Elf *symelf, GElf_Word shndx) in __libdwfl_addrsym()
71 GElf_Addr mod_addr = dwfl_deadjust_st_value (mod, symelf, addr); in __libdwfl_addrsym()
95 GElf_Addr closest_value = 0; in __libdwfl_addrsym()
102 GElf_Addr sizeless_value = 0; in __libdwfl_addrsym()
107 GElf_Addr min_label = 0; in __libdwfl_addrsym()
110 inline void try_sym_value (GElf_Addr value, GElf_Sym *sym, in __libdwfl_addrsym()
196 GElf_Addr value; in __libdwfl_addrsym()
216 GElf_Addr adjusted_st_value; in __libdwfl_addrsym()
272 dwfl_module_addrsym (Dwfl_Module *mod, GElf_Addr addr, in dwfl_module_addrsym()
[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()
61 GElf_Addr *naddr = realloc (dwfl->lookup_addr, sizeof naddr[0] * n); in insert()
126 lookup (Dwfl *dwfl, GElf_Addr address, int hint) in lookup()
161 const GElf_Addr start = __libdwfl_segment_start (dwfl, mod->low_addr); in reify_segments()
162 const GElf_Addr end = __libdwfl_segment_end (dwfl, mod->high_addr); in reify_segments()
282 dwfl_report_segment (Dwfl *dwfl, int ndx, const GElf_Phdr *phdr, GElf_Addr bias, in INTDEF()
[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()
179 proc_maps_report (Dwfl *dwfl, FILE *f, GElf_Addr sysinfo_ehdr, pid_t pid) in proc_maps_report()
289 GElf_Addr sysinfo_ehdr = 0; in INTDEF()
314 read_proc_memory (void *arg, void *data, GElf_Addr address, in INTDEF()
327 extern Elf *elf_from_remote_memory (GElf_Addr ehdr_vma,
329 GElf_Addr *loadbasep,
[all …]
Ddwfl_segment_report_module.c61 addr_segndx (Dwfl *dwfl, size_t segment, GElf_Addr addr, bool next) in addr_segndx()
133 handle_file_note (GElf_Addr module_start, GElf_Addr module_end, in handle_file_note()
258 GElf_Addr start = dwfl->lookup_addr[segment]; in dwfl_segment_report_module()
262 GElf_Addr addr, size_t minread) in dwfl_segment_report_module()
297 GElf_Addr vaddr, size_t filesz) in dwfl_segment_report_module()
419 GElf_Addr bias = 0; in dwfl_segment_report_module()
423 GElf_Addr module_start = -1l; in dwfl_segment_report_module()
424 GElf_Addr module_end = 0; in dwfl_segment_report_module()
425 GElf_Addr module_address_sync = 0; in dwfl_segment_report_module()
428 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)
423 extern Elf *dwfl_module_getelf (Dwfl_Module *, GElf_Addr *bias)
474 GElf_Sym *sym, GElf_Addr *addr,
480 extern const char *dwfl_module_addrname (Dwfl_Module *mod, GElf_Addr address);
501 extern const char *dwfl_module_addrinfo (Dwfl_Module *mod, GElf_Addr address,
516 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()
200 GElf_Addr loadbase = ehdr_vma; in elf_from_remote_memory()
208 inline bool handle_segment (GElf_Addr vaddr, GElf_Off offset, in elf_from_remote_memory()
285 inline bool handle_segment (GElf_Addr vaddr, GElf_Off offset, in elf_from_remote_memory()
/external/ltrace/
Dltrace-elf.h48 GElf_Addr plt_addr;
61 GElf_Addr *opd_addr;
63 GElf_Addr dyn_addr;
65 GElf_Addr bias;
66 GElf_Addr entry_addr;
67 GElf_Addr base_addr;
78 const char *filename, GElf_Addr bias);
118 int elf_get_section_covering(struct ltelf *lte, GElf_Addr addr,
144 int elf_load_dynamic_entry(struct ltelf *lte, int tag, GElf_Addr *valuep);
/external/ltrace/sysdeps/linux-gnu/ppc/
Dplt.c152 mark_as_resolved(struct library_symbol *libsym, GElf_Addr value) in mark_as_resolved()
221 = (GElf_Addr) (uintptr_t) libsym->enter_addr; in arch_dynlink_done()
242 GElf_Addr
269 return (GElf_Addr) (uintptr_t) res_addr; in arch_plt_sym_val()
313 = (GElf_Addr)(uintptr_t)addr - lte->arch.opd_base; in arch_translate_address()
356 static GElf_Addr
357 get_glink_vma(struct ltelf *lte, GElf_Addr ppcgot, Elf_Data *plt_data) in get_glink_vma()
386 return (GElf_Addr)glink_vma; in get_glink_vma()
398 return (GElf_Addr)glink_vma; in get_glink_vma()
455 GElf_Addr rela, relasz; in arch_elf_init()
[all …]
Darch.h54 GElf_Addr plt_stub_vma;
57 GElf_Addr opd_base;
67 GElf_Addr pltgot_addr;
110 GElf_Addr resolved_value;
115 GElf_Addr plt_slot_addr;
/external/elfutils/src/libasm/
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,
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()
/external/elfutils/src/libdwelf/
Ddwelf_elf_gnu_build_id.c36 #define NO_VADDR ((GElf_Addr) -1l)
42 const void **build_id_bits, GElf_Addr *build_id_elfaddr, in find_elf_build_id()
45 int check_notes (Elf_Data *data, GElf_Addr data_elfaddr) in find_elf_build_id()
100 GElf_Addr vaddr = 0; in find_elf_build_id()
120 GElf_Addr *build_id_elfaddr, int *build_id_len) in __libdwfl_find_elf_build_id()
138 GElf_Addr build_id_elfaddr; in dwelf_elf_gnu_build_id()
/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)
423 extern Elf *dwfl_module_getelf (Dwfl_Module *, GElf_Addr *bias)
474 GElf_Sym *sym, GElf_Addr *addr,
480 extern const char *dwfl_module_addrname (Dwfl_Module *mod, GElf_Addr address);
501 extern const char *dwfl_module_addrinfo (Dwfl_Module *mod, GElf_Addr address,
516 extern const char *dwfl_module_addrsym (Dwfl_Module *mod, GElf_Addr address,
/external/elfutils/src/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()
211 Elf_Scn *hdr_scn, GElf_Addr hdr_vaddr) in getcfi_scn_eh_frame()
228 GElf_Addr eh_frame_vaddr; in getcfi_scn_eh_frame()
266 GElf_Addr hdr_vaddr = 0; in getcfi_shdr()
/external/ltrace/sysdeps/linux-gnu/x86/
Dplt.c30 static GElf_Addr
38 GElf_Addr
120 GElf_Addr offset = x86_plt_offset(i); in arch_elf_init()
/external/elfutils/src/backends/
Dppc_symbol.c84 find_dyn_got (Elf *elf, GElf_Addr *addr) in find_dyn_got()
133 GElf_Addr gotaddr; in ppc_check_special_symbol()
163 GElf_Addr addr; in ppc_bss_plt_p()
/external/elfutils/src/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/src/libebl/
Deblinitreg.c53 GElf_Addr
57 ? ~(GElf_Addr)0 : ebl->func_addr_mask); in ebl_func_addr_mask()
DlibeblP.h71 GElf_Addr func_addr_mask;
75 GElf_Addr fd_addr;
Deblobjnote.c107 GElf_Addr pc;
108 GElf_Addr base;
109 GElf_Addr sem;
/external/ltrace/sysdeps/linux-gnu/mips/
Darch.h67 GElf_Addr resolved_addr;
68 GElf_Addr stub_addr;

1234