Skip to content

Include less v8#7677

Closed
catenacyber wants to merge 6 commits intoOISF:masterfrom
catenacyber:include-less-v8
Closed

Include less v8#7677
catenacyber wants to merge 6 commits intoOISF:masterfrom
catenacyber:include-less-v8

Conversation

@catenacyber
Copy link
Contributor

Link to redmine ticket:
None

Describe changes:

  • Remove unused includes in c files
  • adds some options in CI : hyperscan, luajit

Now that #7644 is merged, we can remove includes from C files independently from one another.

Follows #7658 by being ready for review

Obtained with
./configure --enable-unittests --enable-debug --enable-geoip --enable-profiling --enable-lua

Then ls src/*.c | while read i; do echo $i; python3 scripts/mininc.py $i; done

There is still some more removals :

  • util-memrchr.h if the system has memrchr
  • luajit stuff
  • dpdk stuff
  • ebpf stuff
  • windows stuff
  • libhiredis stuff
  • maybe some FPs

Are there more config options to test ?

@jasonish
Copy link
Member

jasonish commented Aug 2, 2022

nfqueue fails to build. Even though we have CI builds with the nfqueue depedencies, it does not get enabled by default. I added a commit to enable nfqueue for the Fedora 36 build over here: https://github.com/jasonish/suricata/runs/7637121133?check_suite_focus=true

@catenacyber
Copy link
Contributor Author

Thanks Jason, pushing a new version to test it

@codecov
Copy link

codecov bot commented Aug 2, 2022

Codecov Report

Merging #7677 (9843112) into master (5f4bcfe) will decrease coverage by 0.01%.
The diff coverage is n/a.

❗ Current head 9843112 differs from pull request most recent head d36b7cd. Consider uploading reports for the commit d36b7cd to get more accurate results

@@            Coverage Diff             @@
##           master    #7677      +/-   ##
==========================================
- Coverage   75.93%   75.91%   -0.02%     
==========================================
  Files         659      661       +2     
  Lines      185639   186231     +592     
==========================================
+ Hits       140958   141371     +413     
- Misses      44681    44860     +179     
Flag Coverage Δ
fuzzcorpus 60.65% <ø> (-0.07%) ⬇️
suricata-verify 52.69% <ø> (+0.14%) ⬆️
unittests 60.72% <ø> (+<0.01%) ⬆️

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

@suricata-qa
Copy link

ERROR:

ERROR: QA failed on ips_afp_drop_chk.

Pipeline 8466

@catenacyber
Copy link
Contributor Author

Replaced by #7686

@catenacyber catenacyber closed this Aug 3, 2022
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