Static analyzers are complex pieces of software with large dependencies. They can be difficult to install, which hinders adoption and creates barriers for students learning static analysis. This work introduces Try-Mopsa: a scaled-down version of the Mopsa static analysis platform, compiled into JavaScript to run purely as a client-side application in web browsers. Try-Mopsa provides a responsive interface that works on both desktop and mobile devices. Try-Mopsa features all the core components of Mopsa. In particular, it supports relational numerical domains. We present the interface, changes and adaptations required to have a pure JavaScript version of Mopsa. We envision Try-Mopsa as a convenient platform for onboarding or teaching purposes.
翻译:静态分析器是依赖复杂的软件系统,其庞大的依赖项常导致安装困难,这阻碍了其推广应用,并为学习静态分析的学生设置了门槛。本研究介绍了Try-Mopsa:这是Mopsa静态分析平台的轻量化版本,通过编译为JavaScript实现纯客户端运行,可在网页浏览器中直接使用。Try-Mopsa提供了适配桌面端与移动设备的响应式界面,完整保留了Mopsa的核心功能组件,特别支持关系型数值域分析。本文详细阐述了实现纯JavaScript版本所需的界面设计、代码修改与适配方案。我们期望Try-Mopsa能成为静态分析入门与教学场景的便捷平台。