summaryrefslogtreecommitdiff
path: root/plugins/readdex/ids.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-03-15 00:01:58 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-03-15 00:01:58 (GMT)
commitb94be85e00d7770af4de93bbba91b421cfb6faea (patch)
treeea16d5248b293b3a458ad16625c6919315a4aa4a /plugins/readdex/ids.c
parentfab9d7cd46922abea7d94f36dcd4630cdf3f4719 (diff)
Marked lines which are able to start a group of lines as width managers.
Diffstat (limited to 'plugins/readdex/ids.c')
-rw-r--r--plugins/readdex/ids.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/plugins/readdex/ids.c b/plugins/readdex/ids.c
index 54d0bd7..c9f1cb5 100644
--- a/plugins/readdex/ids.c
+++ b/plugins/readdex/ids.c
@@ -89,6 +89,9 @@ bool annotate_dex_string_ids(const GDexFormat *format)
free(text);
+ if (i == 0)
+ g_binary_symbol_define_as_block_start(symbol, true);
+
/* Description de la chaƮne : taille */
operand = g_arch_instruction_get_operand(instr, 0);
@@ -178,6 +181,9 @@ bool annotate_dex_type_ids(const GDexFormat *format)
free(text);
+ if (i == 0)
+ g_binary_symbol_define_as_block_start(symbol, true);
+
}
g_object_unref(G_OBJECT(content));
@@ -236,6 +242,9 @@ bool annotate_dex_proto_ids(const GDexFormat *format)
free(text);
+ if (i == 0)
+ g_binary_symbol_define_as_block_start(symbol, true);
+
/* return_type_idx */
copy_vmpa(&start, &pos);
@@ -320,6 +329,9 @@ bool annotate_dex_field_ids(const GDexFormat *format)
free(text);
+ if (i == 0)
+ g_binary_symbol_define_as_block_start(symbol, true);
+
/* type_idx */
copy_vmpa(&start, &pos);
@@ -404,6 +416,9 @@ bool annotate_dex_method_ids(const GDexFormat *format)
free(text);
+ if (i == 0)
+ g_binary_symbol_define_as_block_start(symbol, true);
+
/* proto_idx */
copy_vmpa(&start, &pos);
@@ -437,4 +452,3 @@ bool annotate_dex_method_ids(const GDexFormat *format)
return true;
}
-