首页> 外文会议>ACM SIGSAC Conference on Computer and Communications Security >Low-Fat Pointers: Compact Encoding and Efficient Gate-Level Implementation of Fat Pointers for Spatial Safety and Capability-based Security
【24h】

Low-Fat Pointers: Compact Encoding and Efficient Gate-Level Implementation of Fat Pointers for Spatial Safety and Capability-based Security

机译:低脂肪指针:紧凑的编码和高效的脂肪栅极级实现,用于空间安全性和基于能力的安全性的脂肪指针

获取原文

摘要

Referencing outside the bounds of an array or buffer is a common source of bugs and security vulnerabilities in today's software. We can enforce spatial safety and eliminate these violations by inseparably associating bounds with every pointer (fat pointer) and checking these bounds on every memory access. By further adding hardware-managed tags to the pointer, we make them unforgeable. This, in turn, allows the pointers to be used as capabilities to facilitate fine-grained access control and fast security domain crossing. Dedicated checking hardware runs in parallel with the processor's normal datapath so that the checks do not slow down processor operation (0% runtime overhead). To achieve the safety of fat pointers without increasing program state, we compactly encode approximate base and bound pointers along with exact address pointers for a 46b address space into one 64-bit word with a worst-case memory overhead of 3%. We develop gate-level implementations of the logic for updating and validating these compact fat pointers and show that the hardware requirements are low and the critical paths for common operations are smaller than processor ALU operations. Specifically, we show that the fat-pointer check and update operations can run in a 4 ns clock cycle on a Virtex 6 (40nm) implementation while only using 1100 6-LUTs or about the area of a double-precision, floating-point adder.
机译:引用阵列或缓冲区的界限是当今软件中的错误和安全漏洞的常见源。我们可以通过与每个指针(FAT指针)与每个指针(FAT指针)联系起来并检查每个内存访问的界限来执行空间安全性并消除这些违规行为。通过进一步向指针添加硬件托管标记,我们使它们不可避免。反过来,这允许将指针用作能力,以便于促进细粒度的访问控制和快速安全域交叉。专用检查硬件与处理器的普通数据路径并行运行,以便检查不会减慢处理器操作(0%运行时开销)。为了在不增加程序状态的情况下实现脂肪指针的安全性,我们将近似基础和绑定指针紧凑地编码了一个46B地址空间的精确地址指针,以一个64位字,具有3%的最坏情况存储器开销。我们开发逻辑的门级实现,以更新和验证这些小型胖指针,并表明硬件要求低,并且公共操作的关键路径小于处理器ALU操作。具体地,我们表明FAT指针检查和更新操作可以在Virtex 6(40nm)实施中的4 ns时钟周期中运行,同时仅使用1100 6-lut或关于双精度,浮点加法器的区域。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号