diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-05-24 21:45:53 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-05-24 21:46:04 (GMT) |
commit | 0e2849345be5018152d60b5aa27eebb2de75e1df (patch) | |
tree | 524c6f7e5a5a32fa65427c44d8baa2e6204eb732 /src/analysis/disass/output.c | |
parent | 3a77653d347c8e60a1c80bd4d57a4fd5e317490f (diff) |
Attached priority levels with disassembly starting points.
Diffstat (limited to 'src/analysis/disass/output.c')
-rw-r--r-- | src/analysis/disass/output.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/analysis/disass/output.c b/src/analysis/disass/output.c index 0ff6148..78aba82 100644 --- a/src/analysis/disass/output.c +++ b/src/analysis/disass/output.c @@ -101,6 +101,12 @@ void print_disassembled_instructions(GCodeBuffer *buffer, GExeFormat *format, GA char *prefixed; + + unsigned int _missing = 0; + + + + output = g_asm_output_new(); layer = g_exe_format_get_main_layer(format); @@ -202,6 +208,8 @@ void print_disassembled_instructions(GCodeBuffer *buffer, GExeFormat *format, GA _("Unable to find a proper location for symbol '%s' @ 0x%08x"), g_binary_symbol_get_label(symbols[sym_index]), get_virt_addr(saddr)); + _missing++; + if (++sym_index == sym_count) goto no_more_symbol_finally; @@ -342,4 +350,8 @@ void print_disassembled_instructions(GCodeBuffer *buffer, GExeFormat *format, GA g_object_unref(G_OBJECT(output)); + + fprintf(stderr, "MISSING :: %u symbols\n", _missing); + + } |