检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:梁娟娟[1] 刘久富[1] 朱丹丹[1] 陈柯[1]
机构地区:[1]南京航空航天大学自动化学院,江苏南京210016
出 处:《计算机技术与发展》2013年第6期42-45,178,共5页Computer Technology and Development
基 金:国家自然科学基金资助项目(60674100);南京航空航天大学青年科学创新基金(NS2010069)
摘 要:文中基于符号执行理论,设计了一种面向C语言的静态分析方法。通过词法分析和语法分析构建了程序的抽象语法树,并在此过程中对源代码进行规范性检查,再根据函数调用关系与抽象语法树来确定程序分析层次,并通过约束求解器确定程序中每一条可执行路径,最后依照程序的可执行路径得到每个变量最终的符号执行结果。该方法支持基于C语言文法的程序规范性检查,便于代码质量度量。利用该方法得到的抽象语法树,可开展静态构架分析,同时利用变量值的符号表达式可辅助测试用例生成,有助于提高测试的效率和质量。Design a C static analysis method based on analyzed symbolic execution theory. It constructs the program's abstract syntax tree by using lexical analysis and grammatical analysis and does regular inspect for the source code in the process ;then according to the function calls relationship and abstract syntax tree to determine program analysis level and the executable path is determined by the constraint solver;eventually get the final symbolic execution results of each variable through the executable path. It is helpful for measuring code quality by regular inspecting on the source based on C language grammar. It is convenient for anglicizing the static structure of program by using SAT. The symbolic expressions, which were generated by this method can assist generating of test data and improve efficiency and quality of software test.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.145.151.116