Skip to content

Conversation

@inashivb
Copy link
Member

This should make it possible to catch invalid combinations in the same
signature early. This patch covers checking and erroring on the following
invalid cmd combinations:
- set + isset
- unset + isnotset
- set + toggle
- set + unset
- isset + isnotset
- unset + toggle

the same flowbit in the same signature which is basically an unnecessary
operation at runtime.

This also helps bring down the difficulty of handling of actual complex
flowbit chains.

Bug 7772
Bug 7773
Bug 7774
Bug 7817
Bug 7818
Bug 8166
@codecov
Copy link

codecov bot commented Jan 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.11%. Comparing base (c333b28) to head (d4f1b7c).
⚠️ Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14670      +/-   ##
==========================================
- Coverage   82.11%   82.11%   -0.01%     
==========================================
  Files        1011     1011              
  Lines      262812   262865      +53     
==========================================
+ Hits       215812   215854      +42     
- Misses      47000    47011      +11     
Flag Coverage Δ
fuzzcorpus 60.22% <88.67%> (+0.04%) ⬆️
livemode 18.87% <0.00%> (+0.16%) ⬆️
pcap 44.62% <77.35%> (+0.03%) ⬆️
suricata-verify 65.30% <100.00%> (+0.02%) ⬆️
unittests 59.28% <77.35%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@victorjulien victorjulien added this to the 9.0 milestone Jan 22, 2026
@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline = 29238

@victorjulien
Copy link
Member

Merged in #14673, thanks!

@inashivb inashivb deleted the flowbits-validation/v6.7 branch January 23, 2026 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants