1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-25 08:37:38 +01:00
libunwind-eh_elf/include
Paul Pluzhnikov 7a7833ee0a ppc: return UNW_INVALID instead of assert on unaligned addresses
In src/ppc64/Gstep.c, we use fetch32 to fetch instruction from the
inferior process. In  UNW_REMOTE case, fetch32 asserts that the
address we are fetching from is aligned.

But if the inferior is corrupt, we can get unaligned IP, and hit the assert.

Attached patch removes the assert, and makes fetch32 (and fetch16)
return -UNW_EINVAL instead.
2017-04-05 11:14:04 -07:00
..
tdep Add TileGx platform support to libunwind. 2014-09-08 16:21:53 -04:00
tdep-aarch64 dwarf: Make binary path calculation os-specific. 2017-01-19 10:07:13 -08:00
tdep-arm dwarf: Make binary path calculation os-specific. 2017-01-19 10:07:13 -08:00
tdep-hppa dwarf: Make binary path calculation os-specific. 2017-01-19 10:07:13 -08:00
tdep-ia64 dwarf: Make binary path calculation os-specific. 2017-01-19 10:07:13 -08:00
tdep-mips dwarf: Make binary path calculation os-specific. 2017-01-19 10:07:13 -08:00
tdep-ppc32 dwarf: Make binary path calculation os-specific. 2017-01-19 10:07:13 -08:00
tdep-ppc64 dwarf: Make binary path calculation os-specific. 2017-01-19 10:07:13 -08:00
tdep-sh dwarf: Make binary path calculation os-specific. 2017-01-19 10:07:13 -08:00
tdep-tilegx dwarf: Make binary path calculation os-specific. 2017-01-19 10:07:13 -08:00
tdep-x86 dwarf: Make binary path calculation os-specific. 2017-01-19 10:07:13 -08:00
tdep-x86_64 dwarf: Make binary path calculation os-specific. 2017-01-19 10:07:13 -08:00
x86 One time whitespace fixup. 2014-09-27 09:47:23 -07:00
compiler.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
dwarf-eh.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
dwarf.h dwarf: Configurable cache size 2017-01-13 08:36:33 -08:00
dwarf_i.h mips: fix compiler warnings 2017-02-14 08:18:49 -08:00
libunwind-aarch64.h Add aarch64 getcontext functionality. 2017-01-24 11:08:28 -08:00
libunwind-arm.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-common.h.in unw_init_local_signal 2017-04-03 14:44:40 -07:00
libunwind-coredump.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-dynamic.h Add an option to have start_ip_offset be relative to start_ip 2015-09-15 12:18:30 -07:00
libunwind-hppa.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-ia64.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-mips.h mips: support MIPS64 n32 mode 2017-03-02 08:02:50 -08:00
libunwind-ppc32.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-ppc64.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-ptrace.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-sh.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-tilegx.h Add TileGx platform support to libunwind. 2014-09-08 16:21:53 -04:00
libunwind-x86.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-x86_64.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind.h.in Add TileGx platform support to libunwind. 2014-09-08 16:21:53 -04:00
libunwind_i.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
mempool.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
remote.h ppc: return UNW_INVALID instead of assert on unaligned addresses 2017-04-05 11:14:04 -07:00
unwind.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00