发明名称 Software verification
摘要 A method of verifying software includes receiving at least a portion of a software program. The portion of the software program may include a software function within a class. The method may also include generating a proxy class based on the class where the proxy class includes a proxy function that includes a call to the software function and analyzing the proxy function. The analysis of the proxy function may include analyzing the software function based on a proxy condition used by the proxy function, the proxy condition based on the software program and configured to apply conditions to parameters and/or variables in the software function.
申请公布号 US9081892(B2) 申请公布日期 2015.07.14
申请号 US201313828886 申请日期 2013.03.14
申请人 FUJITSU LIMITED 发明人 Yoshida Hiroaki;Wiggers Maarten H.
分类号 G06F11/36 主分类号 G06F11/36
代理机构 Maschoff Brennan 代理人 Maschoff Brennan
主权项 1. A method of verifying software, the method comprising: receiving at least a portion of a software program, the portion of the software program including a software function within a class; generating a proxy class based on the class, the proxy class including a proxy function that includes a call to the software function and a proxy condition within the proxy function that operates as a parameter in the proxy function, the proxy condition based on a software function variable from the software function that determines a control flow of the software function and is configured to apply conditions to parameters and/or variables in the software function; analyzing the proxy function, the analysis of the proxy function resulting in analysis of selected behavior of the software function, the behavior of the software function selected for analysis based on the proxy condition limiting potential execution paths of the software function; determining a test case for verifying the selected behavior of the software function based on the analysis of the selected behavior; and when errors, which include errors due to: lack of computing resources, timing out of a process, non-identification of previously known errors an inability to handle the proxy function or errors identified at a function level in the software program as false positive errors when considered in view of the software program, are encountered while generating test cases corresponding to the proxy class and proxy functions, constraining or generalizing the proxy function.
地址 Kawasaki JP