MEMORY SAFETY WITH SINGLE MEMORY TAG PER ALLOCATION

    公开(公告)号:US20230393769A1

    公开(公告)日:2023-12-07

    申请号:US17957814

    申请日:2022-09-30

    CPC classification number: G06F3/0631 G06F3/0659 G06F3/0604 G06F3/0679

    Abstract: A processor includes a register to store an encoded pointer for a memory address within a first memory allocation of a plurality of memory allocations in a memory region of a memory. The processor further includes circuitry to receive a memory operation request based on the encoded pointer and to obtain a first tag of a plurality of tags stored in a table in the memory. Each memory allocation of the plurality of memory allocations is associated with a respective one of the plurality of tags stored in the table. The circuitry is to further obtain pointer metadata stored in the encoded pointer and to determine whether to perform a memory operation corresponding to the memory operation request based, at least in part, on a determination of whether the first pointer metadata corresponds to the first tag.

Patent Agency Ranking