summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/disass/output.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/analysis/disass/output.c b/src/analysis/disass/output.c
index 2ecb5f4..355d458 100644
--- a/src/analysis/disass/output.c
+++ b/src/analysis/disass/output.c
@@ -232,6 +232,12 @@ void print_disassembled_instructions(GCodeBuffer *buffer, const GExeFormat *form
if (cmp_vmpa_by_virt(iaddr, saddr) == 0)
{
+
+ /* Point d'entrée ? */
+
+ if (g_binary_symbol_get_target_type(symbols[sym_index]) == STP_ENTRY_POINT)
+ g_buffer_line_add_flag(line, BLF_ENTRYPOINT);
+
/* Commentaire ? */
comment = g_binary_symbol_get_comment(symbols[sym_index]);