Dynamic program analyzer facility
Abstract
Provides a dynamic execution link between an analyzer program and each hook instruction in a program. Special types of hook instructions are provided for use in a hooked program. The link causes the analyzer program to execute as part of a continuous uninterrupted execution for each hook instruction. The link uses hardware and/or internal code to access a hook control area which provides linkage information needed to invoke the execution of the analyzer program upon completion of the hook instruction and to continue the execution of the hooked program following the completion of the analyzer program. The linkage information includes the entry location into the analyzer program, and also locates the first hook work area (HWA) of a sequence of HWAs, from which an HWA is assigned to each current hook instruction. The assigned HWA stores a return point location in the hooked program at an instruction following the current hook instruction. One or more hooked programs may concurrently use the same analyzer program. As soon as execution by the analyzer program ends for a hook instruction, its assigned HWA is released for use by another hook instruction.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 50.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An execution method for obtaining a dynamic analysis of a hooked program containing hook instructions which allow the hooked program to execute in a production programming environment of a data processing system, the method comprising the steps of: skipping execution of each non-enabled hook instruction to execute the hooked program without the hook instruction performing any operation in the hooked program, executing each enabled hook instruction, by having hardware and/or microcode in a processor perform the following steps of: accessing a hook control area located by the processor, the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗