PRESERVING PROGRAM CONTEXT WHEN ADDING PROBE ROUTINE CALLS FOR PROGRAM INSTRUMENTATION
Patent №
US 7,107,579
Granted
2006-09-12
Filed 2002
Owner
HEWLETT-PACKARD COMPANY
Lab
—
AI components
1
hardware
Assignment
Recorded
Dataset
AIPD
2023_r1 edition
Application
10143429
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.
AI classification
Ownership
HEWLETT-PACKARD COMPANY
assignment · 133120622
Assignors
TSAI, JENN-YUAN, RAMASAMY, VINODHA
On an employer assignment, the assignors are typically the inventors.