diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-12-16 17:20:06 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-12-16 17:20:06 (GMT) |
commit | 7c40b70d6c1e1e13dadf876c8dda60b525616d47 (patch) | |
tree | 743d0b1981a13fb2de0d2eaacc4f644cf84204c0 /src/analysis | |
parent | 4d313d845a60e908b9e2723cc1fe2bdbbdded315 (diff) |
Built a new improved status bar for instructions information.
Diffstat (limited to 'src/analysis')
-rw-r--r-- | src/analysis/disass/area.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/analysis/disass/area.c b/src/analysis/disass/area.c index 86c41d3..d2a03c6 100644 --- a/src/analysis/disass/area.c +++ b/src/analysis/disass/area.c @@ -1485,7 +1485,6 @@ static bool mark_range_in_mem_area_as_processed(mem_area *area, phys_t start, ph static void update_address_as_routine(GBinFormat *format, const vmpa2t *addr) { GBinSymbol *symbol; /* Symbole présent ou créé */ - phys_t offset; /* Décallage trouvé */ bool found; /* Détection de symbole */ SymbolType sym_type; /* Type de symbole en place */ bool wrong_type; /* Analyse plus fine de ce type*/ @@ -1494,7 +1493,7 @@ static void update_address_as_routine(GBinFormat *format, const vmpa2t *addr) char name[5 + VMPA_MAX_LEN]; /* Nom de symbole nouveau */ GBinRoutine *routine; /* Nouvelle routine trouvée */ - found = g_binary_format_resolve_symbol(format, addr, &symbol, &offset); + found = g_binary_format_find_symbol_at(format, addr, &symbol); if (found) { @@ -1502,7 +1501,7 @@ static void update_address_as_routine(GBinFormat *format, const vmpa2t *addr) wrong_type = (sym_type != STP_ROUTINE && sym_type != STP_ENTRY_POINT); } - if (!found || (found && offset == 0 && wrong_type)) + if (!found || (found && wrong_type)) { init_mrange(&range, addr, 0); |