diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-02-01 00:53:14 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-02-01 00:53:14 (GMT) |
commit | 7162a683b66b02c16b42a177600468a1ff56149d (patch) | |
tree | 23d5119850d049f38182ce8b3b956a44233d8906 /src/format/dex | |
parent | 792b330c1bbe573a591687d25e14d4cd1eccd3c6 (diff) |
Defined all Dalvik instructions to get generated by d2c.
Diffstat (limited to 'src/format/dex')
-rw-r--r-- | src/format/dex/method.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/format/dex/method.c b/src/format/dex/method.c index 9c911d1..b74a713 100644 --- a/src/format/dex/method.c +++ b/src/format/dex/method.c @@ -193,7 +193,7 @@ GDexMethod *g_dex_method_new(GDexFormat *format, const encoded_method *seed, ule result->info = *seed; result->body = item; - result->offset = seed->code_off + 4 * sizeof(uint16_t) + 2 *sizeof(uint32_t);/* TODO : faire plus propre ! */ + result->offset = seed->code_off + 4 * sizeof(uint16_t) + 2 * sizeof(uint32_t);/* TODO : faire plus propre ! */ init_vmpa(&addr, result->offset, VMPA_NO_VIRTUAL); init_mrange(&range, &addr, item.insns_size * sizeof(uint16_t)); |