Closed antime closed 1 month ago
If you compile two source files together (let's call them file1.yar
and file2.yar
), you can use a rule defined in file1.yar
from file2.yar
. This is done like:
yr scan file1.yar file2.yar <TARGET_PATH>
I found the reason, it's because the rule file name cannot start with a number, which caused the problem. Thanks
I can use include in yara,but not work in yara-x