diff options
Diffstat (limited to 'src/analysis')
-rw-r--r-- | src/analysis/disass/area.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/analysis/disass/area.c b/src/analysis/disass/area.c index 7939290..5c70e72 100644 --- a/src/analysis/disass/area.c +++ b/src/analysis/disass/area.c @@ -1575,12 +1575,10 @@ static void g_area_collector_do_compute(GAreaCollector *collector, GtkStatusStac format = g_loaded_binary_get_format(collector->binary); -#ifndef NDEBUG state = g_exe_format_translate_offset_into_vmpa(format, 0, &prev); - assert(state); -#else - g_exe_format_translate_offset_into_vmpa(format, 0, &prev); -#endif + + if (!state) + init_vmpa(&prev, 0, VMPA_NO_PHYSICAL); portions = g_exe_format_get_portions(format); |