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[unsatisfiable_expr]: unsatisfiable expression
 --> line:3:31
  |
3 | rule test_1 { condition: hash.md5(0, filesize) == "AAB" }
  |                               ----------------    ----- the length of this string is 3
  |                               |
  |                               the length of this string is 32
warning[unsatisfiable_expr]: unsatisfiable expression
 --> line:6:26
  |
6 | rule test_2 { condition: "AD" == hash.sha256(0,filesize) }
  |                          ----         ------------------ the length of this string is 64
  |                          |
  |                          the length of this string is 2