Maryland's Defense Patent Database

The defense community in Maryland is an R&D powerhouse.

Use this database to see the innovative patents that are poised for commercialization.

Method of protecting a computer stack

Patent image
NSA

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.

Inventors: 
White, Andrew H.
Patent Number: 
Technical domain: 
IT and Software
FIle Date: 
2007-04-18
Grant Date: 
2009-08-25
Grant time: 
860 days
Grant time percentile rank: 
15
Claim count percentile rank: 
3
Citations percentile rank: 
2
'Cited by' percentile rank: 
4
Assignee: 
NATIONAL SECURITY AGENCY