Stack unique signatures for program procedures and methods
First Claim
1. An automated method comprising:
- inserting stack signature marking segment program instructions into one or more re-entrant programming source code modules stored in a computer-readable storage memory, the stack signature marking segment program instructions being inserted prior to compilation of the programming source code modules at each code module entry point and at each code module exit point;
producing one or more executable programs in a computer-readable storage memory from the programming source code modules having the inserted stack signature marking segment program instructions;
upon execution of instances of the executable programs;
assigning unique, non-duplicated module identifier values to the instances of the code modules by the stack signature marking segment program instructions, andgenerating an instance count for each instantiation of executable code module in the stack signature for each object instance dynamically created during runtime of a re-entrant executable code module;
pushing by the executed programs by a processor onto a processing stack stored in a computer-readable storage memory the module identifier values and the instance counts within stack frames allocated to each of the executable program instances.
0 Assignments
0 Petitions
Accused Products
Abstract
Stack signature marking segments are inserted into re-entrant programming source code modules prior to compilation of the modules at each code module entry point and at each code module exit point, followed by producing one or more executable programs from the programming source code modules. Upon execution of instances of the executable programs, the inserted segments assign unique, non-duplicated module identifier values to the instances of the code modules, generate an instance count for each instantiation of executable code module in the stack signature for each object instance dynamically created during runtime of a re-entrant executable code module, and push onto a processing stack the module identifier values and the instance counts within stack frames allocated to each of the executable program instances.
-
Citations
14 Claims
-
1. An automated method comprising:
-
inserting stack signature marking segment program instructions into one or more re-entrant programming source code modules stored in a computer-readable storage memory, the stack signature marking segment program instructions being inserted prior to compilation of the programming source code modules at each code module entry point and at each code module exit point; producing one or more executable programs in a computer-readable storage memory from the programming source code modules having the inserted stack signature marking segment program instructions; upon execution of instances of the executable programs; assigning unique, non-duplicated module identifier values to the instances of the code modules by the stack signature marking segment program instructions, and generating an instance count for each instantiation of executable code module in the stack signature for each object instance dynamically created during runtime of a re-entrant executable code module; pushing by the executed programs by a processor onto a processing stack stored in a computer-readable storage memory the module identifier values and the instance counts within stack frames allocated to each of the executable program instances. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product comprising:
-
a computer readable storage memory suitable for storing or encoding computer programs; first computer instructions for inserting stack signature marking segment program instructions into one or more re-entrant programming source code modules stored in a computer-readable storage memory, the stack signature marking segment program instructions being inserted prior to compilation of the programming source code modules at each code module entry point and at each code module exit point; second computer instructions for producing one or more executable programs in a computer-readable storage memory from the programming source code modules having the inserted stack signature marking segment program instructions; and third computer instructions for, upon execution of instances of the executable programs; assigning unique, non-duplicated module identifier values to the instances of the code modules by the stack signature marking segment program instructions, generating an instance count for each instantiation of executable code module in the stack signature for each object instance dynamically created during runtime of a re-entrant executable code module, and pushing by the executed programs by a processor onto a processing stack stored in a computer-readable storage memory the module identifier values and the instance counts within stack frames allocated to each of the executable program instance; wherein the first, second and third computer instructions are stored by the computer readable storage memory. - View Dependent Claims (9, 10, 11)
-
-
12. A system comprising:
-
a computer system having a processor and one or more computer readable storage memory devices; a control portion of the computer system operable by a user to enable insertion of stack signature marking program code segments into re-entrant application program source code modules at each entry point and each exit point of the application program modules; a code inserter portion of the computer system which, responsive to the operation of the control, searches for entry points and exits points in application program source code modules, and inserts modules stack signature marking code segments following each entry point and prior to each exit point into un-compiled source code of the application program modules; a compiler which produces one or more executable programs from the application source code program modules having the inserted stack signature marking code segments; and a debugger which, upon execution of the compiled executable programs including the stack signature marking code segments, assigns unique and non-duplicated module identifier values to each instance of the code modules by the signature marking code segments, generates an instance count for each instantiation of executable code module in the stack signature for each object instance dynamically created during runtime of a re-entrant executable code module, and pushes the module identifiers and instance counts onto a processing stack within stack frames allocated to the instances of the modules. - View Dependent Claims (13, 14)
-
Specification