Dynamic instrumentation of an executable program by means of causing a breakpoint at the entry point of a function and providing instrumentation code
Abstract
Method and apparatus for dynamic instrumentation of an executable application program. The application program includes a plurality of functions, each function having an entry point and an endpoint. When the application is executed, a shared memory segment is created for an instrumentation program and the application program. Upon initial invocation of the original functions in the application program, corresponding substitute functions are created in the shared memory segment, the substitute versions including instrumentation code. Thereafter, the substitute functions are executed in lieu of the original functions in the application program.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 49.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer-implemented method for dynamic instrumentation of an executable application program using an instrumentation program, the application program including a plurality of original functions, each original function having an entry point and an endpoint, comprising: patching the function entry points with breakpoint instructions; creating a shared memory segment for the instrumentation program and the application program; upon initial invocation of the original functions in the application program and in response to encountering the breakpoint instructions, creating in the shared memory s
- Claim 2Depends on #1
The method of claim 1 , further comprising replacing the break instruction at the ent
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 49 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- "Linkers and Loaders", John Levine, pp. 75-92, 216-222, Oct. 11, 1999.
- IBM Technical Disclosure Bulletin, Dual Indirect RAM/ROM JUMP Tables For Fimware Updates, vol. 31, No. 1 Jun. 1988, pp. 294-298.
- IBM Technical Disclosure Bulletin, vol. 31, No. 1, Jun. 1988, pp. 294-298.
- Miller et al., The Paradyn Parallel Performance Measurement Tools, IEEE Computer 28, Nov. 11, 1995.
- Rewriting Executable Files to Measure Program Behavior, J.R. Larus et al, University of WI Tech Report 1083, pp. 1-17, Mar. 25, 1992.