Method and apparatus for ensuring control flow integrity
AssigneeNXP B.V.
InventorsPeter Maria Franciscus Rombouts, Eric Vos
Life of this patent
Estimating the term…
Loading patent…
AssigneeNXP B.V.
InventorsPeter Maria Franciscus Rombouts, Eric Vos
Estimating the term…
A control flow enforcement solution for ensuring that a program or portion thereof behaves as expected during execution upon a processor. A reference control flow is pre-determined for the program using, for example, a control flow graph (CFG). The CFG is then analysed to provide a set of rules which describe how the program should behave under normal execution. As the program executes it is monitored and the rules are evaluated to enable detection of any unexpected control flow. An embodiment of this disclosure is configured to respond upon detection that a rule has been violated. The response can take the form of any appropriate intervention such as a processor interrupt, memory fault, processor reset or generation of an alert. In this way, an embodiment of this disclosure may provide a particularly effective mechanism for detecting and defending against malicious activities such as return oriented programming attacks. The invention can be utilised to effect with any program but may be particularly suited for use with programs executing upon embedded processors.
A computer-implemented method of control flow enforcement, comprising:
A computer-implemented system for enforcing control flow of a program, comprising:
Dependencies are inferred from the claim text.