android_system_core/libunwindstack/tests
Ryan Savitski 92237bad6a unwindstack: RegsArm64: fix harmless off by 1 + iterate GPRs contiguously
The memcpy should be for 31 GPRs, [x0, x30]. Currently it (accidentally)
also copies over the SP register (which ends up being harmless, as the
layouts match, and the value is reassigned again anyway).

Separately, I'm including an optional change for the iteration order,
since LR is the x30 GPR, it makes slightly more sense to print it
immediately after x29. However, this is a change in behaviour, so I can
undo the change if you think it's not worth it.

Tested: atest libunwindstack_unit_test
Change-Id: Ib6b81f8ee3a9a526bfabe4b09b327f083c855fb8
2020-01-24 19:50:45 +00:00
..
files Properly handle empty map after read-only map. 2020-01-22 18:30:12 -08:00
ArmExidxDecodeTest.cpp
ArmExidxExtractTest.cpp
DexFileData.h
DexFileTest.cpp Properly handle empty map after read-only map. 2020-01-22 18:30:12 -08:00
DexFilesTest.cpp Fix global finding logic. 2020-01-21 18:00:57 -08:00
DwarfCfaLogTest.cpp
DwarfCfaTest.cpp
DwarfDebugFrameTest.cpp
DwarfEhFrameTest.cpp
DwarfEhFrameWithHdrTest.cpp
DwarfMemoryTest.cpp
DwarfOpLogTest.cpp
DwarfOpTest.cpp
DwarfSectionImplTest.cpp
DwarfSectionTest.cpp
ElfCacheTest.cpp Properly handle empty map after read-only map. 2020-01-22 18:30:12 -08:00
ElfFake.cpp
ElfFake.h Fix handling of possible bad gnu_debugdata_size. 2019-12-19 16:48:15 -08:00
ElfInterfaceArmTest.cpp
ElfInterfaceTest.cpp Fix handling of possible bad gnu_debugdata_size. 2019-12-19 16:48:15 -08:00
ElfTest.cpp Properly handle empty map after read-only map. 2020-01-22 18:30:12 -08:00
ElfTestUtils.cpp
ElfTestUtils.h
GenGnuDebugdata.cpp
IsolatedSettings.cpp
JitDebugTest.cpp
LocalUnwinderTest.cpp
LocalUpdatableMapsTest.cpp
LogFake.cpp
LogFake.h
MapInfoCreateMemoryTest.cpp Properly handle empty map after read-only map. 2020-01-22 18:30:12 -08:00
MapInfoGetBuildIDTest.cpp Properly handle empty map after read-only map. 2020-01-22 18:30:12 -08:00
MapInfoGetElfTest.cpp Properly handle empty map after read-only map. 2020-01-22 18:30:12 -08:00
MapInfoGetLoadBiasTest.cpp Properly handle empty map after read-only map. 2020-01-22 18:30:12 -08:00
MapInfoTest.cpp Properly handle empty map after read-only map. 2020-01-22 18:30:12 -08:00
MapsTest.cpp Properly handle empty map after read-only map. 2020-01-22 18:30:12 -08:00
MemoryBufferTest.cpp
MemoryCacheTest.cpp
MemoryFake.cpp
MemoryFake.h
MemoryFileTest.cpp
MemoryLocalTest.cpp
MemoryOfflineBufferTest.cpp
MemoryOfflineTest.cpp
MemoryRangeTest.cpp
MemoryRangesTest.cpp
MemoryRemoteTest.cpp
MemoryTest.cpp
RegsFake.h
RegsInfoTest.cpp
RegsIterateTest.cpp unwindstack: RegsArm64: fix harmless off by 1 + iterate GPRs contiguously 2020-01-24 19:50:45 +00:00
RegsStepIfSignalHandlerTest.cpp
RegsTest.cpp Properly handle empty map after read-only map. 2020-01-22 18:30:12 -08:00
SymbolsTest.cpp
TestLocal.cpp
TestUtils.cpp
TestUtils.h
UnwindOfflineTest.cpp Properly handle empty map after read-only map. 2020-01-22 18:30:12 -08:00
UnwindTest.cpp
UnwinderTest.cpp
VerifyBionicTerminationTest.cpp