summaryrefslogtreecommitdiff
path: root/plugins/dalvik
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-07-23 07:45:44 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-07-23 07:45:44 (GMT)
commit53213051036151645ae287436ad94dff92c7fa20 (patch)
tree874679c64017fcc7eafa8c5af447c9e15fcbaa5d /plugins/dalvik
parente335c19df11cf013c8e515105ca2a13afa2b97de (diff)
Changed the way Dex methods are loaded and displayed.
Diffstat (limited to 'plugins/dalvik')
-rw-r--r--plugins/dalvik/operands/pool.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/dalvik/operands/pool.c b/plugins/dalvik/operands/pool.c
index 6e4229b..f4fe1fa 100644
--- a/plugins/dalvik/operands/pool.c
+++ b/plugins/dalvik/operands/pool.c
@@ -377,12 +377,10 @@ static void g_dalvik_pool_operand_print(const GDalvikPoolOperand *operand, GBuff
if (routine != NULL)
{
- tmp = g_binary_routine_to_string(routine, true);
+ tmp = g_binary_symbol_get_label(G_BIN_SYMBOL(routine));
g_object_unref(G_OBJECT(routine));
- g_buffer_line_append_text(line, BLC_ASSEMBLY, "<", 1, RTT_HOOK, NULL);
- g_buffer_line_append_text(line, BLC_ASSEMBLY, tmp, strlen(tmp), RTT_VAR_NAME, G_OBJECT(operand));
- g_buffer_line_append_text(line, BLC_ASSEMBLY, ">", 1, RTT_HOOK, NULL);
+ g_buffer_line_append_text(line, BLC_ASSEMBLY, tmp, strlen(tmp), RTT_LABEL, G_OBJECT(operand));
}
else