×

Protection of a non-volatile memory by change of instructions

  • US 9,165,165 B2
  • Filed: 04/27/2012
  • Issued: 10/20/2015
  • Est. Priority Date: 05/04/2011
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • assigning rights of writing, reading, or execution to at least one area of a volatile memory, the at least one area being used to store instructions of at least one program, and the at least one area is a program execution stack;

    associating, with the at least one area used to store instructions of the at least one program and assigned the rights of writing, reading, or execution, a first list of opcodes that are authorized or not authorized to be stored as content of the at least one area, the first list of opcodes being selected based on semantics of executed functions of the at least one program for which the at least one memory area is used;

    in response to an attempt to store an opcode of an instruction in the at least one area of the volatile memory, determining, using at least one processor, whether the opcode of the instruction is indicated in the first list of opcodes as an opcode that is authorized to be stored in the at least one area of the volatile memory; and

    performing, using the at least one processor, an action if it is determined that the first list of opcodes indicates that the opcode of the instruction is not authorized to be stored in the at least one area of the volatile memory.

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