summaryrefslogtreecommitdiff
path: root/src/format
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-07-01 11:52:52 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-07-01 11:52:52 (GMT)
commit5dcd05f19ac62f6ff922176cd0ae6f8839910f2e (patch)
tree6fbf5798a57ab6874b68b6ea523619481013c814 /src/format
parent51dff92af8ca82ac1cce3f74be70c3705ca88683 (diff)
Built the graph view when defining a target address.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@247 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format')
-rw-r--r--src/format/dex/method.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/format/dex/method.c b/src/format/dex/method.c
index 95f121a..cca03a7 100644
--- a/src/format/dex/method.c
+++ b/src/format/dex/method.c
@@ -161,7 +161,7 @@ GDexMethod *g_dex_method_new(const GDexFormat *format, const encoded_method *see
g_binary_routine_set_address(routine, result->offset);
-
+ g_binary_routine_set_size(routine, item.insns_size * sizeof(uint16_t));
result->routine = routine;