Implementation of Soft Protections to Safeguard Program Execution
First Claim
1. A method of implementing a soft protection by a program executing on a computer system, comprising:
- allocating a region of memory in the computer system;
initializing a soft protection on a page in the region of memory;
detecting a use of the page having the soft protection;
receiving a first signal from an operating system executing on the computer system; and
determining if the signal is masked off, wherein if the signal is not masked off a signal handler in the program executes.
1 Assignment
0 Petitions
Accused Products
Abstract
A program executing on a computer system implements a soft protection by allocating a region of memory in the computer system, initializing a soft protection on a page in the region of memory, detecting a use of the page having the soft protection, receiving a signal from an operating system executing on the computer system, and determining if the signal is masked off. An operating system module executes on a computer system for implementing a soft protection. The operating system module includes an initialization module for allocating memory, a settings module for saving a previous soft protection setting, a detection module for detecting a page fault, and an execution module for setting a notification signal, clearing the soft protection and restoring page permissions.
31 Citations
19 Claims
-
1. A method of implementing a soft protection by a program executing on a computer system, comprising:
-
allocating a region of memory in the computer system; initializing a soft protection on a page in the region of memory; detecting a use of the page having the soft protection; receiving a first signal from an operating system executing on the computer system; and determining if the signal is masked off, wherein if the signal is not masked off a signal handler in the program executes. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An operating system module executing on a computer system for implementing a soft protection, comprising:
-
an initialization module which initializes a memory allocation in the computer system without the soft protection; a settings module following the initialization module which saves a previous protection setting and initializes an effective setting to match a current setting of the soft protection; a detection module following the settings module which identifies whether the soft protection was enabled; and an execution module following the detection module which sets a signal, clears the soft protection, and restores page permissions. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A method of implementing a stack overflow notification for a program, comprising:
-
determining if a page fault has occurred; determining if a predefined stack warning value has been set for a thread in the program; determining if a stack extension invades a predefined stack warning area; and receiving a stack warning signal to the thread. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification