我在基于 ubuntu:18.04 的 docker 镜像中使用 PVS-Studio 来交叉编译几个带有 arm-none-eabi-gcc 的文件。成功创建 strace_out 文件后pvs-studio-analyzer trace -- .test/compile_with_gcc.sh
,它不是空的,并且包含对 arm-none-eabi-gcc 的调用。
但是pvs-studio-analyzer analyze
抱怨“没有找到编译单元”。我尝试使用--compiler arm-none-eabi-gcc
密钥没有成功。
有任何想法吗?