Suggestion: static code analysis

Suggestion: static code analysis

I'm thinking you perhaps could make a small tool to perform static analysis of a kernel... like some C/C++ tools do ( cppcheck, Visual Studio's static code analysis, etc... ).

The idea is to pass a command line app a folder path ( or a set of files ) so all the .cl archives could be parsed and analyzed. If the app finds, for instance, a buffer overrun then the program could emit via stdout/printf a warning.

You could use this app also to detect performance problems ( for example, suggest for unrolls, detect memory misaligments, etc... )


publicaciones de 2 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

As always, great idea!

We like to see such ideas.

I actually think it might be useful add to the Offline
Complier utility already available.


Inicie sesión para dejar un comentario.