← Back to Patent Explorer
US5968113A Expired / Lapsed US ⏱️ 0.0 years remaining

Computer process resource modelling method and apparatus

Assignee: Microsoft Technology Licensing LLC
•
Filing: 1997-08-01
•
Granted: 1999-10-19
•
Expires: 2017-08-01
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract An error detection mechanism for detecting programming errors in a computer program. A component of the computer program, e.g., a procedure or function of the computer program, is analyzed to determine the effect of the component on resources used by the computer program. A component is analyzed by traversing the computer instructions, i.e., statements, of the component and tracking the state of resources used by the component as affected by the statements of the component. Each resource has a prescribed behavior represented by a number of states and transition between states. Violations in the prescribed behavior of a resource resulting from an emulated execution of the statements of the component are detected and reported as programming errors. Resources used by two or more components are modelled by modelling externals of the components. The effect of execution of a component on externals and resources of the component is determined by traversing one or more possible control flow paths through the component and tracking the use of each external and resource by each statement of each control flow path. Once the effect of execution of a component on externals and resources of the component is determined, a model of the component is created and used to model externals and resources of other components which invoke the modelled component.

Inventors

  • 👤 Matthew A. Haley
  • 👤 Jonathan D. Pincus
  • 👤 William R. Bush

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-07 14:38
CPC Classifications
G; G06; G06F; G06F11/00; G06F11/36; G06F11/362; G06F11/366

Claims Analysis

Total Claims: 3
Claim 1
Independent Claim 83 words
A method for detecting resource leaks in a component of a computer program, the component including a statement which prescribes use of one or more resources and including one or more externals, the method comprising: emulating execution of the component; determining which of the one or more resources are reachable by any of the one or more externals; and determining whether any resource which is not reachable by an external can be in an allocated state upon termination of execution of the component.
Claim 2
Independent Claim 83 words
A method for detecting resource leaks in a component of a computer program, the component including a statement which prescribes use of one or more resources and including one or more externals, the method comprising: emulating execution of the component; determining which of the one or more resources are reachable by any of the one or more externals; and determining whether any resource which is not reachable by an external can be in an allocated state upon termination of execution of the component.
Claim 3
Dependent Claim 41 words
The method of claim 1 wherein the step of determining which of the one or more resources are reachable comprises: determining that an external of the component is in a bunch which includes an item through which the resource is reachable.

References Cited (Backward Citations)

US5253158A Cited
US5355469A Cited
US5293629A Cited
US5193180A Cited
US5590329A Cited
US5644709A Cited
US5613063A Cited
US5615369A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2002-10-18 2003-04-19 2003-10-19 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2006-10-18 2007-04-19 2007-10-19 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2010-10-18 2011-04-19 2011-10-19 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag