platform_system_core/libunwindstack/include/unwindstack
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
..
DwarfLocation.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfMemory.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfSection.h Small clean ups 2017-08-09 14:22:12 -07:00
DwarfStructs.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
Elf.h Add proper support for embedded elf files. 2017-08-30 15:50:11 -07:00
ElfInterface.h Add proper support for embedded elf files. 2017-08-30 15:50:11 -07:00
Log.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
MapInfo.h Add proper support for embedded elf files. 2017-08-30 15:50:11 -07:00
Maps.h Speed up map creation. 2017-08-23 15:43:39 -07:00
Memory.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
Regs.h libunwindstack: make machine type a property of Regs. 2017-08-25 14:48:09 -07:00
RegsGetLocal.h Allow mips to build. 2017-08-02 10:45:46 -07:00