yara-x 1.15.0

A pure Rust implementation of YARA.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
warning[non_bool_expr]: non-boolean expression used as boolean
 --> line:3:14
  |
3 |   condition: "foo" or true
  |              ----- this expression is `string` but is being used as `bool`
  |
  = note: non-empty strings are considered `true`, while the empty string ("") is `false`
warning[invariant_expr]: invariant boolean expression
 --> line:3:14
  |
3 |   condition: "foo" or true
  |              ------------- this expression is always true
  |
  = note: rule `test` is always `true`