- https://www.mathworks.com/help/bugfinder/ref/armv5compilercompilerarmcc.html
- https://www.mathworks.com/help/polyspace_access/ug/troubleshoot-polyspace-as-you-code.html
- https://www.mathworks.com/help/bugfinder/ug/undeclared-identifier.html
Compilation Errors when running Static analysis for a C Application
22 次查看(过去 30 天)
显示 更早的评论
I am using the R2025b release of the Polyspace bug finder to perform Static Analysis on our C application. But due to compilation errors we observe that a lot of files are 'partially analyzed' as specified in the generated report. We have included paths to all the libaries and toolchain we have used and set the compiler to armcc as the appication is built for arm based linux system. But the compilation error still persist. Please provide a solution.
We are running the Polyspace Bugfinder release: R2025b on a 64 bit Windows Operating System.
0 个评论
回答(1 个)
Sanathan
about 13 hours 前
Hello Reghu
Polyspace Bug Finder marks files as "partially analyzed" when compilation errors prevent full static analysis, even after specifying libraries, toolchains, and the armcc compiler.
As you mentioned you have provided paths to armcc, recheck the standard library headers, since Polyspace requires them explicitly to avoid fallback to its own headers. Without these, errors like missing headers or undefined identifiers persist; verify paths match your ARM toolchain installation.
Refer to this about header issues - https://www.mathworks.com/help/bugfinder/ug/standard-library-function-stubbing-errors.html
If that doesn't work, Refer to the following documentation links. You may get an idea to troubleshoot the root issue.
If you are still unable to find a solution, please contact Technical Support.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!