pkg/ast
Scilla AST related codepkg/ir
IR related code
Requirements:
- Go version
1.12
or higher
Run the following command from the root folder of the project:
go mod init github.com/ChainSecurity/scilla_static_checker
go run cmd/scilla_static/main.go examples/inc.json
There is exists a graphical output of IR. Example:
go run cmd/graph_plot/main.go examples/inc.json a.dot
dot -Tpng -O a.dot