slither--程序理解

程序理解

官方教程:

https://github.com/crytic/slither/wiki

https://github.com/crytic/slither/wiki/Usage#options

所有的printer

查看printer的list

slither --list-printers


继承图

slither file.sol --print inheritance-graph

输出dot文件,如下图

将dot文件转为png

输入命令行,安装这个包

apt install graphviz

输入,命令行转换为图

dot -Tpng test1.sol.inheritance-graph.dot -o test.png


test.png
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容