yara-x icon indicating copy to clipboard operation
yara-x copied to clipboard

Feature Request: warning suppression comments

Open jpsnyder opened this issue 10 months ago • 0 comments

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

jpsnyder avatar Mar 07 '25 22:03 jpsnyder