期刊文献+
共找到1篇文章
< 1 >
每页显示 20 50 100
Monadically slicing programs with procedures
1
作者 张迎周 张卫丰 《Journal of Southeast University(English Edition)》 EI CAS 2008年第2期178-182,共5页
A two-phase monadic approach is presented for monadically slicing programs with procedures. In the monadic slice algorithm for interprocedural programs, phase 1 initializes the slice table of formal parameters in a pr... A two-phase monadic approach is presented for monadically slicing programs with procedures. In the monadic slice algorithm for interprocedural programs, phase 1 initializes the slice table of formal parameters in a procedure with the given labels, and then captures the callees' influence on callers when analyzing call statements. Phase 2 captures the callees' dependence on callers by replacing all given labels appearing in the corresponding sets of formal parameters. By the introduction of given labels, this slice method can obtain similar summary information in system-dependence-graph(SDG)-based algorithms for addressing the calling-context problem. With the use of the slice monad transformer, this monadic slicing approach achieves a high level of modularity and flexibility. It shows that the monadic interprocedural algorithm has less complexity and it is not less precise than SDG algorithms. 展开更多
关键词 program slicing monadic semantics interprocedural slicing calling-context problem
下载PDF
上一页 1 下一页 到第
使用帮助 返回顶部