Skip to content
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

fix: improve lua checker #3598

Merged
merged 1 commit into from
Dec 18, 2023
Merged

fix: improve lua checker #3598

merged 1 commit into from
Dec 18, 2023

Conversation

ffontaine
Copy link
Contributor

Improve lua checker to avoid false positives with haproxy, nmap, vim and wireshark binaries which link dynamically with lua library (and save the associated version number)

While at it, add an OpenWRT test package

Improve lua checker to avoid false positives with haproxy, nmap, vim and
wireshark binaries which link dynamically with lua library (and save
the associated version number)

While at it, add an OpenWRT test package

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (098a96f) 78.19% compared to head (4ff0ca3) 78.48%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3598      +/-   ##
==========================================
+ Coverage   78.19%   78.48%   +0.28%     
==========================================
  Files         773      773              
  Lines       11641    11641              
  Branches     1362     1362              
==========================================
+ Hits         9103     9136      +33     
+ Misses       2116     2087      -29     
+ Partials      422      418       -4     
Flag Coverage Δ
win-longtests 78.48% <100.00%> (+0.28%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@terriko terriko left a comment

Choose a reason for hiding this comment

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

It's constantly entertaining to me how a tiny change to signatures can improve accuracy so well. Thanks!

@terriko terriko merged commit 8e2314c into intel:main Dec 18, 2023
@ffontaine ffontaine deleted the fix-lua-checker branch December 19, 2023 06:46
inosmeet pushed a commit to inosmeet/cve-bin-tool that referenced this pull request Feb 16, 2024
Improve lua checker to avoid false positives with haproxy, nmap, vim and
wireshark binaries which link dynamically with lua library (and save
the associated version number)

While at it, add an OpenWRT test package

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants