Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smarter YARA Imports #440

Merged
merged 1 commit into from
Apr 24, 2024
Merged

Smarter YARA Imports #440

merged 1 commit into from
Apr 24, 2024

Conversation

coreyogburn
Copy link
Contributor

YARA files often contain multiple rules. If any of those rules need to import anything, they're imported once at the top of the file. Now, as SOC parses files it retains those imports and re-adds them to rules as it individualizes them making sure to only add the imports that are actually referenced.

YARA files often contain multiple rules. If any of those rules need to import anything, they're imported once at the top of the file. Now, as SOC parses files it retains those imports and re-adds them to rules as it individualizes them making sure to only add the imports that are actually referenced.
@coreyogburn coreyogburn merged commit 76a1ffd into 2.4/dev Apr 24, 2024
3 checks passed
@coreyogburn coreyogburn deleted the cogburn/yara-imports branch April 24, 2024 21:57
@github-actions github-actions bot locked and limited conversation to collaborators Apr 24, 2024
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.

2 participants