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

Add more (security) code checkers to CI #176

Open
secworks opened this issue Mar 19, 2024 · 1 comment
Open

Add more (security) code checkers to CI #176

secworks opened this issue Mar 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@secworks
Copy link
Contributor

secworks commented Mar 19, 2024

There are a few interesting linters, STAs that we could add to the CI flow to improve checks:

Flawfinder
https://dwheeler.com/flawfinder/

splint
https://splint.org/

scan-build - exists as action in github
https://clang-analyzer.llvm.org/scan-build.html

Some more advanced analysis tools are semgrep:
https://github.com/0xdea/semgrep-rules

Libfuzzer:
https://github.com/google/fuzzing/blob/master/tutorial/libFuzzerTutorial.md

We should also use gcc as secondary compiler, parser with flags such as:
-g -Og -fasynchronous-unwind-tables -fexceptions -fno-omit-frame-pointer -Wall -Wextra -pedantic -Werror -Wformat=2 -Wconversion -Wdouble-promotion -Wshadow -Wundef -fanalyzer -Wcast-qual -Wcast-align -Wredundant-decls -Winline -Wdisabled-optimization -Wnested-externs -fstrict-aliasing -fsanitize=address,undefined

@secworks secworks changed the title Add security linters to CI Add more (security) code checkers to CI Mar 19, 2024
@secworks secworks added the enhancement New feature or request label Mar 19, 2024
@mchack-work
Copy link
Member

mchack-work commented Mar 21, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants