- Patent Title: Apparatus and method for enforcing hardware-assisted memory safety
-
Application No.: US17434643Application Date: 2019-03-12
-
Publication No.: US11868466B2Publication Date: 2024-01-09
- Inventor: Jan-Erik Ekberg
- Applicant: Huawei Technologies Co., Ltd. , Jan-Erik Ekberg
- Applicant Address: CN Shenzhen
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Shenzhen
- Agency: Conley Rose, P.C.
- International Application: PCT/EP2019/056138 2019.03.12
- International Announcement: WO2020/182296A 2020.09.17
- Date entered country: 2021-08-27
- 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
- US20220179947A1 Apparatus and Method for Enforcing Hardware-Assisted Memory Safety Public/Granted day:2022-06-09
Information query