yara-python
yara-python copied to clipboard
Use arguments sources and filepaths simultaneously in yara.compile
For example:
compiled = yara.compile(filepaths = { 'from_file1': '/path/rules.1', 'from_file2': '/path/rules.2', }, sources = { 'from_text': text, })