diff options
| author | Cyrille Bagard <nocbos@gmail.com> | 2012-01-11 02:20:30 (GMT) | 
|---|---|---|
| committer | Cyrille Bagard <nocbos@gmail.com> | 2012-01-11 02:20:30 (GMT) | 
| commit | 486f0bf0a27ffed3e9fde2f183974ae029b45c54 (patch) | |
| tree | 8840eaab0629f83e7501506b91101ce4f2d42a5d /src/format | |
| parent | 6ebdbfbca9e7bc34fe0f280e4a6a65c24c5003e9 (diff) | |
Defined new panel definitions for the editor GUI.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@223 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format')
| -rw-r--r-- | src/format/dex/class.c | 12 | ||||
| -rw-r--r-- | src/format/dex/method.c | 6 | ||||
| -rw-r--r-- | src/format/elf/elf.c | 4 | ||||
| -rw-r--r-- | src/format/elf/symbols.c | 4 | ||||
| -rw-r--r-- | src/format/format.c | 4 | 
5 files changed, 17 insertions, 13 deletions
diff --git a/src/format/dex/class.c b/src/format/dex/class.c index 710b023..168d45d 100644 --- a/src/format/dex/class.c +++ b/src/format/dex/class.c @@ -2,7 +2,7 @@  /* OpenIDA - Outil d'analyse de fichiers binaires   * class.c - manipulation des classes du format DEX   * - * Copyright (C) 2010 Cyrille Bagard + * Copyright (C) 2010-2012 Cyrille Bagard   *   *  This file is part of OpenIDA.   * @@ -153,8 +153,8 @@ static GDexClass *g_dex_class_new(const GDexFormat *format, off_t offset) -    printf(" Classe :: d meth count == 0x%lld\n", data.direct_methods_size); -    printf(" Classe :: v meth count == 0x%lld\n", data.virtual_methods_size); +    //printf(" Classe :: d meth count == 0x%lld\n", data.direct_methods_size); +    //printf(" Classe :: v meth count == 0x%lld\n", data.virtual_methods_size); @@ -228,9 +228,11 @@ static void g_dex_class_register_method(const GDexClass *class, GBinFormat *form          routine = g_dex_method_get_routine(class->direct_methods[i]);          g_binary_format_add_routine(format, routine); +        /*          printf("routine @ 0x%08llx :: '%s'\n",                 g_binary_routine_get_address(routine),                 g_binary_routine_get_name(routine)); +        */      } @@ -239,9 +241,11 @@ static void g_dex_class_register_method(const GDexClass *class, GBinFormat *form          routine = g_dex_method_get_routine(class->virtual_methods[i]);          g_binary_format_add_routine(format, routine); +        /*          printf("routine @ 0x%08llx :: '%s'\n",                 g_binary_routine_get_address(routine),                 g_binary_routine_get_name(routine)); +        */      } @@ -355,7 +359,7 @@ GBufferLine *line, GLangOutput *output)      //g_buffer_line_insert_text(line, BLC_ASSEMBLY, "{", 3, RTT_SIGNS); -    printf("Output :: %s\n", _g_openida_type_to_string(type, true)); +    //printf("Output :: %s\n", _g_openida_type_to_string(type, true)); diff --git a/src/format/dex/method.c b/src/format/dex/method.c index b9023d8..95f121a 100644 --- a/src/format/dex/method.c +++ b/src/format/dex/method.c @@ -2,7 +2,7 @@  /* OpenIDA - Outil d'analyse de fichiers binaires   * method.c - manipulation des methodes du format DEX   * - * Copyright (C) 2010 Cyrille Bagard + * Copyright (C) 2010-2012 Cyrille Bagard   *   *  This file is part of OpenIDA.   * @@ -151,13 +151,13 @@ GDexMethod *g_dex_method_new(const GDexFormat *format, const encoded_method *see      //printf(" code size  :: %d\n", item.insns_size); -    printf(" method idx :: %lld\n", *last); +    //printf(" method idx :: %lld\n", *last);      result->offset = seed->code_off + 4 * sizeof(uint16_t) + 2 *sizeof(uint32_t);/* TODO : faire plus propre ! */ -    printf(" method off :: 0x%08x\n", result->offset); +    //printf(" method off :: 0x%08x\n", result->offset);      g_binary_routine_set_address(routine, result->offset); diff --git a/src/format/elf/elf.c b/src/format/elf/elf.c index c3d2e42..158a6b6 100644 --- a/src/format/elf/elf.c +++ b/src/format/elf/elf.c @@ -2,7 +2,7 @@  /* OpenIDA - Outil d'analyse de fichiers binaires   * elf.c - support du format ELF   * - * Copyright (C) 2009-2010 Cyrille Bagard + * Copyright (C) 2009-2012 Cyrille Bagard   *   *  This file is part of OpenIDA.   * @@ -34,7 +34,7 @@  #include "section.h"  #include "strings.h"  #include "symbols.h" -#include "../../panels/log.h" +#include "../../gui/panels/log.h" diff --git a/src/format/elf/symbols.c b/src/format/elf/symbols.c index a243a6c..df1b613 100644 --- a/src/format/elf/symbols.c +++ b/src/format/elf/symbols.c @@ -2,7 +2,7 @@  /* OpenIDA - Outil d'analyse de fichiers binaires   * symbols.c - gestion des symboles d'un ELF   * - * Copyright (C) 2008-2010 Cyrille Bagard + * Copyright (C) 2008-2012 Cyrille Bagard   *   *  This file is part of OpenIDA.   * @@ -32,7 +32,7 @@  #include "helper_x86.h"  #include "section.h"  #include "../mangling/demangler.h" -#include "../../panels/log.h" +#include "../../gui/panels/log.h" diff --git a/src/format/format.c b/src/format/format.c index a44f676..e3f5a93 100644 --- a/src/format/format.c +++ b/src/format/format.c @@ -2,7 +2,7 @@  /* OpenIDA - Outil d'analyse de fichiers binaires   * format.c - support des différents formats binaires   * - * Copyright (C) 2009-2011 Cyrille Bagard + * Copyright (C) 2009-2012 Cyrille Bagard   *   *  This file is part of OpenIDA.   * @@ -34,7 +34,7 @@  #include "java/java.h"  #include "pe/pe.h"  #include "../decomp/expr/block.h" -#include "../panels/log.h" +#include "../gui/panels/log.h"  #include "../plugins/pglist.h"  | 
