mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-07 10:17:38 +02:00
Max the number of hash buckets needed precise, and explicitly linked to the hash function.
This commit is contained in:
@@ -5,7 +5,7 @@ class WuManber(object):
|
||||
self.minimum_pattern_length = None
|
||||
|
||||
self._block_size = block_size
|
||||
self._maximum_hash = (1 << 14) # This depends on the hash function used
|
||||
self._maximum_hash = self._hash_function([0xff, 0xff, 0xff]) + 1 # This depends on the hash function used
|
||||
|
||||
self._patterns = []
|
||||
self._shift = None # This gets generated by preprocess
|
||||
|
||||
Reference in New Issue
Block a user