Lines Matching refs:mod

302   Dwfl_Module *mod;		/* Pointer back to containing module.  */  member
336 dwfl_adjusted_address (Dwfl_Module *mod, GElf_Addr addr) in dwfl_adjusted_address() argument
338 return addr + mod->main_bias; in dwfl_adjusted_address()
342 dwfl_deadjust_address (Dwfl_Module *mod, GElf_Addr addr) in dwfl_deadjust_address() argument
344 return addr - mod->main_bias; in dwfl_deadjust_address()
348 dwfl_adjusted_dwarf_addr (Dwfl_Module *mod, Dwarf_Addr addr) in dwfl_adjusted_dwarf_addr() argument
350 return dwfl_adjusted_address (mod, (addr in dwfl_adjusted_dwarf_addr()
351 - mod->debug.address_sync in dwfl_adjusted_dwarf_addr()
352 + mod->main.address_sync)); in dwfl_adjusted_dwarf_addr()
356 dwfl_deadjust_dwarf_addr (Dwfl_Module *mod, Dwarf_Addr addr) in dwfl_deadjust_dwarf_addr() argument
358 return (dwfl_deadjust_address (mod, addr) in dwfl_deadjust_dwarf_addr()
359 - mod->main.address_sync in dwfl_deadjust_dwarf_addr()
360 + mod->debug.address_sync); in dwfl_deadjust_dwarf_addr()
364 dwfl_adjusted_aux_sym_addr (Dwfl_Module *mod, Dwarf_Addr addr) in dwfl_adjusted_aux_sym_addr() argument
366 return dwfl_adjusted_address (mod, (addr in dwfl_adjusted_aux_sym_addr()
367 - mod->aux_sym.address_sync in dwfl_adjusted_aux_sym_addr()
368 + mod->main.address_sync)); in dwfl_adjusted_aux_sym_addr()
372 dwfl_deadjust_aux_sym_addr (Dwfl_Module *mod, Dwarf_Addr addr) in dwfl_deadjust_aux_sym_addr() argument
374 return (dwfl_deadjust_address (mod, addr) in dwfl_deadjust_aux_sym_addr()
375 - mod->main.address_sync in dwfl_deadjust_aux_sym_addr()
376 + mod->aux_sym.address_sync); in dwfl_deadjust_aux_sym_addr()
380 dwfl_adjusted_st_value (Dwfl_Module *mod, Elf *symelf, GElf_Addr addr) in dwfl_adjusted_st_value() argument
382 if (symelf == mod->main.elf) in dwfl_adjusted_st_value()
383 return dwfl_adjusted_address (mod, addr); in dwfl_adjusted_st_value()
384 if (symelf == mod->debug.elf) in dwfl_adjusted_st_value()
385 return dwfl_adjusted_dwarf_addr (mod, addr); in dwfl_adjusted_st_value()
386 return dwfl_adjusted_aux_sym_addr (mod, addr); in dwfl_adjusted_st_value()
390 dwfl_deadjust_st_value (Dwfl_Module *mod, Elf *symelf, GElf_Addr addr) in dwfl_deadjust_st_value() argument
392 if (symelf == mod->main.elf) in dwfl_deadjust_st_value()
393 return dwfl_deadjust_address (mod, addr); in dwfl_deadjust_st_value()
394 if (symelf == mod->debug.elf) in dwfl_deadjust_st_value()
395 return dwfl_deadjust_dwarf_addr (mod, addr); in dwfl_deadjust_st_value()
396 return dwfl_deadjust_aux_sym_addr (mod, addr); in dwfl_deadjust_st_value()
449 extern const char *__libdwfl_getsym (Dwfl_Module *mod, int ndx, GElf_Sym *sym,
458 extern const char *__libdwfl_addrsym (Dwfl_Module *mod, GElf_Addr addr,
464 extern void __libdwfl_module_free (Dwfl_Module *mod) internal_function;
467 extern void __libdwfl_getelf (Dwfl_Module *mod) internal_function;
476 extern Dwfl_Error __libdwfl_relocate (Dwfl_Module *mod, Elf *file, bool debug)
482 extern size_t __libdwfl_find_section_ndx (Dwfl_Module *mod, Dwarf_Addr *addr)
487 extern Dwfl_Error __libdwfl_relocate_section (Dwfl_Module *mod, Elf *relocated,
495 extern Dwfl_Error __libdwfl_relocate_value (Dwfl_Module *mod, Elf *elf,
502 extern Dwfl_Error __libdwfl_module_getebl (Dwfl_Module *mod) internal_function;
505 extern Dwarf_CFI *__libdwfl_set_cfi (Dwfl_Module *mod, Dwarf_CFI **slot,
512 extern Dwfl_Error __libdwfl_nextcu (Dwfl_Module *mod, struct dwfl_cu *lastcu,
516 extern Dwfl_Error __libdwfl_addrcu (Dwfl_Module *mod, Dwarf_Addr addr,
528 extern int __libdwfl_find_elf_build_id (Dwfl_Module *mod, Elf *elf,
538 extern int __libdwfl_find_build_id (Dwfl_Module *mod, bool set, Elf *elf)
542 extern int __libdwfl_open_mod_by_build_id (Dwfl_Module *mod, bool debug,
546 extern int __libdwfl_open_by_build_id (Dwfl_Module *mod, bool debug,
643 typedef bool Dwfl_Module_Callback (Dwfl_Module *mod, void **userdata,
767 #define MODCB_ARGS(mod) (mod), &(mod)->userdata, (mod)->name, (mod)->low_addr argument