feat(checker): add new checker for less#5767
Open
Anushkarshetty45 wants to merge 3 commits into
Open
Conversation
Signed-off-by: ANUSHKA R SHETTY <anushkarshetty45@gmail.com>
f1a1827 to
73c4ac4
Compare
Collaborator
|
Tests must be added (including tests using "real" binaries). Documentation can be found here: https://cve-bin-tool.readthedocs.io/en/latest/checkers/README.html#adding-tests. You can also check what is done in other packages (e.g. d4b71df) |
- Add less to checkers __init__.py __all__ list - Add test/test_data/less.py with mapping and package test data - Add filename mapping test in test_checkers.py Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: ANUSHKA R SHETTY <anushkarshetty45@gmail.com>
3130e4c to
85e403a
Compare
Author
|
@ffontaine Added tests as requested ,test/test_data/less.py with mapping and package test data, registered the checker in init.py, and added the filename mapping test in test_checkers.py. |
Collaborator
|
CI/CD tests failed because condensend downloads are missing from PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Adds a new checker for GNU less ,a standard terminal pager
available in Alma Linux BaseOS packages.
Patterns found from binary analysis:
Related:
Closes part of #2761 (Alma Linux package checker coverage)
Checklist: