platform_system_core/libunwindstack
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
..
include/unwindstack Add proper support for embedded elf files. 2017-08-30 15:50:11 -07:00
tests Add proper support for embedded elf files. 2017-08-30 15:50:11 -07:00
tools Add proper support for embedded elf files. 2017-08-30 15:50:11 -07:00
.clang-format Use the 2 space clang format for libunwindstack. 2017-03-21 10:41:45 -07:00
Android.bp Add support for the new unwind method. 2017-08-03 10:15:44 -07:00
ArmExidx.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
ArmExidx.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
AsmGetRegsX86.S Add full support for initing registers. 2017-07-11 12:15:54 -07:00
AsmGetRegsX86_64.S Add full support for initing registers. 2017-07-11 12:15:54 -07:00
Check.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfCfa.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfCfa.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfDebugFrame.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfDebugFrame.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfEhFrame.cpp Fix another set of bugs. 2017-08-10 17:37:32 -07:00
DwarfEhFrame.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfEncoding.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfError.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfMemory.cpp Fix another set of bugs. 2017-08-10 17:37:32 -07:00
DwarfOp.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfOp.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfSection.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
Elf.cpp Add proper support for embedded elf files. 2017-08-30 15:50:11 -07:00
ElfInterface.cpp Add proper support for embedded elf files. 2017-08-30 15:50:11 -07:00
ElfInterfaceArm.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
ElfInterfaceArm.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
Log.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
Machine.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
MapInfo.cpp Add proper support for embedded elf files. 2017-08-30 15:50:11 -07:00
Maps.cpp Speed up map creation. 2017-08-23 15:43:39 -07:00
Memory.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
Regs.cpp libunwindstack: make machine type a property of Regs. 2017-08-25 14:48:09 -07:00
Symbols.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
Symbols.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
Ucontext.h Add signal handling to the register object. 2017-07-18 17:27:48 -07:00
User.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00