Detecting heap and stack execution in the operating system using regions
Abstract
A call to a critical operating system function is stalled. The pregion and pregion type associated with the location of a call module originating the call is determined. In one embodiment, when the pregion type is either a stack or a heap pregion type, protective action is taken, such as terminating the call, otherwise the call is released. In another embodiment, when the pregion type is either a text or shared memory pregion type, the call is released, otherwise protective action is taken.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 7.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method comprising: hooking at least one critical operating system function; stalling a call to said at least one critical operating system function, said call originating from a call module at a location in a virtual address space allocated to a process; determining a pregion associated with said location; and determining a pregion type of said pregion.
- Claim 2Depends on #1
The method of claim 1 , further comprising: determining whether said pregion type is one of a stack pregion type and a heap pregion type; wherein when said pregion type is one of said stack pregion type and said heap pregion type, taking protective action; and wherein when said pregion type is not one of said stack pregion type and said heap pregion type, releasing said call.
- Claim 3Depends on #1
The method of claim 1 , further comprising: determining whether said pregion type is a text pregion type;
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (5)
- "HP-UX Memory Management White Paper, Version 1.3", Hewlett-Packard Company, Apr. 7, 1997, pp. 1-116 [online]. Retrieved from the Internet: <URL:http://docs.hp.com/en/5965-4641/5965-4641.pdf>.
- "HP-UX Memory Management White Paper, Version 1.4", Hewlett-Packard Company, Sep. 22, 2000, pp. 1-69 [online]. Retrieved from the Internet:<URL:http://docs.hp.com/en/1218/mem-mgt.html>.
- "HP-UX Process Management White Paper, Version 1.3", Hewlett-Packard Company, Apr. 7, 1997, pp. 1-124 [online]. Retrieved from the Internet:<URL:http://docs.hp.com/en/5965-4642/5965-4642.pdf>.
- "Memory Management White Paper, Version 1.3", Hewlett-Packard Company, Apr. 7, 1997, pp. 1-116 [online]. Retrieved from the Internet:<URL:http://docs.hp.com/en/5965-4641/5965-4641.pdf>.
- Salzman, Peter J., "Using GNU's GDB Debugger Breaking and Stepping", pp. 1-6 [online]. Retrieved from the Internet:<URL:http://www.dirac.org/linux/gdb/04-Breaking-And-Stepping. php>.