diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-02-03 23:21:49 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-02-03 23:21:49 (GMT) |
commit | 425860b441b21e4aca7bf2473be26b0fe1e756e2 (patch) | |
tree | 341a0fc8b370d76566f3e332c344ffae5c065916 /src/format/dex/dex.c | |
parent | 5511e355e7810f06bd610b79bcc94402c88d7ec9 (diff) |
Removed all references to binary parts (GBinPart) and updated the code.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@465 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/dex/dex.c')
-rwxr-xr-x | src/format/dex/dex.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/format/dex/dex.c b/src/format/dex/dex.c index 94ec34a..f66f056 100755 --- a/src/format/dex/dex.c +++ b/src/format/dex/dex.c @@ -55,7 +55,7 @@ static void g_dex_format_decompile(const GDexFormat *, GCodeBuffer *, const char static FormatTargetMachine g_dex_format_get_target_machine(const GDexFormat *); /* Fournit les références aux zones binaires à analyser. */ -static GBinPart **g_dex_format_get_parts(const GDexFormat *, size_t *); +//static GBinPart **g_dex_format_get_parts(const GDexFormat *, size_t *); /* Fournit la position correspondant à une adresse virtuelle. */ static bool g_dex_format_translate_address_into_offset(const GDexFormat *, vmpa_t, off_t *); @@ -139,7 +139,6 @@ static void g_dex_format_init(GDexFormat *format) exe_format = G_EXE_FORMAT(format); exe_format->get_machine = (get_target_machine_fc)g_dex_format_get_target_machine; - exe_format->get_parts = (get_parts_fc)g_dex_format_get_parts; exe_format->translate_addr = (translate_addr_fc)g_dex_format_translate_address_into_offset; exe_format->translate_off = (translate_off_fc)g_dex_format_translate_offset_into_address; @@ -362,7 +361,7 @@ static FormatTargetMachine g_dex_format_get_target_machine(const GDexFormat *for * Remarques : - * * * ******************************************************************************/ - +#if 0 static GBinPart **g_dex_format_get_parts(const GDexFormat *format, size_t *count) { GBinPart **result; /* Tableau à retourner */ @@ -377,7 +376,7 @@ static GBinPart **g_dex_format_get_parts(const GDexFormat *format, size_t *count return result; } - +#endif /****************************************************************************** * * |