发明申请
- 专利标题: CONTROL STRUCTURE REFINEMENT OF LOOPS USING STATIC ANALYSIS
- 专利标题(中): 使用静态分析的控制结构修剪
-
申请号: US12701962申请日: 2010-02-08
-
公开(公告)号: US20100205592A1公开(公告)日: 2010-08-12
- 发明人: SRIRAM SANKARANARAYANAN , Aarti Gupta , Gogul Balakrishnan
- 申请人: SRIRAM SANKARANARAYANAN , Aarti Gupta , Gogul Balakrishnan
- 申请人地址: US NJ Princeton
- 专利权人: NEC Laboratories America, Inc.
- 当前专利权人: NEC Laboratories America, Inc.
- 当前专利权人地址: US NJ Princeton
- 主分类号: G06F9/45
- IPC分类号: G06F9/45
摘要:
A system and method for discovering a set of possible iteration sequences for a given loop in a software program is described, to transform the loop representation. In a program containing a loop, the loop is partitioned into a plurality of portions based on splitting criteria. Labels are associated with the portions, and an initial loop automaton is constructed that represents the loop iterations as a regular language over the labels corresponding to the portions in the program. Subsequences of the labels are analyzed to determine infeasibility of the subsequences permitted in the automaton. The automaton is refined by removing all infeasible subsequences to discover a set of possible iteration sequences in the loop. The resulting loop automaton is used in a subsequent program verification or analysis technique to find violations of correctness properties in programs.
公开/授权文献
- US08522226B2 Control structure refinement of loops using static analysis 公开/授权日:2013-08-27
信息查询