Method and apparatus for dynamically instrumenting a program
Abstract
A dynamic instrumentation method and apparatus which may trace, debug, and profile the execution of a running program without affecting the operation of the program, are provided. According to the method, a break instruction is inserted and executed at start of execution of a first instruction and immediately after execution of the last instruction of a function constituting the program. Environment values of the function before and after execution may be identified. The program may be dynamically instrumented without being affected by any tracing or debugging operations.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 36 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of dynamically instrumenting a program using a dynamic instrumentation apparatus, the method comprising: storing one or more environment values of a function before execution of the function by inserting a break instruction at a location of a first instruction of the function included in the program and executing the break instruction at a start of execution of the first instruction of the function; and storing the one or more environment values of the function after execution of the function by executing the break instruction in response to execution of the function proceeding to a r
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 9,841,976 B2 | Lock free streaming of executable code data | 2017 | 0 |
| US 2016371083 A1 | Lock Free Streaming of Executable Code Data | — | 0 |
References Cited — Backward Prior Art (36)
Non-Patent Literature (1)
- Japanese Office Action issued Nov. 19, 2013 in counterpart Japanese Patent Application No. 2010-045618.