Partial recording of a computer program execution for replay
Abstract
A method, system and program product for recording a program execution comprising recording processor context for each thread of the program, results of system calls by the program, and memory pages accessed by the program during an execution interval in a checkpoint file. Processor context includes register contents and descriptor entries in a segment descriptor table of the operating system. System calls are recorded for each program thread, tracked by an extension to the operating system kernel and include returned call parameter data. Accessed memory pages are recorded for each program process and include data, libraries and code pages. The program address space, processor context, and program threads are reconstructed from checkpoint data for replaying the program execution in a different operating system environment.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 0.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A computer-implemented method, comprising: creating a shadow process for a program process being executed; in response to an accessed memory page being modified by the program process, recording an original copy of the modified memory page obtained from the shadow process in a partial checkpoint; and replaying a program execution using the partial checkpoint.
- Claim 2Depends on #1
The computer-implemented method of claim 1 , wherein system call results and accessed memory pages are recorded.
- Claim 3Depends on #2
The computer-implemented method of claim 2 , wherein the accessed memory pages include data pages accessed by the program process and library code pages executed by the program process.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (24)
Non-Patent Literature (5)
- "Research Disclosure Database No. 455001", Research Disclosure, dated Mar. 2002, pp. 1-3, Paper Source.
- A. Georges et al., "JaRec: A Portable Record/ Replay Environment for Multi-threaded Java Applications", dated Feb. 24, 2004, Department ELIS, Ghent University, Total 25 pages.
- Abstract for "Pin: Building Customized Program Analysis Tools with Dynamic Instrumentation", (online) retrieved at URL>http://apps.webofknowledge.com/outboundService.do?action=go, retrieved on Dec. 13, 2012, 1 pp.
- Abstract for "Problem Evaluation Method of Software Library Used in Operating System, Involves Recording Calls and Data Passed to Special Functions Embedded in Library and Recreating Behavior of Library Using Record of Calls and Data", dated Mar. 2002, pp. 1-2.,Derwent Information Ltd.
- J. Steven et al., "jRapture: A Capture/Replay Tool for Observation-Based Testing", Electrical Engineering & Computer Science Department, Case Western Reserve University, dated 2000, pp. 1-10.