summaryrefslogtreecommitdiff
path: root/tests/analysis/scan/scanning_str.py
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-10-07 23:33:23 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-10-07 23:33:23 (GMT)
commit3ab50c0b628b6b6f8345b458a919ad9dae9f0cd9 (patch)
tree16939ab389ff36c2f86ecb07e5ef7f4b273f2f1d /tests/analysis/scan/scanning_str.py
parent22c06200eca1ecda455a8d68bf73ec4fc458f59f (diff)
Update the test suite for ROST.
Diffstat (limited to 'tests/analysis/scan/scanning_str.py')
-rw-r--r--tests/analysis/scan/scanning_str.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/analysis/scan/scanning_str.py b/tests/analysis/scan/scanning_str.py
index ff36ca3..75427a7 100644
--- a/tests/analysis/scan/scanning_str.py
+++ b/tests/analysis/scan/scanning_str.py
@@ -14,7 +14,7 @@ class TestRostScanningStrings(RostTestClass):
rule = '''
rule test {
- strings:
+ bytes:
$a = "Abc"
condition:
@@ -34,7 +34,7 @@ rule test {
rule = r'''
rule test {
- strings:
+ bytes:
$a = "\a\b\t\n\v\f\r\e\"\\\xff"
condition:
@@ -51,7 +51,7 @@ rule test {
rule = r'''
rule test {
- strings:
+ bytes:
$a = "\a\b\t\n--123--\v\f\r\e\"\\\xff"
condition:
@@ -71,7 +71,7 @@ rule test {
rule = '''
rule test {
- strings:
+ bytes:
$a = "ABC" hex
condition:
@@ -88,7 +88,7 @@ rule test {
rule = '''
rule test {
- strings:
+ bytes:
$a = "ABC" plain
condition:
@@ -105,7 +105,7 @@ rule test {
rule = '''
rule test {
- strings:
+ bytes:
$a = "ABC" rev
condition:
@@ -123,7 +123,7 @@ rule test {
rule = '''
rule test {
- strings:
+ bytes:
$a = "DEF" fullword
$b = "123" fullword
@@ -141,7 +141,7 @@ rule test {
rule = '''
rule test {
- strings:
+ bytes:
$a = "DEF" fullword
$b = "123" fullword
@@ -159,7 +159,7 @@ rule test {
rule = '''
rule test {
- strings:
+ bytes:
$a = "DEF" fullword
$b = "123" fullword
@@ -180,7 +180,7 @@ rule test {
rule = '''
rule test {
- strings:
+ bytes:
$a = "Abc" nocase
$b = "ABC123DEF456GHI" nocase
$z = "z0z1z2z3z4z5z6z7z8z9" nocase