summaryrefslogtreecommitdiff
path: root/tests/analysis/scan
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-10-22 20:52:40 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-10-22 20:52:40 (GMT)
commit28c6a886ccde945cfd38f3d17fe99ff0f5d0d2c4 (patch)
tree4816e0662b88e8b8c60a981fcb7483ce20ddfe3e /tests/analysis/scan
parentb679b0a3e8ac54570e285281da43e7fa2c861ebd (diff)
Consider the 'a' character as a valid lowercase character.
Diffstat (limited to 'tests/analysis/scan')
-rw-r--r--tests/analysis/scan/fuzzing.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/analysis/scan/fuzzing.py b/tests/analysis/scan/fuzzing.py
index 9572774..c38b25c 100644
--- a/tests/analysis/scan/fuzzing.py
+++ b/tests/analysis/scan/fuzzing.py
@@ -141,3 +141,21 @@ rule test {
'''
self.check_rule_success(rule)
+
+
+ def testAAsAcharacter(self):
+ """Consider the 'a' character as a valid lowercase character."""
+
+ rule = '''
+rule test {
+
+ bytes:
+ $a = "0000a0I0" nocase
+
+ condition:
+ $a
+
+}
+'''
+
+ self.check_rule_failure(rule)