1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-03 01:32:38 +02:00
libunwind-eh_elf/src
Cody P Schafer 3d6f7479b0 ptrace: check for NULL arg.
tdep_get_func_addr in ppc64 passes NULL for the last argument of
as->access_mem.  tdep_get_func_addr is called by elf_w(lookup_symbol),
which in turn is called by elf_w(get_proc_name_in_image).

elf_w(get_proc_name_in_image) is part of the API, and is only passed an
unw_addr_space_t, not a unw_cursor_t, meaning that we cannot recover the
UPT_info on the PPC64 platform.

This could be fixed by giving libunwind the knowledge to perform
relocations itself, thus not needing to look at the running image to
determine function addresses.
2012-09-15 10:47:43 -07:00
..
arm ARM: invalidate proc info after non-dwarf unw_step() 2012-09-04 14:58:38 +03:00
coredump Silence a compiler error. 2012-09-08 21:41:52 -07:00
dwarf Fix incorrect .debug_frame lookup with non-zero text segment vaddr 2012-09-04 14:58:38 +03:00
hppa HPPA: fix common_init() bitrot 2012-09-04 13:26:13 +03:00
ia64 Fix function name duplication in Debug() output 2012-08-21 23:04:07 +03:00
mi Rename and share `ALIGN' macro from _UCD_internal.h 2012-09-05 14:02:36 +03:00
mips Fix memory leaks in unw_create_addr_space() wrong-endian error paths 2012-08-21 22:33:29 +03:00
ppc PPC: return failure from the unw_get_proc_info() stub 2012-09-04 13:26:13 +03:00
ppc32 ppc32: add UNUSED attribute to dmy_ctxt 2012-09-15 10:47:42 -07:00
ppc64 ppc64: add FRAME_POINTER & NIP to regname. 2012-09-15 10:47:43 -07:00
ptrace ptrace: check for NULL arg. 2012-09-15 10:47:43 -07:00
setjmp Fix some compiler warnings 2012-08-04 12:48:56 -07:00
unwind GCC compatibility on x86 for C++ exception handling 2010-04-12 12:08:43 -07:00
x86 Fix memory leaks in unw_create_addr_space() wrong-endian error paths 2012-08-21 22:33:29 +03:00
x86_64 PATCH: fix build with --enable-msabi-support 2012-09-15 10:47:34 -07:00
elf32.c Do nothing of UNW_REMOTE_ONLY is defined. 2003-02-15 03:10:30 +00:00
elf32.h Silence warning about symbol redefinition. 2010-03-07 17:27:41 +02:00
elf64.c Do nothing of UNW_REMOTE_ONLY is defined. 2003-02-15 03:10:30 +00:00
elf64.h Silence warning about symbol redefinition. 2010-03-07 17:27:41 +02:00
elfxx.c Search MiniDebugInfo for procedure names 2012-08-10 15:29:07 +02:00
elfxx.h Introduce get_proc_name_in_image() 2012-03-12 20:09:18 -07:00
Makefile.am build: make libunwind-coredump build optional 2012-09-15 10:47:42 -07:00
os-freebsd.c freebsd: Workaround for old FreeBSD kernels 2012-05-14 23:07:52 -07:00
os-hpux.c Have tdep_get_elf_image available in case of UNW_REMOTE_ONLY 2011-10-15 23:10:28 -07:00
os-linux.c Have tdep_get_elf_image available in case of UNW_REMOTE_ONLY 2011-10-15 23:10:28 -07:00
os-linux.h Fix some compiler warnings 2011-10-29 17:18:49 -07:00