diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-04-03 13:10:42 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-04-03 13:10:42 (GMT) |
commit | 6cfa350c21c1e54cf9c597d92a9ea3d1aab01d78 (patch) | |
tree | f961a21eb14ccdc56d24129ff87012c4647579da /src/analysis | |
parent | 3293a5b3b13271ea1499718d310c1bd0284762a3 (diff) |
Tried to show basic blocks in the graphic view again.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@499 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis')
-rw-r--r-- | src/analysis/disass/output.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/analysis/disass/output.c b/src/analysis/disass/output.c index f1e8a3b..edd6843 100644 --- a/src/analysis/disass/output.c +++ b/src/analysis/disass/output.c @@ -87,6 +87,7 @@ void print_disassembled_instructions(GCodeBuffer *buffer, const GExeFormat *form int compared; /* Bilan d'une comparaison */ const char *label; /* Etiquette ciblant un symbole*/ + mrange_t range; /* Couverture sans surface */ GDbComment *comment; /* Commentaire à ajouter */ @@ -216,7 +217,9 @@ void print_disassembled_instructions(GCodeBuffer *buffer, const GExeFormat *form if (label != NULL) { - line = g_code_buffer_append_new_line(buffer, g_binary_symbol_get_range(symbols[sym_index])); + init_mrange(&range, get_mrange_addr(g_binary_symbol_get_range(symbols[sym_index])), 0); + + line = g_code_buffer_append_new_line(buffer, &range); g_buffer_line_fill_mrange(line, msize, msize); g_buffer_line_start_merge_at(line, BLC_ASSEMBLY_HEAD); |