diff options
Diffstat (limited to 'src/analysis/disass')
-rw-r--r-- | src/analysis/disass/area.c | 2 | ||||
-rw-r--r-- | src/analysis/disass/output.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/analysis/disass/area.c b/src/analysis/disass/area.c index 94d659b..4c54a27 100644 --- a/src/analysis/disass/area.c +++ b/src/analysis/disass/area.c @@ -435,7 +435,7 @@ static void update_address_as_routine(GBinFormat *format, const vmpa2t *addr) if (!found) { - symbol = g_binary_symbol_new(STP_ROUTINE, NULL, ~0); + symbol = g_binary_symbol_new(STP_ROUTINE); g_binary_symbol_attach_routine(symbol, routine); g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol); } diff --git a/src/analysis/disass/output.c b/src/analysis/disass/output.c index 324975b..91c865a 100644 --- a/src/analysis/disass/output.c +++ b/src/analysis/disass/output.c @@ -114,10 +114,10 @@ void print_disassembled_instructions(GCodeBuffer *buffer, const GExeFormat *form saddr = get_mrange_addr(g_binary_symbol_get_range(symbols[i])); if (saddr == NULL) continue; - //if (g_binary_symbol_to_string(symbols[i]) == NULL) continue; + //if (g_binary_symbol_get_label(symbols[i]) == NULL) continue; printf(" <symbol> '%s' -> 0x%08lx\n", - "g_binary_symbol_to_string(symbols[i])", + "g_binary_symbol_get_label(symbols[i])", saddr->virtual); } |