×

Memory write protection for memory corruption detection architectures

  • US 10,521,361 B2
  • Filed: 02/26/2018
  • Issued: 12/31/2019
  • Est. Priority Date: 06/19/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • storing in a register an address of a memory corruption detection (MCD) table;

    receiving, from an application, an allocation request for allocation of a memory object with a contiguous memory block in memory;

    allocating the contiguous memory block for the memory object in view of a size of the memory object requested;

    writing, into the MCD table, a MCD metadata word, wherein the MCD metadata word comprises;

    a first MCD unique identifier (ID) associated with the contiguous memory block; and

    a write protection indicator that indicates a first protection mode of a first portion of the contiguous memory block;

    receiving, from the application, a memory store request to store data in the first portion of the contiguous memory block of the memory object of the memory, wherein the memory store request comprises a first pointer indicating a first location of the first portion in the contiguous memory block to store the data;

    retrieving, from the MCD table, the write protection indicator that indicates the first protection mode of the first portion; and

    sending, to the application, a fault message when a fault event associated with the first portion occurs based on the first protection mode of the first portion.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×