crytic/slither

Threewidth computation

Open

#389 opened on Dec 17, 2019

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (886 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (4,769 stars)
PR merge metrics
 (Avg merge 54d 9h) (2 merged PRs in 30d)

Description

In The Treewidth of Smart Contracts, the authors computed the treewidth of smart contracts, and showed that, in average, real-world contracts have a threewidth of 3.35 (intraprocedural) and 3.65 (interprocedural).

It would be interesting to add threewidth computation to Slither, and replay those results.

Contributor guide