diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2013-01-09 21:54:28 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2013-01-09 21:54:28 (GMT) |
commit | c455057e634b30c3214a49db009bad5fd0c631ff (patch) | |
tree | 07f0a223787b8a3d3244b10e6969aff5b44fcd80 /src/analysis | |
parent | 7cc35e17f3af39ad9a23bff93c42d86f73dd1001 (diff) |
Fixed immediates output by defining a default column for rendering codes.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@321 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis')
-rw-r--r-- | src/analysis/decomp/decompiler.c | 2 | ||||
-rw-r--r-- | src/analysis/disass/disassembler.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/analysis/decomp/decompiler.c b/src/analysis/decomp/decompiler.c index 47c379d..fff654f 100644 --- a/src/analysis/decomp/decompiler.c +++ b/src/analysis/decomp/decompiler.c @@ -216,7 +216,7 @@ GCodeBuffer *decompile_all_from_file(const GLoadedBinary *binary, const char *fi GCodeBuffer *result; /* Tampon constitué à renvoyer */ GExeFormat *format; /* Format du binaire fourni */ - result = g_code_buffer_new(); + result = g_code_buffer_new(BLC_ASSEMBLY_HEAD); build_decomp_prologue(result, filename); diff --git a/src/analysis/disass/disassembler.c b/src/analysis/disass/disassembler.c index e7c972d..8f1d3f1 100644 --- a/src/analysis/disass/disassembler.c +++ b/src/analysis/disass/disassembler.c @@ -402,7 +402,7 @@ void disassemble_binary(GLoadedBinary *binary, GBinPart **parts, size_t parts_co GDelayedDisassembly *disass; /* Désassemblage à mener */ GWorkQueue *queue; /* Gestionnaire de différés */ - *buffer = g_code_buffer_new(); + *buffer = g_code_buffer_new(BLC_ASSEMBLY); data = g_loaded_binary_get_data(binary, &length); build_disass_prologue(*buffer, g_loaded_binary_get_filename(binary, true), data, length); |