Hacker News new | ask | show | jobs
by account42 2451 days ago
Clang has support for cross-compiling [1] without needing separate builds for each target so you should be able to use clang-analyzer and clang-tidy whit the right -target flag for your ARM platform.

https://clang.llvm.org/docs/CrossCompilation.html

Besides that, most bugs found by static analysis are platform independent so you should be able to use any static analyzer you get your hands on as long as your code is cross-platform.

1 comments

Oh cool, thanks!