diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-04-14 21:04:32 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-04-14 21:04:32 (GMT) |
commit | 627560def907ec62c38839457e6a018af27b6640 (patch) | |
tree | b41b389c5b3505090cf648fba0160e7b80cd0f37 /plugins/dex/pool.c | |
parent | 94fc32b6e4d985df049a33bd2c31f6932a1e292c (diff) |
Provided a link to routines from Dex methods.
Diffstat (limited to 'plugins/dex/pool.c')
-rw-r--r-- | plugins/dex/pool.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/dex/pool.c b/plugins/dex/pool.c index fb710f3..90c991b 100644 --- a/plugins/dex/pool.c +++ b/plugins/dex/pool.c @@ -37,6 +37,7 @@ #include "dex-int.h" #include "loading.h" +#include "routine.h" @@ -660,7 +661,7 @@ GBinRoutine *get_prototype_from_dex_pool(GDexFormat *format, uint32_t index) type = get_type_from_dex_pool(format, proto_id.return_type_idx); if (type == NULL) goto grfdp_error; - result = g_binary_routine_new(); + result = G_BIN_ROUTINE(g_dex_routine_new()); g_binary_routine_set_return_type(result, type); |