| CPC G06F 21/56 (2013.01) [G06F 2221/034 (2013.01)] | 18 Claims |

|
1. A security system, comprising:
one or more processors; and
a memory communicably coupled to the one or more processors and storing:
a control module including instructions that, when executed by the one or more processors cause the one or more processors to:
acquire state information about a program executing within a vehicle, wherein the state information specifies at least a security level of segments of the program;
responsive to the program satisfying a generating threshold which includes monitoring for when the program is executing at a location of a canary value as identified via a mapping that indicates a memory address and for a timing interrupt occurring for generating the canary value, generate the canary value according to the state information, the instructions including instructions to select a length of the canary value according to the security level for a respective segment of the segments of the program; and
insert the canary value into the memory address associated with the program, wherein the security system is integrated with the vehicle, and wherein the security level is based, at least in part, on at least one of a risk associated with the respective segment and functional safety associated with the respective segment identified from a pre-analysis of the program.
|