detecting and proving the absence of run-time errors
abstract interpretation is a formal methods technique that relies on a broad base of mathematical theorems that define rules for analyzing complex dynamic systems, such as software applications. instead of analyzing each state of a program, abstract interpretation represents these states in a more general form and provides rules to manipulate them. it produces a mathematical abstraction and also interprets the abstraction.
to produce a mathematical abstraction of program states, abstract interpretation thoroughly analyzes all code variables. when combined with non-exponential algorithms and today's increased processing power, it helps to address complex embedded software verification and testing challenges.
you can use abstract interpretation with static code analysis to accomplish the following tasks:
- perform code verification to identify and diagnose run-time errors
- use metrics produced by this process to measure and improve software quality
- verify completely and comprehensively all risky operations, getting a diagnostic of “proven,” “fail,” “unreachable,” or “unproven” for each operation
combining abstract interpretation and static code analysis enables you to:
- detect elusive run-time errors
- prove the absence of certain run-time errors
- produce code quality metrics
- check source code for compliance to code standards such as misra c and jsf
for details, see polyspace® products.
examples and how to
software reference
see also: static analysis with polyspace products, verification, validation, and test, embedded systems, abstract interpretation, code review, cyclomatic complexity, formal methods, software metrics, software qa, software quality objectives, source code analysis, static code analysis