Invention Grant
- Patent Title: Static enforcement of provable assertions at compile
-
Application No.: US16128459Application Date: 2018-09-11
-
Publication No.: US11474795B2Publication Date: 2022-10-18
- Inventor: Nader W. Moussa , Etienne Belanger
- Applicant: Apple Inc.
- Applicant Address: US CA Cupertino
- Assignee: Apple Inc.
- Current Assignee: Apple Inc.
- Current Assignee Address: US CA Cupertino
- Agency: Bakerhostetler
- Main IPC: G06F8/41
- IPC: G06F8/41

Abstract:
Embodiments described herein provide for a non-transitory machine-readable medium storing instructions to cause one or more processors to perform operations processing, in an integrated development environment, a set of program code to identify an assertion within the set of program code; determining compile-time provability of a condition specified by the assertion; and presenting an error condition in response to failing to determine compile-time provability of the condition specified by the assertion, wherein determining compile-time provability of the condition specified by the assertion includes semantically converting the condition specified by the assertion into a Boolean, reducing the Boolean to an intermediate representation, and processing the intermediate representation to detect an expression within the intermediate representation that is non-constant at compile-time.
Public/Granted literature
- US20200081693A1 STATIC ENFORCEMENT OF PROVABLE ASSERTIONS AT COMPILE Public/Granted day:2020-03-12
Information query