simplify addrs_in_vma check

This commit is contained in:
Abyss Watcher
2024-03-04 20:19:15 +01:00
parent 69a6c7d5b7
commit 9914f339df
@@ -165,10 +165,7 @@ class Maps(interfaces.plugins.PluginInterface):
]
# if any of the user supplied addresses would fall within this vma return true
if addrs_in_vma:
return True
else:
return False
return bool(addrs_in_vma)
vma_filter_func = vma_filter_function