summaryrefslogtreecommitdiff
path: root/tools/fuzzing/rost/test.rost
diff options
context:
space:
mode:
Diffstat (limited to 'tools/fuzzing/rost/test.rost')
-rw-r--r--tools/fuzzing/rost/test.rost12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/fuzzing/rost/test.rost b/tools/fuzzing/rost/test.rost
new file mode 100644
index 0000000..02daabe
--- /dev/null
+++ b/tools/fuzzing/rost/test.rost
@@ -0,0 +1,12 @@
+
+rule basic {
+
+ bytes:
+ $a = "ABC" base64
+ $b = "12"
+ $c = { 00 01 f0 ff ff [0-9] 23 }
+
+ condition:
+ (#a == 123 or $b or $c) and console.log(maxcommon(modpath($a, $b)))
+
+}