Law Office of Jim Boice
Protecting stack memory in computer systems
A computer-implemented method protects stack memory by moving contents of stack memory to an accumulation general purpose register. One or more processors identify an authorized function and a malicious function in a computer program, in which the malicious function is able to execute a call that provides the malicious function with access to stack memory that is used by the authorized function. The processor(s) move data from the stack memory to a protected kernel register before the call is executed, and store results of execution of the authorized function in a first register that is accessible only to the authorized function. The processor(s) then clear the stack memory, and move the results of execution of the authorized function from the first register to an accumulation general purpose register that is also accessible only to the authorized function.
International Business Machines Corporation
G G G G
G06F G06F G06F G06F
additional additional additional inventional
Arun K. Qi Gong Ashish
Iyengar Zhang Su Kundu