summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-03-15 00:01:58 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-03-15 00:01:58 (GMT)
commitb94be85e00d7770af4de93bbba91b421cfb6faea (patch)
treeea16d5248b293b3a458ad16625c6919315a4aa4a /src/analysis
parentfab9d7cd46922abea7d94f36dcd4630cdf3f4719 (diff)
Marked lines which are able to start a group of lines as width managers.
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/disass/output.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/analysis/disass/output.c b/src/analysis/disass/output.c
index 07165c0..51b0a04 100644
--- a/src/analysis/disass/output.c
+++ b/src/analysis/disass/output.c
@@ -246,21 +246,8 @@ void print_disassembled_instructions(GCodeBuffer *buffer, const GExeFormat *form
/* Début d'un groupe bien cohérent avec les alignements ? */
- switch (g_binary_symbol_get_target_type(symbols[sym_index]))
- {
- case STP_ROUTINE:
- case STP_OBJECT:
- case STP_FUNCTION:
- case STP_ENTRY_POINT:
- case STP_STRING:
- case STP_RO_STRING:
- g_buffer_line_add_flag(line, BLF_WIDTH_MANAGER);
- break;
-
- default:
- break;
-
- }
+ if (g_binary_symbol_is_block_start(symbols[sym_index]))
+ g_buffer_line_add_flag(line, BLF_WIDTH_MANAGER);
/* Commentaire ? */