diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-02-11 08:43:35 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-02-11 08:43:35 (GMT) |
commit | abd96dbbe27246e9303173e5e2f47b2e4cedbcb7 (patch) | |
tree | c0f8bfd8d6514ac63edcb09655f6feebbd424f09 /src/analysis | |
parent | dfa7e04b4a267f7f30086510781ca3221b7e25f8 (diff) |
Marked buffer lines as containing an entry point when needed.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@470 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis')
-rw-r--r-- | src/analysis/disass/output.c | 6 |
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]); |