-
Notifications
You must be signed in to change notification settings - Fork 566
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
CMake language support #10000
Labels
Comments
I see https://github.com/uyha/tree-sitter-cmake |
Oh actually the second one above is to a project to build tree-sitter using cmake, so not relevant for this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
I want to use
semgrep
to find any problems in CMake files. There is no good and supported static analyzer for CMake,(see section "Describe alternatives you've considered" below), so I want to create semgrep rules for CMake on my own and use them in CMake projects.
CMake is the most popular build systems in C/C++ projects (sources: 12):
C:
C++:
Describe the solution you'd like
Running Semgrep with rules for CMake declarative language and detect errors and mistakes by Semgrep custom rules.
Describe alternatives you've considered
grep
Use case
It will be easier to add rules for static analysis of CMake files.
Additional context
Footnotes
https://www.jetbrains.com/lp/devecosystem-2023/c/ ↩
https://www.jetbrains.com/lp/devecosystem-2023/cpp/ ↩
The text was updated successfully, but these errors were encountered: