summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/analysis/disass/output.c17
2 files changed, 12 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 51a73bf..bdc5d43 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
16-04-04 Cyrille Bagard <nocbos@gmail.com>
+ * src/analysis/disass/output.c:
+ Remove some separation lines in the display.
+
+16-04-04 Cyrille Bagard <nocbos@gmail.com>
+
* src/analysis/disass/disassembler.c:
Update code.
diff --git a/src/analysis/disass/output.c b/src/analysis/disass/output.c
index b2bfce7..d8097cf 100644
--- a/src/analysis/disass/output.c
+++ b/src/analysis/disass/output.c
@@ -211,22 +211,19 @@ void print_disassembled_instructions(GCodeBuffer *buffer, GExeFormat *format, GA
if (compared == 0)
{
- /* Ligne de séparation */
-
- init_mrange(&range, get_mrange_addr(g_binary_symbol_get_range(symbols[sym_index])), 0);
-
- line = g_code_buffer_prepare_new_line(buffer, &range);
- g_buffer_line_add_flag(line, BLF_IS_LABEL);
- g_buffer_line_fill_mrange(line, msize, msize);
-
- g_code_buffer_append_new_line(buffer, line);
-
/* Coupure pour une nouvelle routine */
stype = g_binary_symbol_get_target_type(symbols[sym_index]);
if (stype == STP_ROUTINE || stype == STP_FUNCTION || stype == STP_ENTRY_POINT)
{
+ init_mrange(&range, get_mrange_addr(g_binary_symbol_get_range(symbols[sym_index])), 0);
+
+ line = g_code_buffer_prepare_new_line(buffer, &range);
+ g_buffer_line_add_flag(line, BLF_IS_LABEL);
+ g_buffer_line_fill_mrange(line, msize, msize);
+
+ g_code_buffer_append_new_line(buffer, line);
line = g_code_buffer_prepare_new_line(buffer, &range);
g_buffer_line_add_flag(line, BLF_IS_LABEL);