You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Oh actually the second one above is to a project to build tree-sitter using cmake, so not relevant for this issue.
But I guess we still have the first one https://github.com/uyha/tree-sitter-cmake as a good starting point.
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: