diff --git a/volatility/framework/interfaces/objects.py b/volatility/framework/interfaces/objects.py index 5eb5c1a1e..052d1b011 100644 --- a/volatility/framework/interfaces/objects.py +++ b/volatility/framework/interfaces/objects.py @@ -154,7 +154,7 @@ class ObjectInterface(metaclass = ABCMeta): current object inhabits. .. note:: If new type name does not include a symbol table, the - symbol table for the current object is used + symbol table for the current object is used """ # TODO: Carefully consider the implications of casting and how it should work if constants.BANG not in new_type_name: diff --git a/volatility/framework/layers/scanners/multiregexp.py b/volatility/framework/layers/scanners/multiregexp.py index 52fa2673c..1d7298a75 100644 --- a/volatility/framework/layers/scanners/multiregexp.py +++ b/volatility/framework/layers/scanners/multiregexp.py @@ -29,9 +29,3 @@ class MultiRegexp(object): raise ValueError("MultiRegexp cannot be used with an empty set of search strings") for match in re.finditer(self._regex, haystack): yield (match.start(0), match.group()) - - -if __name__ == '__main__': - import multistring_testrig - - multistring_testrig.tester(MultiRegexp())