nowarp / misti

TON Static Analyzer
https://nowarp.io/tools/misti
Apache License 2.0
24 stars 1 forks source link

Detect entry points in single-contract mode #57

Closed byakuren-hijiri closed 6 days ago

byakuren-hijiri commented 3 months ago

Single contract mode allows to execute Misti by specifying a single tact contract as an argument. Then, it creates a project with a dummy config in the temporary directory.

The problem is that this approach doesn't support relative imports; i.e. it doesn't copy imported files to the temporary directory.

jubnzv commented 2 months ago

This involves writing an import resolution logic to detect possible entry points of the project.

Related: #60