×

Heap management for memory corruption detection

  • US 10,073,727 B2
  • Filed: 03/02/2015
  • Issued: 09/11/2018
  • Est. Priority Date: 03/02/2015
  • Status: Active Grant
First Claim
Patent Images

1. A processor comprising:

  • a memory to store data from an application, wherein the memory comprises a memory corruption detection (MCD) table; and

    a processor core coupled to the memory, wherein the processing core is operable to;

    receive, from the application, an allocation request for an allocation of one or more contiguous memory blocks of the memory for a memory object;

    allocate the one or more contiguous memory blocks for the memory object in view of a size of the memory object requested;

    write, into the MCD table, a first MCD unique identifier associated with the one or more contiguous memory blocks;

    create a pointer with a memory address of the memory object and a second MCD unique identifier associated with the memory object; and

    send, to the application, the pointer, wherein the allocation request is for an allocation having at least one of a first size or a second size, wherein the first size corresponds to a number of contiguous memory blocks below a first threshold amount, and wherein the second size corresponds to a number of contiguous memory blocks that exceeds the first threshold amount.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×