标签检查装置及方法

By introducing protection tags and address tags into the memory system, performing tag checks and remapping, the memory error problem of compiled code in memory-unsafe languages ​​is solved, and memory protection and finer access control for threads within a process are achieved.

CN115885266BActive Publication Date: 2026-07-17ARM LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ARM LTD
Filing Date
2021-05-27
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In existing technologies, code compiled from memory-unsafe languages ​​is prone to memory-related errors, which attackers can exploit for malicious operations. Furthermore, existing methods struggle to achieve effective memory protection between threads within a process.

Method used

By introducing protective tags and address tags into the memory system, performing tag checks, and executing error response actions when a mismatch is detected, the protective tags and address tags are remapped using a tag mapping memory circuit to achieve finer memory access control.

Benefits of technology

Effective sandboxing of code prevents memory access errors between threads, improves memory security, enables finer access control, and reduces the possibility of malicious operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115885266B_ABST
    Figure CN115885266B_ABST
Patent Text Reader

Abstract

本发明提供了一种装置,该装置具有标签检查电路,该标签检查电路响应于目标地址以:识别防护标签,该防护标签与一个或多个存储器位置的块相关联地被存储在存储器系统中,该块包含由该目标地址识别的目标存储器位置;基于该防护标签和与该目标地址相关联的地址标签来执行标签检查;以及响应于在该标签检查中检测到失配,执行错误响应动作。该装置还具有标签映射存储电路,该标签映射存储电路用于存储指示防护标签值与对应的地址标签值之间的映射的映射信息。该标签检查电路基于由该标签映射存储电路存储的该映射信息来重新映射该防护标签和该地址标签中的至少一者,以生成在该标签检查中使用的重新映射的标签。
Need to check novelty before this filing date? Find Prior Art