semgrep / semgrep

Lightweight static analysis for many languages. Find bug variants with patterns that look like source code.

Home Page:https://semgrep.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for CUDA language

mrragava opened this issue · comments

Is your feature request related to a problem? Please describe.
Add support for CUDA language

Use case
This will enable CERT-C and Autosar scanning on CUDA kernels

There is https://github.com/tree-sitter-grammars/tree-sitter-cuda
which could be a good starting point.

Looks like CUDA is actually just a few extensions to C++, so should not be that hard to support.