opentelemetry-dotnet-instrumentation icon indicating copy to clipboard operation
opentelemetry-dotnet-instrumentation copied to clipboard

Add static analysis tool for native code

Open pjanotti opened this issue 3 years ago • 1 comments

Add a static analysis tool for native code. It will be beneficial to add a tool like clang-tidy or CppCheck to inspect our native code.

Relatest to #1356 which handles the formatting of native code.

pjanotti avatar Nov 21 '22 17:11 pjanotti

We probably could run even both. I remember using CppCheck many years ago and it found serious bugs.

There is also Clang Static Analyzer (usage: here)

pellared avatar Nov 21 '22 17:11 pellared