Skip to main content
Mallory
← Back to News
standards-framework-updateindustrial-control-system-vulnerabilityembedded-device-vulnerability

Advancements in Compiler Support for Secure and Safe Code in Critical Systems

Regulatory & Policy · 2 sources · Updated 5mo ago · First seen Dec 4, 2025

Advancements in Compiler Support for Secure and Safe Code in Critical Systems

Recent developments in compiler technology are enhancing both the safety and security of code used in critical and regulated environments. The Ferrocene Rust compiler toolchain has achieved IEC 61508 (SIL 2) certification for portions of its core library, enabling the use of memory-safe Rust code in devices that must meet stringent electronic system safety standards. This certification is expected to facilitate the adoption of Rust in industries where reliability and memory safety are paramount, potentially reducing memory-related vulnerabilities that are common in C and C++-based embedded systems.

Separately, Trail of Bits has introduced constant-time coding support for LLVM, which will provide compiler-level guarantees to prevent timing side-channel vulnerabilities in cryptographic code. This enhancement, slated for inclusion in LLVM 22, introduces new intrinsics and infrastructure to ensure that compiler optimizations do not inadvertently introduce data-dependent branches that could leak sensitive information. Together, these advancements represent significant progress in making both safety- and security-critical software more robust against common classes of vulnerabilities, particularly in environments where failure or compromise can have severe consequences.

What this changes for youSee the reporting duties and controls this puts on the clock.
Get the context
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

3 events · Aug 1, 2025 – Dec 2, 2025
  1. Dec 2, 20251y ago

    Trail of Bits publicly introduces constant-time support for LLVM

    Trail of Bits published details of its LLVM/Clang constant-time coding support, explaining how the new intrinsics prevent compiler optimizations from reintroducing timing side channels into cryptographic code.

  2. Dec 2, 20251y ago

    LLVM constant-time intrinsics enter review for LLVM 22

    By December 2025, Trail of Bits' implementation adding __builtin_ct_select and llvm.ct.select.* intrinsics, with architecture-specific lowerings for x86-64 and AArch64, was under review for inclusion in LLVM 22.

  3. Aug 1, 20251y ago

    Trail of Bits posts RFC for constant-time LLVM support

    In August 2025, Trail of Bits posted an RFC on LLVM Discourse proposing compiler-level constant-time support to preserve cryptographic constant-time semantics through optimization.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Organizations

3 linked
Trail of BitsLlvmFerrous Systems
Do you run this?See what this changes for your reporting obligations and which controls it puts on the clock.
Get the Regulatory Context
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.