summaryrefslogtreecommitdiff
path: root/src/analysis/disass
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/disass')
-rw-r--r--src/analysis/disass/area.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/analysis/disass/area.c b/src/analysis/disass/area.c
index b1d4bb1..c9612af 100644
--- a/src/analysis/disass/area.c
+++ b/src/analysis/disass/area.c
@@ -206,11 +206,9 @@ static bool is_range_blank_in_mem_area_v2(mem_area_v2 *area, phys_t start, phys_
{
bool result; /* Résultat à renvoyer */
- if ((start + len) > get_mrange_length(&area->range))
- result = false;
+ assert((start + len) <= get_mrange_length(&area->range));
- else
- result = !test_in_bit_field(area->processed, start, len);
+ result = !test_in_bit_field(area->processed, start, len);
return result;