CppDepend
Functional Safety — Industrial

IEC 61508 Functional Safety for Industrial Software with CppDepend

How CppDepend helps industrial and energy teams meet IEC 61508: SIL-rated static analysis, coding rules, architecture control and verification evidence for safety-related systems.

What CppDepend supports out of the box. CppDepend ships built-in rule sets for MISRA C/MISRA C++, CWE, CERT C/CERT C++ and AUTOSAR C++14 — and no other standard. All other standards, including this one, are enforced through custom CQLinq rules that your team writes (with our help if needed), plus architecture validation and CI quality gates.

IEC 61508 is the umbrella functional-safety standard for electrical, electronic and programmable electronic safety-related systems. It underpins sector standards across energy, process industries, rail and machinery, and defines Safety Integrity Levels (SIL 1–4). For software, IEC 61508-3 recommends static analysis, coding standards and defensive programming — with rigor increasing with the SIL.

IEC 61508-3 Software Requirements

  • Coding standards and subsets: use of safer language subsets (e.g. MISRA C) with demonstrated enforcement.
  • Static analysis: detection of defects, unreachable code and data-flow anomalies as part of verification.
  • Modularity and limited complexity: bounded module size and complexity appropriate to the SIL.
  • Change impact analysis: objective assessment of modifications across the safety lifecycle.

How CppDepend Supports IEC 61508 Projects

  • Built-in MISRA/CERT rule sets for the coding-standard pillar, plus custom CQLinq rules for project-specific constraints.
  • Complexity budgets: enforce per-function and per-module complexity thresholds aligned with your SIL targets.
  • Architecture validation: prove separation between safety-related and non-safety-related software components.
  • Impact analysis: baseline diffs show exactly what changed between two verification cycles.
  • Quality gates in CI: block regressions automatically on every build of the safety-related codebase.

Related Industries & Case Studies

Related Coding Standards

MISRA C · ISO 26262 · IEC 62304 · DO-178C

See what CppDepend reveals in your codebase

Run the analysis on your own projects: coding standards, architecture validation, technical debt and quality gates — in minutes.