-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
detect: set mpm/prefilter during signature parsing #12382
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #12382 +/- ##
==========================================
- Coverage 82.46% 80.49% -1.98%
==========================================
Files 914 917 +3
Lines 258316 258652 +336
==========================================
- Hits 213030 208207 -4823
- Misses 45286 50445 +5159
Flags with carried forward coverage won't be shown. Click here to find out more. |
WARNING:
Pipeline 24191 |
Just a cleanup, no ticket. |
@@ -551,6 +551,9 @@ typedef struct SignatureInitData_ { | |||
bool src_contains_negation; | |||
bool dst_contains_negation; | |||
|
|||
/** see if any of the sigmatches supports an enabled prefilter */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only used in debug logging ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm seems so ya
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it be under #ifdef ? Or used in some other place ? or just removed as a development artifact ?
Besides one nit question, lgtm |
In preparation of flowbit prefilter work that needs this info earlier. Track potential prefilter sm's to avoid unnecessary looping during setup.
363e1a2
to
bd3e65b
Compare
Information: QA ran without warnings. Pipeline 24218 |
The variable is now used. Rebased in #12418 |
In preparation of flowbit prefilter work that needs this info earlier.
Track potential prefilter sm's to avoid unnecessary looping during setup.