summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-05-13 19:59:41 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-05-13 19:59:41 (GMT)
commited5541867f94b36e701708757a0489298fe77135 (patch)
tree56cc80141354d1d955a6ad9599e3bc2ab7366ad7 /src/analysis
parent3d28b198f12671e4933890a4b79933d064593ce3 (diff)
Inserted symbols and routines using an optimized 100 times faster method.
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/disass/area.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analysis/disass/area.c b/src/analysis/disass/area.c
index c1807b7..1abb402 100644
--- a/src/analysis/disass/area.c
+++ b/src/analysis/disass/area.c
@@ -402,9 +402,9 @@ void load_code_from_mem_area_v2(mem_area_v2 *area, mem_area_v2 *list, size_t cou
has_new_sym = g_proc_context_pop_new_symbol_at(ctx, &sym_addr))
{
has_new_sym = g_binary_format_find_symbol_at(format, &sym_addr, &symbol);
- assert(has_new_sym);
- insert_extra_symbol_into_mem_areas_v2(list, count, symbol);
+ if (has_new_sym)
+ insert_extra_symbol_into_mem_areas_v2(list, count, symbol);
}