Patent ID: 7624381

Claim:
A method for tracking a target object, comprising: identifying a portion of code comprising a first constructor for the target object after compiling the portion of code and before executing the portion of code; inserting a first tracking method into the portion of code after compiling the portion of code and before executing the portion of code, wherein the first tracking method compares the target object and an object calling the first constructor to generate a first comparison result; identifying a second constructor for the target object in the portion of code after compiling the portion of code and before executing the portion of code; inserting a second tracking method into the portion of code after compiling the portion of code and before executing the portion of code, wherein the second tracking method compares the target object and an object calling the second constructor to generate a second comparison result; and executing the portion of code including the first tracking method and the second tracking method to generate an output identifying a creation of the target object, wherein generation of the output is based on the first comparison result and the second comparison result, and wherein the output comprises at least one selected from the group consisting of a target object name, a target object type, a target object creation timestamp, and a target object deletion timestamp.