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


    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

  • 相关阅读:
    threadlocal 变量 跟synchronized 关键字的关系
    Android媒体扫描详细解析之一(MediaScanner & MediaProvider)
    创建视图全文搜索[完整版]
    海量小文件问题综述
    内存拷贝探究
    case功能菜单选项
    linux case ${variable} in
    attack source code
    ftps加密服务器
    vim编程设置
  • 原文地址:https://www.cnblogs.com/xinxianquan/p/12183346.html
Copyright © 2020-2023  润新知