Home
last modified time | relevance | path

Searched refs:elfp (Results 1 – 12 of 12) sorted by relevance

/external/elfutils/libdwfl/
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_fail, archive_ok, false, false, in __libdw_open_file()
[all …]
Ddwfl_build_id_find_elf.c147 char **file_name, Elf **elfp) in dwfl_build_id_find_elf() argument
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()
Ddwfl_module_getsym.c38 GElf_Word *shndxp, Elf **elfp, Dwarf_Addr *biasp, in __libdwfl_getsym() argument
193 if (elfp) in __libdwfl_getsym()
194 *elfp = elf; in __libdwfl_getsym()
204 Elf **elfp, Dwarf_Addr *bias) in dwfl_module_getsym_info() argument
207 return __libdwfl_getsym (mod, ndx, sym, addr, shndxp, elfp, bias, in dwfl_module_getsym_info()
Ddwfl_module_addrsym.c246 Elf **elfp, Dwarf_Addr *biasp, bool _adjust_st_value) in __libdwfl_addrsym() argument
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()
Dcore-file.c179 void *arg, Elf **elfp) in core_file_read_eagerly() argument
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()
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);
Dlibdwfl.h60 char **file_name, Elf **elfp);
473 Elf **elfp, Dwarf_Addr *bias)
500 GElf_Word *shndxp, Elf **elfp,
Dlinux-proc-maps.c362 char **file_name, Elf **elfp) in dwfl_linux_proc_find_elf() argument
425 *elfp = elf_from_remote_memory (base, sysconf (_SC_PAGESIZE), NULL, in dwfl_linux_proc_find_elf()
Dlinux-kernel-modules.c780 char **file_name, Elf **elfp) in dwfl_linux_kernel_find_elf() argument
785 file_name, elfp); in dwfl_linux_kernel_find_elf()
DChangeLog38 (libdw_open_elf): New argument use_elfp. Adding *elfp to elf if
1706 (dwfl_module_addrsym_elf): this. Add elfp and biasp arguments,
1711 new elfp and biasp arguments. Track elf instead of file.
/external/elfutils/include/elfutils/
Dlibdwfl.h60 char **file_name, Elf **elfp);
473 Elf **elfp, Dwarf_Addr *bias)
500 GElf_Word *shndxp, Elf **elfp,
/external/elfutils/tests/
Dbacktrace-data.c65 Elf **elfp __attribute__ ((unused))) in find_elf() argument