首页> 外文会议>IEEE Computer Security Foundations Symposium >Information-Flow Preservation in Compiler Optimisations
【24h】

Information-Flow Preservation in Compiler Optimisations

机译:编译器优化中的信息流保存

获取原文

摘要

Correct compilers perform program transformations preserving input/output behaviours of programs. Yet, correctness does not prevent program optimisations from introducing information-flow leaks that would make the target program more vulnerable to side-channel attacks than the source program. To tackle this problem, we propose a notion of Information-Flow Preserving (IFP) program transformation which ensures that a target program is no more vulnerable to passive side-channel attacks than a source program. To protect against a wide range of attacks, we model an attacker who is granted arbitrary memory accesses for a pre-defined set of observation points. We propose a compositional proof principle for proving that a transformation is IFP. Using this principle, we show how a translation validation technique can be used to automatically verify and even close information-flow leaks introduced by standard compiler passes such as dead-store elimination and register allocation. The technique has been experimentally validated on the CompCert C compiler.
机译:正确的编译器执行保留程序的输入/输出行为的程序转换。然而,正确性不会阻止程序优化引入信息流泄漏,这将使目标程序更容易受到侧信机攻击的攻击而不是源程序。为了解决这个问题,我们提出了一种信息流保存(IFP)程序转换的概念,这确保了目标程序不容易受到被动侧通道攻击的影响而不是源程序。为了防止各种攻击,我们模拟了一个攻击者,该攻击者被授予预定义的观察点集的任意内存访问。我们提出了一种组成证明原则,以证明转型是IFP。使用此原则,我们展示了如何使用翻译验证技术如何自动验证,甚至是标准编译器的通行证(如Dead-Store消除和注册分配)引入的关闭信息流泄漏。该技术已经在Compcert C编译器上进行了实验验证。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号