Invention Publication
- Patent Title: Hardware Verification of Dynamically Generated Code
-
Application No.: US18484582Application Date: 2023-10-11
-
Publication No.: US20240045678A1Publication Date: 2024-02-08
- Inventor: Jeffrey E. Gonion , Michael D. Snyder , Filip J. Pizlo
- Applicant: Apple Inc.
- Applicant Address: US CA Cupertino
- Assignee: Apple Inc.
- Current Assignee: Apple Inc.
- Current Assignee Address: US CA Cupertino
- Main IPC: G06F9/30
- IPC: G06F9/30 ; G06F9/455 ; H04L9/08 ; G06F21/53

Abstract:
In an embodiment, dynamically-generated code may be supported in the system by ensuring that the code either remains executing within a predefined region of memory or exits to one of a set of valid exit addresses. Software embodiments are described in which the dynamically-generated code is scanned prior to permitting execution of the dynamically-generated code to ensure that various criteria are met including exclusion of certain disallowed instructions and control of branch target addresses. Hardware embodiments are described in which the dynamically-generated code is permitted to executed but is monitored to ensure that the execution criteria are met.
Information query