Skip to content

detect/integers: add support for negated strings when enum is used - v4 #12516

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

Closed

Conversation

AkakiAlice
Copy link
Contributor

Ticket: #7513

Contribution style:

Our Contribution agreements:

Changes (if applicable):

Link to ticket: https://redmine.openinfosecfoundation.org/issues/7513

Describe changes:

  • just rebase

SV_BRANCH=OISF/suricata-verify#2271
Previous PR = #12484

function detect_parse_uint_enum can parse strings like !bind_request

Ticket: OISF#7513
Copy link

codecov bot commented Jan 31, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.68%. Comparing base (cbda276) to head (056d35c).
Report is 13 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12516      +/-   ##
==========================================
- Coverage   80.70%   80.68%   -0.02%     
==========================================
  Files         925      925              
  Lines      258914   258920       +6     
==========================================
- Hits       208949   208913      -36     
- Misses      49965    50007      +42     
Flag Coverage Δ
fuzzcorpus 56.81% <80.00%> (+<0.01%) ⬆️
livemode 19.41% <0.00%> (+<0.01%) ⬆️
pcap 44.18% <0.00%> (-0.04%) ⬇️
suricata-verify 63.40% <100.00%> (+0.01%) ⬆️
unittests 58.38% <80.00%> (+<0.01%) ⬆️

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

Copy link
Contributor

@catenacyber catenacyber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the work :-) all good for me now

CI : 🟢
Code : good
Commits segmentation : ok
Commit messages : good
Git ID set : looks fine for me
CLA : you already contributed
Doc update : thanks for adding
Redmine ticket : ok
Rustfmt : good :-)
Tests : ok now
Dependencies added: none

@victorjulien victorjulien added this to the 8.0 milestone Feb 11, 2025
@victorjulien
Copy link
Member

Merged in #12562, thanks!

@catenacyber
Copy link
Contributor

Thanks Alice :-)

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.

4 participants