platform_system_core/libunwindstack
Christopher Ferris c3d79f7c07 Fix incorrect usage of relative pcs.
When stepping, it's necessary to use both the unaltered relative pc
and the adjusted relative pc. If the adjusted pc is not used, the
wrong unwind information can be used.

Added new offline unit tests that take real data and verifies that it
unwinds properly.

Fix a bug in the map code that would not properly parse map data for
a 64 bit process when done in a 32 bit process.

Fix bug in eh_frame processing that didn't adjust the pc correctly.
Fix unit tests related to the pc adjustment.

Bug: 69475565

Test: Passes libbacktrace/libunwindstack unit tests.
Test: Run debuggerd -b on processes on a hikey.
Change-Id: Ic501a1c4549c5f61d2742a7105c42a960f2c892b
2017-11-29 16:10:08 -08:00
..
include/unwindstack Fix incorrect usage of relative pcs. 2017-11-29 16:10:08 -08:00
tests Fix incorrect usage of relative pcs. 2017-11-29 16:10:08 -08:00
tools Add way to specify an offset in an elf file. 2017-11-28 10:59:33 -08:00
.clang-format Use the 2 space clang format for libunwindstack. 2017-03-21 10:41:45 -07:00
Android.bp Fix incorrect usage of relative pcs. 2017-11-29 16:10:08 -08:00
ArmExidx.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
ArmExidx.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
AsmGetRegsX86.S Add full support for initing registers. 2017-07-11 12:15:54 -07:00
AsmGetRegsX86_64.S Add full support for initing registers. 2017-07-11 12:15:54 -07:00
Check.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfCfa.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfCfa.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfDebugFrame.h Add support for only a .eh_frame. 2017-11-07 13:22:39 -08:00
DwarfEhFrame.h Fix incorrect usage of relative pcs. 2017-11-29 16:10:08 -08:00
DwarfEhFrameWithHdr.cpp Fix another nullptr dereference. 2017-11-08 11:04:48 -08:00
DwarfEhFrameWithHdr.h Add support for only a .eh_frame. 2017-11-07 13:22:39 -08:00
DwarfEncoding.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfError.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfMemory.cpp Fix another set of bugs. 2017-08-10 17:37:32 -07:00
DwarfOp.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfOp.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfSection.cpp Add support for only a .eh_frame. 2017-11-07 13:22:39 -08:00
Elf.cpp Fix incorrect usage of relative pcs. 2017-11-29 16:10:08 -08:00
ElfInterface.cpp Add support for only a .eh_frame. 2017-11-07 13:22:39 -08:00
ElfInterfaceArm.cpp If the pc is set to zero, the unwind is done. 2017-10-23 14:55:16 -07:00
ElfInterfaceArm.h Multiple bugfixes, small restructuring. 2017-10-20 11:15:32 -07:00
Log.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
Machine.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
MapInfo.cpp Allow multiple threads sharing a map to unwind. 2017-11-28 15:20:38 -08:00
Maps.cpp Fix incorrect usage of relative pcs. 2017-11-29 16:10:08 -08:00
Memory.cpp Add a method to share the process memory object. 2017-09-05 14:30:22 -07:00
Regs.cpp Merge changes I8f33830f,Icd2b891b,I8736ff5c,Iae6e342a 2017-10-24 04:03:18 +00:00
Symbols.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
Symbols.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
Ucontext.h Add signal handling to the register object. 2017-07-18 17:27:48 -07:00
Unwinder.cpp Fix incorrect usage of relative pcs. 2017-11-29 16:10:08 -08:00
User.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00