Invention Application
- Patent Title: Apparatus and Method for Enforcing Hardware-Assisted Memory Safety
-
Application No.: US17434643Application Date: 2019-03-12
-
Publication No.: US20220179947A1Publication Date: 2022-06-09
- Inventor: Jan-Erik Ekberg
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: Huawei Technologies Co., Ltd.
- Current Assignee: Huawei Technologies Co., Ltd.
- Current Assignee Address: CN Shenzhen
- International Application: PCT/EP2019/056138 WO 20190312
- Main IPC: G06F21/54
- IPC: G06F21/54 ; G06F21/55 ; G06F21/79 ; G06F9/30

Abstract:
An apparatus includes a processor coupled to a memory. The processor calls a second function from a first function by coloring with an inaccessible color value a first memory area associated with the first function, branching to the second function, coloring with a second color value a second memory area associated with the second function, operating on the second memory area, and coloring with the inaccessible color value the second memory area. The processor then returns control to the first function, and colors with a first color value the first memory area. The coloring step includes branching to a coloring routine that includes a basic block beginning with a single branch target instruction, identifying and authorizing the calling routine, coloring with a hardcoded color value a memory area associated with the calling routine, and returning to the calling routine.
Public/Granted literature
- US11868466B2 Apparatus and method for enforcing hardware-assisted memory safety Public/Granted day:2024-01-09
Information query