计算机科学 ›› 2011, Vol. 38 ›› Issue (5): 96-101.

• 软件工程 • 上一篇    下一篇

CCNeter : C程序代码Petri网自动建模工具

周国富,孙韵秋,蔡宇   

  1. (武汉大学软件工程国家重点实验室 武汉430072);(武汉大学计算机学院 武汉430072)
  • 出版日期:2018-11-16 发布日期:2018-11-16
  • 基金资助:
    本文受国家自然科学基金(61040036),教育部留学回国人员科研启动基金资助项目,湖北省自然科学基金(2009CDB218),中央高校基本科研专项资金(6082015),高等学校学科创新引智计划(B07037)资助。

CCNete: An Automatic Modeling Tool Based on Petri Nets for C Program

ZHOU Guo-fu,SUN Yun-qiu,CAI Yu   

  • Online:2018-11-16 Published:2018-11-16

摘要: CCNeter是实现扩展的Petri网——CNet自动可视化建模的工具,对程序语句从数据、操作和控制3个方面进行描述,刻画了程序代码中数据、操作以及控制之间的关系。它通过解析C工程中文件、函数模块、变量之间的依赖关系,自动形成程序的CNet规范,并根据CNet规范自动进行图形绘制和布局。CCNeter是实现程序静态分析自动化的重要前提。

关键词: Petri网,CNet,形式化技术,自动建模

Abstract: CCNeter is an automatic modeling tool based on CNet, an extension of Petri nets. CCNeter respectively describes data, operations and control from a sourece code. Accordingly, on Petri nets specification the relationship among data,operation and control can be discovered. Through capturing the dependency relations among source files,functions and variables of C project,CCNeter automatically creates CNet specification for C program,then draws and lays out the specification. CCNeter is an important precondition task of static analysis of program code.

Key words: Petri nets,CNet,Formal method,Automatic modeling

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!