mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-12 12:47:39 +02:00
Merge pull request #835 from paulkermann/improv/vadinfo_containing_address
Added new containing address flag to vadinfo plugin
This commit is contained in:
@@ -54,8 +54,7 @@ class VadInfo(interfaces.plugins.PluginInterface):
|
||||
requirements.IntRequirement(
|
||||
name="address",
|
||||
description="Process virtual memory address to include "
|
||||
"(all other address ranges are excluded). This must be "
|
||||
"a base address, not an address within the desired range.",
|
||||
"(all other address ranges are excluded).",
|
||||
optional=True,
|
||||
),
|
||||
requirements.ListRequirement(
|
||||
@@ -207,7 +206,7 @@ class VadInfo(interfaces.plugins.PluginInterface):
|
||||
if self.config.get("address", None) is not None:
|
||||
|
||||
def filter_function(x: interfaces.objects.ObjectInterface) -> bool:
|
||||
return x.get_start() not in [self.config["address"]]
|
||||
return not (x.get_start() <= self.config['address'] <= x.get_end())
|
||||
|
||||
filter_func = filter_function
|
||||
|
||||
|
||||
Reference in New Issue
Block a user