J4

• • 上一篇    下一篇

基于控制流的多线程程序的静态切片算法

张晶, 金成植   

  1. 吉林大学计算机科学与技术学院, 长春 130012
  • 收稿日期:2003-05-16 修回日期:1900-01-01 出版日期:2003-10-26 发布日期:2003-10-26
  • 通讯作者: 张晶

Control-Flow-Based Static Slicing Algorithmof Threaded Programs

ZHANG Jing, JIN Cheng-zhi   

  1. College of Computer Science and Technology, Jilin University, Changchun 130012, China
  • Received:2003-05-16 Revised:1900-01-01 Online:2003-10-26 Published:2003-10-26
  • Contact: ZHANG Jing

摘要: 介绍一种基于控制流的多线程程序的静态切片算法, 该算法的主要思想是在构造多线程程序依赖图的同时保留程序的控制流信息, 利用这些信息能 够判断出程序中的多线程可实现路径, 从而提高多线程程序静态切片的精度和效率. 最后给出一个多线程切片的实例.

关键词: 多线程程序, 程序依赖图, 程序切片, 切片算法

Abstract: The present paper deals with a new static slicing algori thm of threaded program based on the program’s control-flow information. The main idea of the algorithm is to retain the control-flow information while the threaded program dependency graph is constructed, with which the threaded realized paths can beidentified, by doing this we can improve the slice’s precision and slicing’s efficiency. An example program and its slice are provided in the end.

Key words: threaded program, program dependency graph, program slicing, slicing algorithm

中图分类号: 

  • TP312