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

Feature Request: warning suppression comments #321

Open
jpsnyder opened this issue Mar 7, 2025 · 0 comments
Open

Feature Request: warning suppression comments #321

jpsnyder opened this issue Mar 7, 2025 · 0 comments

Comments

@jpsnyder
Copy link

jpsnyder commented Mar 7, 2025

The warning checks such as text_as_hex can be very nice and helpful to find issues from within a large repo of rules.
However, I sometimes want to ignore the warning for a particular rule without filtering out the warning completely.

I suggest there should be a way to tell the yara-x compiler that you want to suppress warnings for a particular line or block. Similar to how code linters work. e.g. // suppress: text_as_hex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant