From 0fd0fa0d55f3aeb4e25b994b4e570058559da285 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 17 Aug 2016 20:05:23 +0100 Subject: [PATCH] Fix up the comment to match the acceptance of returning objects other than just offsets. --- volatility/framework/interfaces/layers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility/framework/interfaces/layers.py b/volatility/framework/interfaces/layers.py index a6cff8a1f..b7ed85210 100644 --- a/volatility/framework/interfaces/layers.py +++ b/volatility/framework/interfaces/layers.py @@ -14,8 +14,8 @@ class ScannerInterface(validity.ValidityRoutines, metaclass = ABCMeta): """Class for layer scanners that return locations of particular values from within the data These are designed to be given a chunk of data and return a generator which yields - any found offsets. They should perform complex/time-consuming tasks, these should - be carried out by the consumer of the generator, so only offsets are returned. + any found items. They should NOT perform complex/time-consuming tasks, these should + be carried out by the consumer of the generator on the items returned. They will be provided all *available* data (therefore not necessarily contiguous) in ascending offset order, in chunks no larger than chunk_size + overlap where