Invention Grant
- Patent Title: Code analysis via dual branch exploration
- Patent Title (中): 通过双分支勘探进行代码分析
-
Application No.: US12254419Application Date: 2008-10-20
-
Publication No.: US08291383B1Publication Date: 2012-10-16
- Inventor: Christian Lewis Evans
- Applicant: Christian Lewis Evans
- Applicant Address: US CA Mountain View
- Assignee: Google Inc.
- Current Assignee: Google Inc.
- Current Assignee Address: US CA Mountain View
- Agency: Honigman Miller Schwartz and Cohn LLP
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
A method, computer program product, and system are provided to explore branches of a conditional statement in software code. For example, an embodiment of the method includes selecting a first branch of the conditional statement to evaluate, placing a second branch of the conditional statement in a pending branch list, storing checkpoint information on a program state for the conditional statement associated with the second branch, and evaluating the second branch after an evaluation of the first branch. The evaluation of the second branch is based on the checkpoint information. By exploring the first and second branches of the conditional statement (e.g., true and false conditions), wide coverage is possible in the analysis of software code.
Information query