summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/disass/output.c5
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);