Method and system to instrument virtual function calls
AssigneeHewlett-Packard Development Company, L.P.
InventorsBrian Fahs, Robert Hundt, Tara Krishnaswamy
Life of this patent
Estimating the term…
Loading patent…
AssigneeHewlett-Packard Development Company, L.P.
InventorsBrian Fahs, Robert Hundt, Tara Krishnaswamy
Estimating the term…
A method and system for analyzing a virtual function. In one embodiment, the present invention determines whether a virtual table exists for a virtual function, and determines a call type for the virtual function. In the present embodiment, provided the virtual table is located, the present invention replaces an existing address for the virtual function with a new address such that the new address points to instrumentation code. In this embodiment, upon a call to the virtual function, the present invention loads the new address from the virtual table such that execution is directed to the instrumentation code. The present embodiment continues execution and executes the instrumentation code such that control is delivered to the instrumentor.
A computer-implemented method for analyzing a virtual function, said method comprising:
A computer-readable medium embodying instructions that cause a computer to perform a method for analyzing a virtual function, said method comprising:
An apparatus for analyzing a virtual function, said apparatus comprising:
Dependencies are inferred from the claim text.