summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryFileTest.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2017-08-30 13:15:19 -0700
committerChristopher Ferris <cferris@google.com>2017-08-30 15:50:11 -0700
commit3f805ac3f8e61489f66a54bbdb1a8dd541c043d1 (patch)
tree5392038e32942faed35a0b94fd821e3dc3c887fe /libunwindstack/tests/MemoryFileTest.cpp
parente1f9a58c8649136af7578b01c3f224ea4b88b555 (diff)
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
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions