CRYPTOGRAPHIC ENFORCEMENT OF BORROW CHECKING

    公开(公告)号:US20220206814A1

    公开(公告)日:2022-06-30

    申请号:US17696153

    申请日:2022-03-16

    Abstract: Techniques for borrow checking in hardware are described. The technology includes allocating an object in a memory and setting an ownership identifier (ID) in the allocated object, the allocated object being associated with a first variable in a program and setting a matching ownership ID in a pointer to the allocated object. When the allocated object is accessed during execution of the program by a processor, an exception is generated when the ownership ID in the allocated object does not match the ownership ID in the pointer, and execution of the program is continued when the ownership ID in the allocated object does match the ownership ID in the pointer.

Patent Agency Ranking