platform_system_core/libunwindstack/tests
Christopher Ferris 4ae266ccbd Add indicator that an elf is memory backed.
Modify the unwinder library to indicate that at least one of the stack
frames contains an elf file that is unreadable.

Modify debuggerd to display a note about the unreadable frame and a possible
way to fix it.

Bug: 129769339

Test: New unit tests pass.
Test: Ran an app that crashes and has an unreadable file and verified the
Test: message is displayed. Then setenforce 0 and verify the message is
Test: not displayed.
Change-Id: Ibc4fe1d117e9b5840290454e90914ddc698d3cc2
2019-04-18 15:37:52 -07:00
..
files Add support for displaying soname in an apk. 2019-03-13 17:07:46 -07:00
ArmExidxDecodeTest.cpp Fix handling of load bias values. 2018-06-11 18:53:55 -07:00
ArmExidxExtractTest.cpp Fix handling of load bias values. 2018-06-11 18:53:55 -07:00
DexFileData.h Load dex files from ART-specific data structure. 2018-02-02 15:03:00 -08:00
DexFileTest.cpp Revert "Check for data races when reading JIT/DEX entries." 2019-04-05 18:23:32 +00:00
DexFilesTest.cpp Revert "Check for data races when reading JIT/DEX entries." 2019-04-05 18:23:32 +00:00
DwarfCfaLogTest.cpp Fix handling of load bias values. 2018-06-11 18:53:55 -07:00
DwarfCfaTest.cpp Don't implicitly dereference DW_CFA_def_cfa_expression. 2018-03-08 14:44:11 -08:00
DwarfDebugFrameTest.cpp Add minimal support for Dwarf 5. 2019-04-01 16:56:09 -07:00
DwarfEhFrameTest.cpp Refactor the DwarfSection classes. 2018-06-27 14:52:21 -07:00
DwarfEhFrameWithHdrTest.cpp Remove sequential search from DwarfEhFrameWithHdr. 2019-03-29 14:08:37 -07:00
DwarfMemoryTest.cpp Remove CHECK in AdjustEncodedValue. 2018-12-20 08:40:58 -08:00
DwarfOpLogTest.cpp Add error propagation into Unwinder/Elf objects. 2018-01-24 17:50:46 -08:00
DwarfOpTest.cpp Always set the sp reg to the cfa for DWARF. 2018-03-16 23:38:07 -07:00
DwarfSectionImplTest.cpp Refactor the DwarfSection classes. 2018-06-27 14:52:21 -07:00
DwarfSectionTest.cpp Refactor the DwarfSection classes. 2018-06-27 14:52:21 -07:00
ElfCacheTest.cpp switch to using android-base/file.h instead of android-base/test_utils.h 2018-11-14 09:35:34 -08:00
ElfFake.cpp Fix handling of load bias values. 2018-06-11 18:53:55 -07:00
ElfFake.h Add support for displaying soname in an apk. 2019-03-13 17:07:46 -07:00
ElfInterfaceArmTest.cpp Remove Memory::ReadField. 2018-07-12 12:45:31 -07:00
ElfInterfaceTest.cpp Fix off by one reading build id. 2019-04-03 14:51:51 -07:00
ElfTest.cpp Fix pc/function name for signal handler frame. 2019-04-12 17:23:18 -07:00
ElfTestUtils.cpp Fix incorrect usage of relative pcs. 2017-11-29 16:10:08 -08:00
ElfTestUtils.h Fix incorrect usage of relative pcs. 2017-11-29 16:10:08 -08:00
GenGnuDebugdata.cpp Add .gnu_debugdata support. 2017-06-28 15:23:10 -07:00
JitDebugTest.cpp Revert "Check for data races when reading JIT/DEX entries." 2019-04-05 18:23:32 +00:00
LocalUnwinderTest.cpp Add a specialized LocalUnwinder object. 2018-05-23 20:02:30 -07:00
LogFake.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
LogFake.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
MapInfoCreateMemoryTest.cpp Add indicator that an elf is memory backed. 2019-04-18 15:37:52 -07:00
MapInfoGetBuildIDTest.cpp Avoid signed extension of chars for build ids. 2019-01-30 12:09:11 -08:00
MapInfoGetElfTest.cpp Add support for displaying soname in an apk. 2019-03-13 17:07:46 -07:00
MapInfoGetLoadBiasTest.cpp Implement support for linker rosegment option. 2018-10-03 20:48:45 -07:00
MapInfoTest.cpp Add support for UnwinderFromPid object. 2019-01-16 15:13:25 -08:00
MapsTest.cpp Fix copy / move behaviour of Maps object. 2019-03-05 13:05:36 +00:00
MemoryBufferTest.cpp unwindstack: rename Memory::ReadPartially to Read. 2017-11-15 15:38:13 -08:00
MemoryCacheTest.cpp Add support for caching small reads. 2018-11-28 13:04:58 -08:00
MemoryFake.cpp Implement support for linker rosegment option. 2018-10-03 20:48:45 -07:00
MemoryFake.h Implement support for linker rosegment option. 2018-10-03 20:48:45 -07:00
MemoryFileTest.cpp unwindstack: rename Memory::Read to ReadFully. 2017-11-15 15:38:13 -08:00
MemoryLocalTest.cpp unwindstack: rename Memory::ReadPartially to Read. 2017-11-15 15:38:13 -08:00
MemoryOfflineBufferTest.cpp Add a MemoryOfflineBuffer object. 2018-04-03 18:37:52 -07:00
MemoryOfflineTest.cpp switch to using android-base/file.h instead of android-base/test_utils.h 2018-11-14 09:35:34 -08:00
MemoryRangeTest.cpp Implement support for linker rosegment option. 2018-10-03 20:48:45 -07:00
MemoryRangesTest.cpp Implement support for linker rosegment option. 2018-10-03 20:48:45 -07:00
MemoryRemoteTest.cpp Add tool to save information from a process. 2017-12-20 12:57:01 -08:00
MemoryTest.cpp Remove Memory::ReadField. 2018-07-12 12:45:31 -07:00
RegsFake.h Add BuildId to frame information. 2019-03-26 08:04:40 -07:00
RegsInfoTest.cpp Fix off by one error. 2018-10-23 18:10:41 +01:00
RegsIterateTest.cpp Expose per arch headers. 2018-02-08 19:29:08 -08:00
RegsStepIfSignalHandlerTest.cpp Always set the sp reg to the cfa for DWARF. 2018-03-16 23:38:07 -07:00
RegsTest.cpp Fix offsets when shared lib split across maps. 2018-12-18 11:22:14 -08:00
SymbolsTest.cpp Fix handling of load bias values. 2018-06-11 18:53:55 -07:00
TestLocal.cpp Add a specialized LocalUnwinder object. 2018-05-23 20:02:30 -07:00
TestUtils.cpp Add a few leak check tests. 2019-01-25 12:35:19 -08:00
TestUtils.h Add a few leak check tests. 2019-01-25 12:35:19 -08:00
UnwindOfflineTest.cpp Fix pc/function name for signal handler frame. 2019-04-12 17:23:18 -07:00
UnwindTest.cpp Revert "Check for data races when reading JIT/DEX entries." 2019-04-05 18:23:32 +00:00
UnwinderTest.cpp Add indicator that an elf is memory backed. 2019-04-18 15:37:52 -07:00