Tool/software:
Hi
I’d like to know the way to do the ststic analysis on Eclipse-based CCS. The following two seems to be a possibility.
1. Use the static analysis option of the Clang compiler
2. Use the CODAN function of Eclipse ([Show Build Stetting]--> [Hide advanced settings] --> [C/C++ General] --> [Code Analysis]) for static analysis
----
1. Use the static analysis option of the Clang compiler
It seems to be possible to run it with "--analyze" option, but it does not seem to work with compilation ("-c" option). In fact, many errors are occurred during link execution.
Currently, sa a tentative solution, the above issue is solved by
- set "--analyze" option at [Show Build Settings]-->[Arm Compiler]-->[Command] insted of set "-c"
- Clear the contents at [Arm Linker] --> [Command]
However, I'd like to know the best way to enable "--analyze" option without error
---
2. Use the CODAN function of Eclipse ([Show Build Stetting]--> [Hide advanced settings] --> [C/C++ General] --> [Code Analysis]) for static analysis
What is TI’s roadmap for this capability?
For example
- This feature will be migrated in the future
- Use of this feature is recommended
- It is not recommended to use this feature because it will be discontinued in the future
Thanks and Best regards,
Tsurumoto.