diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2023-11-13 01:20:17 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2023-11-13 01:20:17 (GMT) |
commit | 6f1f98b46c4753bbbb5b763c64ada556170185b4 (patch) | |
tree | a50f2925dd5c1368dbf7f57c0c1a4033ae419b91 /tools/fuzzing/rost/test.rost | |
parent | e279139b7dcae080723412ea475787123c2389d4 (diff) |
Provide some helpers to run ROST with AFL++.
Diffstat (limited to 'tools/fuzzing/rost/test.rost')
-rw-r--r-- | tools/fuzzing/rost/test.rost | 12 |
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))) + +} |