Home
last modified time | relevance | path

Searched refs:elfp (Results 1 - 11 of 11) sorted by relevance

/third_party/elfutils/libdwfl/
H A Dopen.c106 what_kind (int fd, Elf **elfp, Elf_Kind *kind, bool *may_close_fd) in what_kind() argument
109 *kind = elf_kind (*elfp); in what_kind()
112 if (unlikely (*elfp == NULL)) in what_kind()
116 error = decompress (fd, elfp); in what_kind()
120 *kind = elf_kind (*elfp); in what_kind()
128 libdw_open_elf (int *fdp, Elf **elfp, bool close_on_fail, bool archive_ok, in libdw_open_elf() argument
134 use_elfp ? *elfp : elf_begin (*fdp, ELF_C_READ_MMAP_PRIVATE, NULL); in libdw_open_elf()
193 *elfp = elf; in libdw_open_elf()
198 __libdw_open_file (int *fdp, Elf **elfp, bool close_on_fail, bool archive_ok) in __libdw_open_file() argument
200 return libdw_open_elf (fdp, elfp, close_on_fai in __libdw_open_file()
205 __libdw_open_elf_memory(char *data, size_t size, Elf **elfp, bool archive_ok) __libdw_open_elf_memory() argument
221 __libdw_open_elf(int fd, Elf **elfp) __libdw_open_elf() argument
[all...]
H A Ddwfl_build_id_find_elf.c147 char **file_name, Elf **elfp) in dwfl_build_id_find_elf()
149 *elfp = NULL; in dwfl_build_id_find_elf()
172 Dwfl_Error error = __libdw_open_file (&fd, elfp, true, false); in dwfl_build_id_find_elf()
175 else if (__libdwfl_find_build_id (mod, false, *elfp) == 2) in dwfl_build_id_find_elf()
184 elf_end (*elfp); in dwfl_build_id_find_elf()
185 *elfp = NULL; in dwfl_build_id_find_elf()
143 dwfl_build_id_find_elf(Dwfl_Module *mod, void **userdata __attribute__ ((unused)), const char *modname __attribute__ ((unused)), Dwarf_Addr base __attribute__ ((unused)), char **file_name, Elf **elfp) dwfl_build_id_find_elf() argument
H A Ddwfl_module_getsym.c38 GElf_Word *shndxp, Elf **elfp, Dwarf_Addr *biasp, in __libdwfl_getsym()
193 if (elfp) in __libdwfl_getsym()
194 *elfp = elf; in __libdwfl_getsym()
204 Elf **elfp, Dwarf_Addr *bias) in dwfl_module_getsym_info()
207 return __libdwfl_getsym (mod, ndx, sym, addr, shndxp, elfp, bias, in dwfl_module_getsym_info()
37 __libdwfl_getsym(Dwfl_Module *mod, int ndx, GElf_Sym *sym, GElf_Addr *addr, GElf_Word *shndxp, Elf **elfp, Dwarf_Addr *biasp, bool *resolved, bool adjust_st_value) __libdwfl_getsym() argument
201 dwfl_module_getsym_info(Dwfl_Module *mod, int ndx, GElf_Sym *sym, GElf_Addr *addr, GElf_Word *shndxp, Elf **elfp, Dwarf_Addr *bias) dwfl_module_getsym_info() argument
H A Ddwfl_module_addrsym.c246 Elf **elfp, Dwarf_Addr *biasp, bool _adjust_st_value) in __libdwfl_addrsym()
309 if (elfp != NULL) in __libdwfl_addrsym()
310 *elfp = state.closest_elf; in __libdwfl_addrsym()
330 GElf_Word *shndxp, Elf **elfp, Dwarf_Addr *bias) in INTDEF()
332 return __libdwfl_addrsym (mod, address, offset, sym, shndxp, elfp, bias, in INTDEF()
244 __libdwfl_addrsym(Dwfl_Module *_mod, GElf_Addr _addr, GElf_Off *off, GElf_Sym *_closest_sym, GElf_Word *shndxp, Elf **elfp, Dwarf_Addr *biasp, bool _adjust_st_value) __libdwfl_addrsym() argument
H A Dcore-file.c179 void *arg, Elf **elfp) in core_file_read_eagerly()
194 *elfp = elf_memory (*buffer, whole); in core_file_read_eagerly()
195 if (unlikely (*elfp == NULL)) in core_file_read_eagerly()
198 (*elfp)->flags |= ELF_F_MALLOCED; in core_file_read_eagerly()
205 *elfp = elf_begin_rand (core, *buffer - core->map_address, whole, NULL); in core_file_read_eagerly()
208 return *elfp != NULL; in core_file_read_eagerly()
171 core_file_read_eagerly(Dwfl_Module *mod, void **userdata __attribute__ ((unused)), const char *name __attribute__ ((unused)), Dwarf_Addr start __attribute__ ((unused)), void **buffer, size_t *buffer_available, GElf_Off cost, GElf_Off worthwhile, GElf_Off whole, GElf_Off contiguous __attribute__ ((unused)), void *arg, Elf **elfp) core_file_read_eagerly() argument
H A Dlibdwfl.h60 char **file_name, Elf **elfp);
473 Elf **elfp, Dwarf_Addr *bias)
500 GElf_Word *shndxp, Elf **elfp,
H A DlibdwflP.h463 Elf **elfp, Dwarf_Addr *biasp,
630 extern Dwfl_Error __libdw_open_file (int *fdp, Elf **elfp,
635 extern Dwfl_Error __libdw_open_elf_memory (char *data, size_t size, Elf **elfp,
641 extern Dwfl_Error __libdw_open_elf (int fd, Elf **elfp) internal_function;
679 void *arg, Elf **elfp);
H A Dlinux-proc-maps.c362 char **file_name, Elf **elfp) in dwfl_linux_proc_find_elf()
425 *elfp = elf_from_remote_memory (base, sysconf (_SC_PAGESIZE), NULL, in dwfl_linux_proc_find_elf()
359 dwfl_linux_proc_find_elf(Dwfl_Module *mod __attribute__ ((unused)), void **userdata __attribute__ ((unused)), const char *module_name, Dwarf_Addr base, char **file_name, Elf **elfp) dwfl_linux_proc_find_elf() argument
H A Dlinux-kernel-modules.c780 char **file_name, Elf **elfp) in dwfl_linux_kernel_find_elf()
785 file_name, elfp); in dwfl_linux_kernel_find_elf()
776 dwfl_linux_kernel_find_elf(Dwfl_Module *mod, void **userdata __attribute__ ((unused)), const char *module_name, Dwarf_Addr base __attribute__ ((unused)), char **file_name, Elf **elfp) dwfl_linux_kernel_find_elf() argument
/third_party/elfutils/include/elfutils/
H A Dlibdwfl.h60 char **file_name, Elf **elfp);
473 Elf **elfp, Dwarf_Addr *bias)
500 GElf_Word *shndxp, Elf **elfp,
/third_party/elfutils/tests/
H A Dbacktrace-data.c65 Elf **elfp __attribute__ ((unused))) in find_elf()

Completed in 9 milliseconds