发明名称 Method of protecting a computer stack
摘要 A method of protecting a return address on a computer stack is disclosed. Two stacks are created, the first a normal stack, and the second, or shadow, having shadow frames containing the return address upon a subroutine call, the address on the first stack where the return address is stored, and a user-definable state variable which is used to identify a shadow frame as a return address. Before returning from a subroutine, the two return addresses are compared, and if they do not match, the second stack is searched down, and then up, for a matching return address. If there is a match, the shadow is re-synchronized with the first stack by comparing the stored values of the first stack pointer with the first stack pointer and adjusting appropriately the shadow stack pointer. The matching shadow frame must also be a return address datatype of return address.
申请公布号 US7581089(B1) 申请公布日期 2009.08.25
申请号 US20070787832 申请日期 2007.04.18
申请人 THE UNITED STATES OF AMERICA AS REPRESENTED BY THE DIRECTOR OF THE NATIONAL SECURITY AGENCY 发明人 WHITE ANDREW H.
分类号 G06F12/14 主分类号 G06F12/14
代理机构 代理人
主权项
地址