CONTROL FLOW PROTECTION MECHANISM
    1.
    发明申请
    CONTROL FLOW PROTECTION MECHANISM 审中-公开
    控制流量保护机制

    公开(公告)号:US20090077415A1

    公开(公告)日:2009-03-19

    申请号:US12280672

    申请日:2007-02-26

    IPC分类号: G06F11/20

    CPC分类号: G06F21/50

    摘要: A method is provided of protecting a program executing on a device at least to some extent from execution flow errors caused by physical disturbances, such as device failures and voltage spikes, that cause program execution to jump to an unexpected memory location. The executing program follows an execution path that proceeds through a plurality of regions (B′[m], B′[f]). A first check value (wisb) is provided at a randomly accessible memory location. It is determined at least once (e.g. in TERM[m]) in at least one region (B′[m]) whether the first check value (wisb) has an expected value (s[m]) for that region (B′[m]). The first check value (wisb) is updated (e.g. in “set-up for call to f”), as execution passes from a first region (B′[m]) into a second region (B′[f]) in which such a determination is made, so as to have a value (s[f]) expected in the second region (B′[f]). An error handling procedure is performed if such a determination is negative.

    摘要翻译: 提供了一种保护在设备上执行的程序的方法,至少在某种程度上与由导致程序执行跳转到意外的存储器位置的物理干扰(例如设备故障和电压尖峰)引起的执行流程错误有关。 执行程序遵循经过多个区域(B'[m],B'[f])的执行路径。 在随机访问的存储器位置提​​供第一检查值(wisb)。 在至少一个区域(B'[m])中至少确定一次(例如在TERM [m])中第一检查值(wisb)是否具有该区域的预期值(s [m])(B' [m])。 当执行从第一区域(B'[m])传递到第二区域(B'[f])时,第一检查值(wisb)被更新(例如,在“调用f”的设置中),其中 进行这样的确定,以便具有在第二区域(B'[f])中预期的值(s [f])。 如果这样的确定是否定的,则执行错误处理过程。