diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2010-12-02 00:59:53 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2010-12-02 00:59:53 (GMT) |
commit | 957f50b657456c4c7da2778197c144548eded8cd (patch) | |
tree | 9aea0e8ffb4dc62b23fd324b55910916cef95167 /src/format/format.c | |
parent | f2d479c16a427696790441fa1459e7194f49bb6a (diff) |
Improved the rendering of decompiled Dex code.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@196 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/format.c')
-rw-r--r-- | src/format/format.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/format/format.c b/src/format/format.c index c104649..053a7aa 100644 --- a/src/format/format.c +++ b/src/format/format.c @@ -297,7 +297,7 @@ GDecInstruction *g_binary_format_decompile_routine(const GBinFormat *format, GBi printf("max :: 0x%08llx\n", max); - max = 0x00000a98ll; /* FIXME !!!! */ + //max = 0x00000a98ll; /* FIXME !!!! */ ctx = g_dec_context_new(); g_object_set_data(G_OBJECT(ctx), "format", format); @@ -394,14 +394,16 @@ void g_binary_format_decompile(const GBinFormat *format, GCodeBuffer *buffer, co { //printf(" -- %s --\n", g_binary_routine_get_name(routines[i])); - if (strcmp("cryptself", g_binary_routine_get_name(routines[i])) == 0) + //if (strcmp("cryptself", g_binary_routine_get_name(routines[i])) == 0) { printf("...\n"); instr = g_binary_routine_get_decomp_instructions(routines[i]); - g_dec_instruction_print(instr, buffer, NULL, g_java_output_new()); + if (instr == NULL) continue; + + //g_dec_instruction_print(instr, buffer, NULL, g_java_output_new()); |