diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-12-12 18:38:53 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-12-12 18:38:53 (GMT) |
commit | 3754a5e3edeea98ce426b65772708ae91b291c1f (patch) | |
tree | e292aa254f59e61f6f9672b826f08be6f428ffdd /src/analysis/disass | |
parent | dcc0438ff24efd5958b8d46940eb395ff2b7ed77 (diff) |
Removed most of the code related to non-working decompilation.
Diffstat (limited to 'src/analysis/disass')
-rw-r--r-- | src/analysis/disass/disassembler.c | 4 | ||||
-rw-r--r-- | src/analysis/disass/output.c | 6 |
2 files changed, 2 insertions, 8 deletions
diff --git a/src/analysis/disass/disassembler.c b/src/analysis/disass/disassembler.c index 62821ab..813701e 100644 --- a/src/analysis/disass/disassembler.c +++ b/src/analysis/disass/disassembler.c @@ -37,7 +37,6 @@ #include "instructions.h" #include "routines.h" -#include "../../decomp/lang/asm.h" #include "../../format/format.h" #include "../../glibext/delayed-int.h" #include "../../gui/panels/log.h" @@ -628,6 +627,7 @@ static void g_delayed_disassembly_process(GDelayedDisassembly *disass, GtkStatus static void build_disass_prologue(GCodeBuffer *buffer, const char *filename, const char *checksum) { +#if 0 GLangOutput *output; /* Modèle de sortie adéquat */ GBufferLine *line; /* Ligne de destination */ bool managed; /* Groupe déjà défini ? */ @@ -714,7 +714,7 @@ static void build_disass_prologue(GCodeBuffer *buffer, const char *filename, con } g_object_unref(G_OBJECT(output)); - +#endif } diff --git a/src/analysis/disass/output.c b/src/analysis/disass/output.c index be4e900..f5decb7 100644 --- a/src/analysis/disass/output.c +++ b/src/analysis/disass/output.c @@ -29,7 +29,6 @@ #include "../../arch/processor.h" #include "../../common/extstr.h" -#include "../../decomp/lang/asm.h" #include "../../format/format.h" #include "../../gui/panels/log.h" @@ -60,7 +59,6 @@ void print_disassembled_instructions(GCodeBuffer *buffer, GExeFormat *format, GArchProcessor *proc, GtkStatusStack *status) { - GLangOutput *output; /* Modèle de sortie adéquat */ GPortionLayer *layer; /* Couche première de portions */ GBinPortion **portions; /* Morceaux d'encadrement */ size_t portions_count; /* Taille de cette liste */ @@ -102,8 +100,6 @@ void print_disassembled_instructions(GCodeBuffer *buffer, GExeFormat *format, GA - output = g_asm_output_new(); - layer = g_exe_format_get_main_layer(format); portions = g_portion_layer_collect_all_portions(layer, &portions_count); @@ -339,8 +335,6 @@ void print_disassembled_instructions(GCodeBuffer *buffer, GExeFormat *format, GA g_object_unref(G_OBJECT(layer)); - g_object_unref(G_OBJECT(output)); - fprintf(stderr, "MISSING :: %u symbols\n", _missing); |