diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-01-04 01:32:44 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-01-04 01:33:13 (GMT) |
commit | 239694d99ad81f1e435125e76a2a930213d06b21 (patch) | |
tree | c02344549f10d618159198bd90f1e010d9def258 /src/analysis | |
parent | 7b3364f3af43961df7c5c7bcd0fe7407e944f16f (diff) |
Treated phys_t as uint64_t to avoid huge differences get considered as negative numbers.
Diffstat (limited to 'src/analysis')
-rw-r--r-- | src/analysis/disass/area.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/analysis/disass/area.c b/src/analysis/disass/area.c index c79b293..eddad5c 100644 --- a/src/analysis/disass/area.c +++ b/src/analysis/disass/area.c @@ -652,15 +652,15 @@ mem_area_v2 *find_memory_area_by_addr_v2(mem_area_v2 *list, size_t count, const { mem_area_v2 *result; /* Elément trouvé à renvoyer */ - int find_mem_area(const vmpa2t *addr, const mem_area_v2 *area) + int find_mem_area(const vmpa2t *_addr, const mem_area_v2 *_area) { int status; /* Bilan à retourner */ - if (mrange_contains_addr(&area->range, addr)) + if (mrange_contains_addr(&_area->range, _addr)) status = 0; else - status = cmp_vmpa(addr, get_mrange_addr(&area->range)); + status = cmp_vmpa(_addr, get_mrange_addr(&_area->range)); return status; |