android_system_core/libunwindstack/tests
Christopher Ferris 704ec9adba Handle ARM thumb function symbols.
ARM thumb functions will have the zero bit set to one, which can cause
function name lookups to fail.

Add an ARM special GetFunctionName that handles this condition.

Fix a couple of the function offsets in unit tests.

Bug: 74844137

Test: Ran unit tests.
Test: Ran debuggerd -b on processes on a bullhead device.
Change-Id: Ibd407db34eaaa641f91fdb4f589c44a0dcc0216a
2018-03-15 15:14:18 -07:00
..
files Fix off by 4 error handling eh_frame hdr. 2018-02-10 17:11:23 -08:00
ArmExidxDecodeTest.cpp Split arch data into separate files. 2017-12-06 16:01:40 -08:00
ArmExidxExtractTest.cpp Add error propagation into Unwinder/Elf objects. 2018-01-24 17:50:46 -08:00
DexFileData.h Load dex files from ART-specific data structure. 2018-02-02 15:03:00 -08:00
DexFilesTest.cpp Adjust DEX file reading to follow layout changes in ART. 2018-02-16 14:54:49 +00:00
DexFileTest.cpp Remove dependency on -no_art variant 2018-02-07 15:19:22 -08:00
DwarfCfaLogTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfCfaTest.cpp Don't implicitly dereference DW_CFA_def_cfa_expression. 2018-03-08 14:44:11 -08:00
DwarfDebugFrameTest.cpp Add error propagation into Unwinder/Elf objects. 2018-01-24 17:50:46 -08:00
DwarfEhFrameTest.cpp Add error propagation into Unwinder/Elf objects. 2018-01-24 17:50:46 -08:00
DwarfEhFrameWithHdrTest.cpp Fix off by 4 error handling eh_frame hdr. 2018-02-10 17:11:23 -08:00
DwarfMemoryTest.cpp Fix another set of bugs. 2017-08-10 17:37:32 -07:00
DwarfOpLogTest.cpp Add error propagation into Unwinder/Elf objects. 2018-01-24 17:50:46 -08:00
DwarfOpTest.cpp Implement new DEX PC lookup scheme. 2018-02-13 16:45:38 -08:00
DwarfSectionImplTest.cpp Don't implicitly dereference DW_CFA_def_cfa_expression. 2018-03-08 14:44:11 -08:00
DwarfSectionTest.cpp Add a new unwind method on error. 2017-09-22 16:55:12 -07:00
ElfCacheTest.cpp Modify elf cache to handle elf_offsets properly. 2018-02-16 14:52:38 -08:00
ElfFake.cpp Add ability to read jit gdb data. 2018-01-12 11:18:42 -08:00
ElfFake.h Add error propagation into Unwinder/Elf objects. 2018-01-24 17:50:46 -08:00
ElfInterfaceArmTest.cpp Expose per arch headers. 2018-02-08 19:29:08 -08:00
ElfInterfaceTest.cpp Fix soname reading code. 2018-02-15 17:57:13 -08:00
ElfTest.cpp Add error propagation into Unwinder/Elf objects. 2018-01-24 17:50:46 -08: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 Load dex files from ART-specific data structure. 2018-02-02 15:03:00 -08: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 Merge changes I53c2c560,I7d845ac5,I8b11d923 2017-12-02 00:12:21 +00:00
MapInfoGetElfTest.cpp Add a global elf cache. 2018-01-25 17:11:33 -08:00
MapInfoGetLoadBiasTest.cpp Add a global elf cache. 2018-01-25 17:11:33 -08:00
MapsTest.cpp Fix issues in libunwindstack. 2017-12-15 11:17:45 -08:00
MemoryBufferTest.cpp unwindstack: rename Memory::ReadPartially to Read. 2017-11-15 15:38:13 -08:00
MemoryFake.cpp unwindstack: rename Memory::ReadPartially to Read. 2017-11-15 15:38:13 -08:00
MemoryFake.h unwindstack: rename Memory::ReadPartially to Read. 2017-11-15 15:38:13 -08: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
MemoryOfflineTest.cpp unwindstack: add some perfunctory MemoryOffline tests. 2017-12-15 14:11:12 -08:00
MemoryRangeTest.cpp unwindstack: rename Memory::ReadPartially to Read. 2017-11-15 15:38:13 -08:00
MemoryRemoteTest.cpp Add tool to save information from a process. 2017-12-20 12:57:01 -08:00
MemoryTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
RegsFake.h Change the GetAdjustedRelPc to GetPcAdjustment. 2018-02-21 20:16:39 -08:00
RegsIterateTest.cpp Expose per arch headers. 2018-02-08 19:29:08 -08:00
RegsStepIfSignalHandlerTest.cpp Expose per arch headers. 2018-02-08 19:29:08 -08:00
RegsTest.cpp Change the GetAdjustedRelPc to GetPcAdjustment. 2018-02-21 20:16:39 -08:00
SymbolsTest.cpp Add ability to read jit gdb data. 2018-01-12 11:18:42 -08:00
TestUtils.h Fix UnwindTest repeatability. 2017-09-06 17:08:44 -07:00
UnwinderTest.cpp Add ability to skip function name resolution. 2018-02-20 17:10:23 -08:00
UnwindOfflineTest.cpp Handle ARM thumb function symbols. 2018-03-15 15:14:18 -07:00
UnwindTest.cpp Split arch data into separate files. 2017-12-06 16:01:40 -08:00