首页 > Web开发 > 详细

PetriCrode ---Code Genreation for Colored Petri Nets Annotated with Pragmatics

时间:2020-01-12 19:21:08      阅读:74      评论:0      收藏:0      [点我收藏+]

1、 PetriCode lets users generate code from CPN  models annotated with pragmatics ,PetriCode allows the user to difine code generation prgmatics and templates,However ,templates for the WebSite :http://kentis.github.io/petriCode/...

     Before this I have leaned the CPN tools and Scyther tools, and security analysisi of the TLS protocol using these two fromal security analysis tools . I found that the CPN model can directly use PetriCode to generate execution code ..of couse

     I used the the Java code on the GitHub to build a TLS implementation platform. so ,at present I want to use PetriCode to generate the CPN model .

     To this end ,I use the CPN Tools to build a few simple logical models ,and then execute them in PetriCode. The specific steps are as foolws。

2、 the CPN models

    the first model is "Add"   and the second model is "MAC address" and the thrid model is "Cinderella"

技术分享图片技术分享图片

 技术分享图片

 3、let use the PetriCode to generate the code

  技术分享图片

 技术分享图片

4、  吃饭 。。。。

5、the last mode is TLS1.3

技术分享图片

PetriCrode ---Code Genreation for Colored Petri Nets Annotated with Pragmatics

原文:https://www.cnblogs.com/xinxianquan/p/12183346.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!