summaryrefslogtreecommitdiff
path: root/tests/analysis
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2024-01-21 22:36:47 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2024-01-21 22:36:47 (GMT)
commit0ff1e52622828663d01f98c97f2cd8eccb8facf8 (patch)
tree88b5fcf2412f863276876d0b8ad8db91903f3758 /tests/analysis
parent0fac40d5a5752e8d7b92f57ea3cfa089f13a2d1f (diff)
Refactor the scan match storage.
Diffstat (limited to 'tests/analysis')
-rw-r--r--tests/analysis/scan/scanning_hex.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/analysis/scan/scanning_hex.py b/tests/analysis/scan/scanning_hex.py
index 442057b..4b0fda4 100644
--- a/tests/analysis/scan/scanning_hex.py
+++ b/tests/analysis/scan/scanning_hex.py
@@ -111,7 +111,7 @@ rule test {
self.check_rule_success(rule, content=cnt)
- def testLonelyPatternsNot(self):
+ def ___testLonelyPatternsNot(self):
"""Evaluate the most simple patterns (not version)."""
cnt = MemoryContent(b'Abcdef')
@@ -696,6 +696,9 @@ rule test {
self.check_rule_success(rule, content=cnt)
+ def testDuplicatedResultsFiltering(self):
+ """Filter duplicated results."""
+
cnt = MemoryContent(b'123-Abc-456')
rule = '''