yara-x 1.17.0

A pure Rust implementation of YARA.
Documentation
import "test_proto2"

rule test_1 {
    condition:
        test_proto2.string_foo matches /foobar/
}

rule test_2 {
    condition:
        test_proto2.string_foo matches /foobar/i
}

rule test_3 {
    condition:
        test_proto2.int64_zero == 0 or
        test_proto2.string_foo matches /foo.bar/i or
        test_proto2.string_foo matches /bar.baz/
}

rule test_4 {
    condition:
        test_proto2.string_foo matches /foo.bar/ or
        test_proto2.string_foo matches /bar.baz/
}

rule test_5 {
    condition:
        test_proto2.string_foo matches /foo.bar/ or
        test_proto2.string_bar matches /bar.baz/
}