Stack unique signatures for program procedures and methods
AssigneeInternational Business Machines Corporation
InventorsLorin Ullmann, Allen Chester Wynn
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsLorin Ullmann, Allen Chester Wynn
Estimating the term…
A system and method for inserting stack signature marking segments into application program modules at the entry and exit points of the application program segments prior to compilations. Unique module identifier values are assigned to each application program module. During execution of the modified application software modules, upon entry into a new module or instance of a module, the unique module identifier is pushed onto the stack along with an instance number and an entry indicator. Upon termination of the module or instance of a module, the unique module identifier is pushed onto the stack with the instance number and an exit indicator, thereby placing an entry signature and an exit signature onto the stack bracketing the stack frame assigned to that module or module instance. During debug of exceptions, these signatures may be used to locate and identify stack frames and their associated software modules.
A method for marking a processing stack with signatures to indicate which portions of the stack were utilized by which software code modules, said method comprising the step of:
A computer readable medium encoded with software for marking a processing stack with signatures to indicate which portions of the stack were utilized by which application code modules, said software causing a processor to perform the steps of:
A system for inserting stack signature marking code segments into application software modules prior to compilation, said system cooperating with a compiler and comprising:
The system of claim 14 wherein said control means comprises a global control means for indicating insertion of stack signature marking code segments are to be inserted into all application software modules to be compiled.
The system of claim 15 wherein said control means comprises a selective control means for indicating specific applications software modules or groups of application software modules into which stack signature marking code segments are to be inserted.
Dependencies are inferred from the claim text.