GrammaTech Announces New Version of CodeSonar

*Sophisticated New Analysis Identifies Concurrency Defects *Code-Level Metrics Provide Testing Guidance

Boston, MA, September 30, 2011 --( Embedded Systems Conference – GrammaTech, Inc., a leading manufacturer of source-code analysis tools, today announced the next version of CodeSonar. The release incorporates sophisticated new program-analysis algorithms that identify data races and other serious concurrency defects. An additional new feature is code-level metrics.

The concurrency analysis can be applied to multi-threaded software written for both single core and multi-core architectures. CodeSonar finds data races, deadlock, and process starvation by using innovative symbolic execution techniques to reason about many possible execution paths and interleavings simultaneously. The approach is an outgrowth of research that GrammaTech conducted under a $749k contract from the Defense Advanced Research Projects Agency (DARPA).

“GrammaTech’s focus continues to be on developing the deepest program-analysis algorithms to identify the most program-crashing bugs, and our new concurrency analysis is a prime example,” said Paul Anderson, GrammaTech’s vice president of Engineering. The technology has already proven itself in beta trials, in which it detected significant concurrency defects in avionics and industrial-control applications. The technology is compatible with a wide range of compilers and operating systems, including most of the ones that are used in embedded and Enterprise applications.

Another new feature, code-level metrics, is built on CodeSonar’s existing code-analysis and reporting framework. It enables project managers to track popular metrics such as cyclomatic complexity, or even define new metrics. Warnings can be generated automatically when metrics are outside an expected range.

“Providing popular code metrics, like cyclomatic complexity, was easy because we have more than enough information as a result of our more sophisticated analyses,” commented Anderson. “But it should be noted that there is some disagreement within the software-development community about how to best use metrics to guide testing efforts. We believe that a form of semi-automatic analysis that uses feedback from the user layered on top of code-level metrics could provide more concrete guidance. We view this as an interesting opportunity and currently have an R&D team exploring this new idea.”

About CodeSonar
CodeSonar is a sophisticated static-analysis tool that performs a whole-program, interprocedural analysis on code and identifies complex programming bugs that can result in system crashes, memory corruption and other serious problems. Like a compiler, CodeSonar does a build of the code using the existing build environment. But, instead of creating object code, CodeSonar creates an abstract model of the entire program. Next, CodeSonar’s symbolic execution engine explores program paths, reasoning about program variables and how they relate, to identify tricky bugs that result from complex interactions among procedures.

CodeSonar is backed by years of research and is the most powerful source code analysis tool available for embedded development. It is distinguished by its ability to find more serious defects than any other tool on the market. For this reason, it has been adopted by leading organizations developing medical devices, spacecraft, industrial and automotive control systems, electronics and similar applications. CodeSonar runs on Windows, Linux, Solaris, and Mac OSX operating systems and supports most compilers.

About GrammaTech
GrammaTech's customers create software for avionics, medical, industrial control, and other mission-critical applications. Since its inception as a spin-off of Cornell University, GrammaTech has focused on providing static analysis for applications where reliability and security are paramount. The staff includes thirteen PhD-level experts in static analysis and a superb engineering team, all focused on creating the most innovative and in-depth analysis algorithms. More information about GrammaTech can be found at


CodeSonar is a registered trademark of GrammaTech, Inc. All other trademarks are property of their respective companies.

The URL for this release is located at:

GrammaTech Sales Contacts:

North America: GrammaTech, Inc., 531 Esty Street, Ithaca, NY 14850, Tel: +1 607-273-7340,
Email:, Website:

UK, Scandinavia and Central Europe: SCL, Jubilee House, Jubilee Walk, Three Bridges, Crawley,
West Sussex, RH10 1LQ, UK, Tel: +44 (0)1293 403636, Email:

France: ISIT, 8 Av. Jean Mermoz, Bât. Les Diamants, 31770 Colomiers, France, Tel: +33 (0)5 61 30 69 00,
Fax: +33 (0)5 61 16 50 63, Email:

Israel: Pertech Embedded Solutions, 10 Zarchin Street, Raanana 43662,
Tel: +972-9-7711418,


Japan: A.I. Corporation, Iijima Bldg, 2-25-2, Nishigotanda, Shinagawa-ku, Tokyo, 141-0031, Japan,
Tel: +81-3-3493-7981, Fax: +81-3-3493-7993, Email:

Korea: MDS Technology Co., Ltd., 15F., Kolon Digital Tower Billant, Guro3-dong, Guro-gu, Seoul, Korea,
152-777, Tel: +82-2-2106-6000, Email:

Media Contact:
Barbara Stewart
Patterson & Associates
GrammaTech, Inc
Barbara Stewart