Static code analysis added to development toolchain
IAR Systems has introduced its latest product, C-STAT, which provides powerful static analysis and is integrated in the IAR Embedded Workbench toolchains for both Texas Instruments MSP430 MCUs and for ARM products. C-STAT is a powerful static analysis tool that executes fast and provides analysis results directly in the IAR Embedded Workbench IDE.
Important concerns for embedded developers include adherence to coding standards as well as increased application complexity that might interfere with code quality. Using a flexible static code analysis tool like C-STAT addresses both these issues by detecting potential code errors in complex applications and by ensuring compliance with coding standards applicable for embedded applications in various segments.
C-STAT checks compliance with rules as defined by coding standards including MISRA C:2004, MISRA C++:2008 and MISRA C:2012, as well as hundreds of rules based on for example CWE (the Common Weakness Enumeration) and CERT C/C++. Users can easily select which rule-set or which individual rules to check the code against.
To take full control of their code, developers can utilise C-STAT complemented by IAR Systems’ tool C-RUN® that checks for actual heap and bounds issues at runtime. The tool detects potential code errors including for example memory leaks, access violations, arithmetic errors and array and string overruns. By finding such errors early, developers can take full control of their code and lower the risk of breaking the budget and deadline for a project.
IAR Embedded Workbench includes an optimising C/C++ compiler and the comprehensive C-SPY Debugger in a user-friendly integrated development environment. C-STAT is available for IAR Embedded Workbench for MSP430 from version 6.30, as well as for IAR Embedded Workbench for ARM with support for more than 3,000 ARM-based devices. All products are sold with access to IAR Systems’ renowned technical support available in multiple time zones.
“Companies have a lot to gain by including code quality checks in the daily work of each developer,” says Anders Holmberg, Analysis Tools Product Manager, IAR Systems. “This way, they can tighten and simplify their development processes, improve code quality during development and accelerate production times by finding errors quickly. C-STAT is fast and user-friendly and can easily be used by entire development teams. We are dedicated to support developers in taking full control of their development and deliver dependable products.”
“Code control and coding-standard compliance are very important in the embedded industry and we are seeing requests for such tools among our MSP430 MCU customers,” says Thomas Mitnacht, MSP430 Development Tools Manager, TI. “With C-STAT, IAR Systems provides an easy-to-use solution for designers to find potential issues in their code. The tool is fast-performing, and companies can really benefit from its use within development teams.”