platform_system_core/libunwindstack/tests
Christopher Ferris 3f805ac3f8 Add proper support for embedded elf files.
- Add a method to get the max size of an elf file by reading the
  section header offset + size. This will properly map an elf
  file embedded into an apk, instead of just mapping in what is done
  by the dynamic linker. It does assume that the section headers are
  at the end of the elf file.
- Add new tests for the above functionality.
- Update the unwind_symbols tool to take an address for finding a
  function instead of dumping the entire symbol table.

Bug: 23762183

Test: Unit tests pass, unwind through the camera process and verify
Test: the GoogleCamera.apk shows some function names.
Change-Id: I00c021680fe1d43b60d652bf91bbf6667d9617be
2017-08-30 15:50:11 -07:00
..
files Init .gnu_debugdata in GetElf(). 2017-06-30 17:24:58 -07:00
ArmExidxDecodeTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
ArmExidxExtractTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfCfaLogTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfCfaTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfDebugFrameTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfEhFrameTest.cpp Fix another set of bugs. 2017-08-10 17:37:32 -07:00
DwarfMemoryTest.cpp Fix another set of bugs. 2017-08-10 17:37:32 -07:00
DwarfOpLogTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfOpTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfSectionImplTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfSectionTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
ElfInterfaceArmTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
ElfInterfaceTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
ElfTest.cpp Add signal handling to the register object. 2017-07-18 17:27:48 -07:00
ElfTestUtils.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
ElfTestUtils.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
GenGnuDebugdata.cpp Add .gnu_debugdata support. 2017-06-28 15:23:10 -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 proper support for embedded elf files. 2017-08-30 15:50:11 -07:00
MapInfoGetElfTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
MapsTest.cpp Speed up map creation. 2017-08-23 15:43:39 -07:00
MemoryBufferTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
MemoryFake.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
MemoryFake.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
MemoryFileTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
MemoryLocalTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
MemoryRangeTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
MemoryRemoteTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
MemoryTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
RegsFake.h libunwindstack: make machine type a property of Regs. 2017-08-25 14:48:09 -07:00
RegsStepIfSignalHandlerTest.cpp Speed up StepIfSignalHandler path. 2017-07-19 21:35:46 +00:00
RegsTest.cpp libunwindstack: make machine type a property of Regs. 2017-08-25 14:48:09 -07:00
SymbolsTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
UnwindTest.cpp libunwindstack: make machine type a property of Regs. 2017-08-25 14:48:09 -07:00