stack: support output from dumpsys meminfo --unreachable
Support unreachable memory reports in the form:
Unreachable memory
4307 bytes in 61 unreachable allocations
ABI: 'arm64'
112 bytes unreachable at 79352e38d0
and 1904 similar unreachable bytes in 17 allocations
first 32 bytes of contents:
79352e38d0: 30 9c 83 52 79 00 00 00 00 00 00 00 00 00 00 00 0..Ry...........
79352e38e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
#00 pc 000000000006e218 /system/lib64/libc++.so (operator new(unsigned long)+36)
#01 pc 000000000009171c /system/lib64/libhwui.so
#02 pc 0000000000093cc8 /system/lib64/libhwui.so (android::uirenderer::RecordingCanvas::drawText(unsigned short const*, float const*, int, SkPaint const&, float, float, float, float, float, float, float)+300)
#03 pc 00000000000fbdd0 /system/lib64/libandroid_runtime.so (android::CanvasJNI::drawText(android::Canvas*, unsigned short const*, int, int, int, float, float, int, android::Paint const&, android::TypefaceImpl*)+2120)
Test: ./stack_core.py
Change-Id: I8075f3390f08972e57ec71f84dfe60adac110eed
2 files changed