nowarp / misti

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

Distribution packages #44

Open byakuren-hijiri opened 1 month ago

byakuren-hijiri commented 1 month ago

Currently, Misti is distributed in the same way as the Tact compiler: it should be added to the contracts project via npm/yarn. However, it might be more convenient to have a separate bundle package distributed within the repository, especially when FunC support is implemented.

Node.js provides a native way to bundle single-executable binaries since version 21. The ncc tool offers a wrapper to create a bundle using a single command. We can leverage that functionality, create bundles, sign them, and distribute them via GitHub releases.

byakuren-hijiri commented 1 month ago

The problem arises when the analyzer tries to access the Tact stdlib files. They are not available when using the single-executable application.