Jayant Chowdhary f0641b065f vndk-vtable-dumper: Use demangled name of symbol while handling symbol aliasing.
While trying to handle cases where multiple symbols could be aliased, we
were trying to relate a symbol to its class by trying to find the
class' demangled name as a substring of the symbol's mangled name. This
might lead to errors when the class is in a qualified namespace (due to
C++ mangled names having fully qualified namespaces of the form
<num-letters><namespace>. Having <num-letters> interspersed between namespaces
makes finding the substring inaccurate). Now, we try find the class' demangled
name in the demangled symbol name instead.

Bug: 80088849

Test: Without this change, vndk-vtable-dumper for
      libstagefright_bufferqueue_helper.so has an incorrect entry in the
      vtable for android::GraphicsBuffer at offset 20 :
      _ZNK7android6VectorIiE12do_constructEPvj

Test: With this change, vndk-vtable-dumper for
      libstagefright_bufferqueue_helper.so has the correct entry in the
      vtable for android::GraphicsBuffer at offset 20 :
      _ZN7android19GraphicBufferSource23onSidebandStreamChangedEv

Change-Id: I16507f3cef4d9c252aae3d27bef34563e2679703
2018-05-22 18:09:07 +00:00
2018-04-20 09:59:13 -07:00
2016-03-26 20:30:14 -07:00
2018-02-12 11:25:09 -08:00
2018-02-14 12:46:58 -08:00
2018-04-17 23:02:47 +00:00
2018-03-21 15:44:48 -07:00
2018-01-24 00:55:13 +01:00
Description
android_development
592 MiB
Languages
PostScript 31.4%
TypeScript 16.9%
C++ 15.5%
Python 11.8%
Java 11.4%
Other 12.7%