# FreeSBee: A Constant-Time Compilation Pipeline

DevFeed: [FreeSBee: A Constant-Time Compilation Pipeline](<https://devfeed.tech/articles/freesbee-a-constant-time-compilation-pipeline-119897.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.20171>)

Author: Julian Ganz, David Knothe, David Oswald, Sebastian Reiter, Thorben Schneider, Simon Wegener

Published: 2026-11-06T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [compiler hardening](<https://devfeed.tech/topics/compiler-hardening.md>), [Compilers and Linkers](<https://devfeed.tech/topics/compilers-and-linkers.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [application](<https://devfeed.tech/tags/application.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [attacks](<https://devfeed.tech/tags/attacks.md>), [automated](<https://devfeed.tech/tags/automated.md>), [code](<https://devfeed.tech/tags/code.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [control](<https://devfeed.tech/tags/control.md>), [core](<https://devfeed.tech/tags/core.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [devices](<https://devfeed.tech/tags/devices.md>), [execution](<https://devfeed.tech/tags/execution.md>), [flow](<https://devfeed.tech/tags/flow.md>), [hardening](<https://devfeed.tech/tags/hardening.md>), [information](<https://devfeed.tech/tags/information.md>), [iot](<https://devfeed.tech/tags/iot.md>), [security](<https://devfeed.tech/tags/security.md>), [side-channels](<https://devfeed.tech/tags/side-channels.md>), [static-timing-analysis](<https://devfeed.tech/tags/static-timing-analysis.md>), [time](<https://devfeed.tech/tags/time.md>)

## AI overview

FreeSBee hardens compiled code against timing side-channels by using taint analysis to locate code that depends on sensitive data, then applying automated control-flow transformations in the compiler. The authors evaluate the workflow on a realistic application running on a RISC-V core, using static timing analysis and statistical methods. They report that it does not achieve cycle-accurate constant-time execution, though the statistical results suggest the hardened binary is safe against timing attacks.

## Source excerpt

arXiv:2610.20171v2 Announce Type: replace Abstract: Constant-time execution is an important security property, especially for IoT devices, that prevents the leakage of sensitive information over timing side-channels. However, achieving constant-time execution is very hard when going down to the cycle level, at least on realistic devices. A lot of research is concerned with producing tools that either determine whether code is constant-time or that ensure it is compiled into a constant-time binary, with various degrees of accuracy. In this work, we present and evaluate a full workflow for hardening against timing side-channels during compilation. It starts with taint analysis to determine the code locations that depend on sensitive information. These are then the object of automated control-flow transformations inside the compiler to seal possible timing side-channels. We evaluate our workflow in detail on a realistic application running on a RISC-V core using both static timing analysis and statistical methods. Even though we do not reach cycle-accurate constant-time execution, our statistical results suggest that our hardened binary is safe against timing attacks.