Preserving program context when adding probe routine calls for program instrumentation
Abstract
Method and apparatus for preserving program context when causing execution of a probe routine from a target routine of an executable computer program code. Executable code for the probe routine is created such that the probe routine does not reference a first set of registers that are usable by the target routine. A modified version of the target routine is created to cause execution of the probe routine. The modified version of the target routine is performed instead of the original version when the target routine is called during program execution. A second set of registers on the processor register stack is allocated when the probe routine is invoked. The second set of registers is not manipulated by the probe routine so as to avoid changing contents of registers of the register stack that are used by the target routine.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 15.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for causing execution of a probe routine from a target routine of an executable computer program code while preserving context of the target routine, the executable computer program code including an original version of the target routine, comprising: generating executable code for the probe routine, wherein the executable code does not reference a selected first set of registers accessible to the target routine; creating a modified version of the target routine, wherein execution of the modified version of the target routine causes execution of the probe routine; executing the modifi
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 15 total)
References Cited — Backward Prior Art (22)
Non-Patent Literature (5)
- Ferrero, Software for personal instruments, IEEE, vol. 39, Issue 6, Dec. 1990, pp. 281-286.
- Nan-Chi Chou et al., Dynamic probe scheduling optimization for MCM substrate test, IEEE, vol. 17, Issue 2, May 1994 pp. 182-189.
- Neblett, Implementing reusable, instrument independent test program in the factory, IEEE, Sep. 1996, pp. 206-212.
- Pendurkar et al., Single-probe traversal optimization for testing of MCM substrate interconnections, IEEE, vol. 18, Issue 8, Aug. 1999 pp. 1178-1191.
- So-Zen et al., A multi-probe approach for MCM substrate testing, IEEE, vol. 13, Issue 1, Jan. 1994 pp. 110-121.