elf-symbol-resolver: add GObject Introspection tag

When we see addresses in libgobject-introspection, give them the
"Introspection" tag to make it clear which library the symbol came from.
This is particularly useful since so many functions overlap with g_
prefixes.
This commit is contained in:
Christian Hergert
2016-04-13 09:20:05 -07:00
parent 8c8be5a67e
commit 8743dbd0c9

View File

@ -162,6 +162,9 @@ guess_tag (SpElfSymbolResolver *self,
else if (strstr (map->filename, "/libgio-2.0."))
tag = g_quark_from_static_string ("Gio");
else if (strstr (map->filename, "/libgirepository-1.0."))
tag = g_quark_from_static_string ("Introspection");
else if (strstr (map->filename, "/libgtk-3."))
tag = g_quark_from_static_string ("Gtk+");