You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This appears to be causing issues in the rule generator plugin as well e.g. when a user attempts to create a new lib rule the plugin cannot make a match because the rule isn't included in the final ruleset (as no dependencies yet exist):
With lib: true:
Without lib: true:
This also prevents existing lib rules with no dependencies from showing up in the rule generator under matched rules, even though these rules may match the current function.
This was observed in mandiant/capa-rules#225.
Thorough lints fail to validate lib rules, because we ignore "lib" rules here:
https://github.com/fireeye/capa/blob/20ce29b0333741c3f677fc501e3c7e34dc062077/capa/rules.py#L864-L879
Possible solutions:
RuleSet.lib_rules
(not as easy)The text was updated successfully, but these errors were encountered: