android_system_core/libunwindstack
Ryan Prichard 9b8f545920 libunwindstack: Support signal frame CIEs.
Mark a CIE with a S in its augmentation string as signal frame.
This allows the code to properly handle signal frame data if none
of the signal frame pattern matchers work.

For a signal frame, DwarfSectionImpl<AddressType>::Eval needs to
continue the unwinding even if PC is zero. A zero PC means that the
program has crashed, and we should try to recover the real PC using the
return address on the stack or LR. This behavior is tested by
UnwindOffline.signal_{x86,x86_64}, which modify the libc.so files
so that the signal frame pattern matcher fails and the CIE/FDE
data is used instead.

Test: libunwindstack_test
Change-Id: I4655b070028fd984345311a5e743796f8c30ed36
2020-10-02 16:34:14 -07:00
..
benchmarks Add new reparse benchmarks. 2020-05-19 10:31:53 -07:00
include/unwindstack libunwindstack: Support signal frame CIEs. 2020-10-02 16:34:14 -07:00
tests libunwindstack: Support signal frame CIEs. 2020-10-02 16:34:14 -07:00
tools Add arch member into Unwinder object. 2020-09-24 18:46:23 -07:00
.clang-format
Android.bp libunwindstack: Support signal frame CIEs. 2020-10-02 16:34:14 -07:00
AndroidVersions.md
ArmExidx.cpp
ArmExidx.h
AsmGetRegsX86.S
AsmGetRegsX86_64.S
Check.h
DexFile.cpp Avoid re-mapping dex file that's in local memory. 2020-04-07 18:07:38 -07:00
DexFile.h Avoid re-mapping dex file that's in local memory. 2020-04-07 18:07:38 -07:00
DexFiles.cpp
DwarfCfa.cpp libunwindstack: support for Armv8.3-A Pointer Authentication 2020-07-14 13:31:59 -07:00
DwarfCfa.h libunwindstack: support for Armv8.3-A Pointer Authentication 2020-07-14 13:31:59 -07:00
DwarfDebugFrame.h
DwarfEhFrame.h
DwarfEhFrameWithHdr.cpp
DwarfEhFrameWithHdr.h
DwarfEncoding.h
DwarfMemory.cpp
DwarfOp.cpp
DwarfOp.h
DwarfSection.cpp libunwindstack: Support signal frame CIEs. 2020-10-02 16:34:14 -07:00
Elf.cpp libunwindstack: Support signal frame CIEs. 2020-10-02 16:34:14 -07:00
ElfInterface.cpp libunwindstack: Support signal frame CIEs. 2020-10-02 16:34:14 -07:00
ElfInterfaceArm.cpp libunwindstack: Support signal frame CIEs. 2020-10-02 16:34:14 -07:00
ElfInterfaceArm.h libunwindstack: Support signal frame CIEs. 2020-10-02 16:34:14 -07:00
Global.cpp
JitDebug.cpp
LocalUnwinder.cpp libunwindstack: Support signal frame CIEs. 2020-10-02 16:34:14 -07:00
Log.cpp
MapInfo.cpp
Maps.cpp Fix dangling pointer issue in LocalUpdatbleMaps 2020-05-01 22:20:01 +00:00
Memory.cpp Merge "Optimize Memory::ReadString" 2020-04-20 23:35:42 +00:00
MemoryBuffer.h
MemoryCache.h libunwindstack: Add Memory::ReadTag() function for reading memory tags. 2020-04-16 00:23:45 -07:00
MemoryFileAtOffset.h
MemoryLocal.h libunwindstack: Add Memory::ReadTag() function for reading memory tags. 2020-04-16 00:23:45 -07:00
MemoryMte.cpp Switch to new kernel ptrace interface for reading tags. 2020-04-29 09:33:53 -07:00
MemoryOffline.h
MemoryOfflineBuffer.h
MemoryRange.h
MemoryRemote.h libunwindstack: Add Memory::ReadTag() function for reading memory tags. 2020-04-16 00:23:45 -07:00
OWNERS
Regs.cpp
RegsArm.cpp
RegsArm64.cpp libunwindstack: support for Armv8.3-A Pointer Authentication 2020-07-14 13:31:59 -07:00
RegsInfo.h
RegsMips.cpp
RegsMips64.cpp
RegsX86.cpp
RegsX86_64.cpp Fix x86_64 check for signal handler. 2020-09-17 14:19:54 -07:00
Symbols.cpp Create minimal remap table for symbol binary search. 2020-04-16 18:17:45 +01:00
Symbols.h Create minimal remap table for symbol binary search. 2020-04-16 18:17:45 +01:00
TEST_MAPPING
Unwinder.cpp libunwindstack: Support signal frame CIEs. 2020-10-02 16:34:14 -07:00