Method for protecting software programs from inadvertent execution
AssigneeRobert Bosch GmbH
InventorsMartin Hurich, Wolfgang Grimm, Harry Friedmann
Life of this patent
Estimating the term…
Abstract
A method of safeguarding program parts which are critical to safety against inadvertent execution is described. In this method, at least one program part is executed in a predetermined chronological sequence. At a certain time in the execution, a pattern is generated. At least at one later time, a check is then performed to determine whether the pattern is present. If the pattern is not present, the execution of the respective program part is terminated. A memory device for executing such a method is also described.
Claims6
A method of safeguarding at least one safety-critical program part against inadvertent execution in a processor, comprising:
- providing a first memory sector and a second memory sector in a program memory, wherein the at least one safety-critical program part is contained in the second memory sector, and wherein at least one further program part is contained in the first memory sector, and wherein the first memory sector is configured to be executed prior to the second memory sector;
- executing the at least one further program part, wherein the at least one further program part includes a routine for generating a pattern;
- and
- at least at one point in time after the pattern is configured to be generated, checking whether the pattern is present;
- wherein a program code for resetting the processor is stored in a section of the program memory corresponding to a chronological execution point prior to the safety-critical program part.
A method of safeguarding a safety-critical program part against inadvertent execution in a processor, comprising:
- providing a first memory sector and a second memory sector in a program memory, wherein the safety-critical program part is contained in the second memory sector, and wherein at least one further program part is contained in the first memory sector, and wherein the first memory sector is configured to be executed prior to the second memory sector;
- performing a check at least at one point in time to determine a presence of a pattern representing a proper sequence of execution, the pattern being configured to be generated using code that is included in the at least one further program part;
- and
- terminating program execution if the pattern is determined to be not present, wherein a program code for resetting the processor is stored in a section of the program memory corresponding to a chronological execution point prior to the safety-critical program part.
Dependencies are inferred from the claim text.