Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Allows yara to properly include additional yara signatures included through 'include' directives#5

Open
ewil wants to merge 1 commit into
MITRECND:masterfrom
ewil:master
Open

Allows yara to properly include additional yara signatures included through 'include' directives#5
ewil wants to merge 1 commit into
MITRECND:masterfrom
ewil:master

Conversation

@ewil
Copy link
Copy Markdown

@ewil ewil commented Dec 2, 2014

The example use case is to have an 'all.yara' file that includes multiple other yara signature files. This fails when using the 'source' argument because included files aren't found. We don't want to specify full paths, since the paths differ across the machines our signatures are used on.

yara.compile() doesn't seem to provide a way to to specify the directory context when using the 'source' argument, so the way we got this to work was through this patch.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant