Invention Grant
- Patent Title: Bounded program failure analysis and correction
- Patent Title (中): 有限程序故障分析和纠正
-
Application No.: US11763312Application Date: 2007-06-14
-
Publication No.: US07882495B2Publication Date: 2011-02-01
- Inventor: Nikolai Tillmann , Jonathan Paul de Halleux , Wolfram Schulte
- Applicant: Nikolai Tillmann , Jonathan Paul de Halleux , Wolfram Schulte
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agency: Workman Nydegger
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
In one embodiment, a computer system determines that a previously run test scenario configured to test a software program has failed to produce an expected result due to one or more semantic errors, generates error trace code configured to monitor the called component, processes the test scenario using the error trace code, and analyzes error trace information to determine the point at which the semantic error occurs in the called component. In an alternative embodiment, a computer system detects a semantic error in a software component of a software program, constructs an error condition that may include source code representing a minimum condition under which the error occurs, generates an object invariant based on the error condition that represents an opposite condition to that represented by the error condition, and automatically generates source code change recommendations using the object invariant that prevent the semantic error from reoccurring in subsequent test scenarios.
Public/Granted literature
- US20080313602A1 BOUNDED PROGRAM FAILURE ANALYSIS AND CORRECTION Public/Granted day:2008-12-18
Information query