simpleperf: Support DEX files in memory
Android apps may create DEX files that exist only in memory.
To symbolize DEX_PCs pointing to them, this CL makes the following changes:
1. Read DEX files in memory from the app process. Parse symbols from them.
2. Store the symbols in memory in a DexFileDso. So they can be used for
symbolization.
Bug: 306246990
Test: run simpleperf_unit_test --gtest_filter=*trampoline*
Test: run simpleperf_unit_test
Change-Id: I3f464c55c7d91fdc155d8cd61e53b2bd48cdaba4
4 files changed