summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-04-04 19:08:31 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-04-04 19:08:31 (GMT)
commitfd8421351331f5d9b676e054af22f573402033a2 (patch)
tree1a33d8a01209c6f95f36b77dcc2bbbf90bd74670 /src/analysis
parenta4be577f06d16a4fc851ede9a744eac9160bcb45 (diff)
Removed some separation lines in the display.
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/disass/output.c17
1 files changed, 7 insertions, 10 deletions
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);