summaryrefslogtreecommitdiff
path: root/plugins/dex
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-07-08 21:54:13 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-07-08 21:54:13 (GMT)
commit21af77b7c44126c05b62319f99a679fc748b579e (patch)
tree07414fb7bb16cf60e2e827b507d1e5ffbb623414 /plugins/dex
parent6f3c4bc6ec571dcca8e25b9f82a0c2e72310900c (diff)
Cleaned the demangling system.
Diffstat (limited to 'plugins/dex')
-rw-r--r--plugins/dex/pool.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/dex/pool.c b/plugins/dex/pool.c
index 081c178..8c740bc 100644
--- a/plugins/dex/pool.c
+++ b/plugins/dex/pool.c
@@ -280,7 +280,6 @@ GDataType *get_type_from_dex_pool(GDexFormat *format, uint32_t index)
type_id_item type_id; /* Définition de la classe */
string_id_item str_id; /* Identifiant de chaîne */
string_data_item str_data; /* Description de chaîne */
- GCompDemangler *demangler; /* Accès plus lisible */
result = NULL;
@@ -309,8 +308,7 @@ GDataType *get_type_from_dex_pool(GDexFormat *format, uint32_t index)
if (!read_dex_string_data_item(format, &addr, &str_data))
goto gtfdp_error;
- demangler = G_BIN_FORMAT(format)->demangler;
- format->types[index] = g_compiler_demangler_decode_type(demangler, (char *)str_data.data);
+ format->types[index] = g_binary_format_decode_type(G_BIN_FORMAT(format), (char *)str_data.data);
}