METHOD AND SYSTEM FOR DYNAMICALLY UPDATING STACK CANARY

    公开(公告)号:US20240054250A1

    公开(公告)日:2024-02-15

    申请号:US18362010

    申请日:2023-07-31

    CPC classification number: G06F21/64

    Abstract: A canary update method according to some embodiments is disclosed. The canary update method includes executing, by a processor configured to process tasks including the canary, computer program instructions to perform operations including extracting, by a processor, a first value from an array including N values, setting the canary to the first value, determining that the canary is updated based on a canary flag value of a first task, extracting, when determined that the canary is updated, a second value from the array, and updating the canary of the first task to the second value. The processor is configured to access a memory through a mapping circuit, and the mapping circuit includes mapping information between a physical memory region in the memory corresponding to the first task and a virtual memory region associated with the mapping circuit.

Patent Agency Ranking