What powerful tools do you know for complex mathematical computations? One example is the open-source project Scilab. We analyzed its source code to see what errors we could uncover. In this article, we'll show how static analysis can help detect them.
What's our topic today?
Scilab is an open-source, cross-platform project designed for scientific and engineering computing. It's widely used in manufacturing, automotive engineering, medicine, and other fields for solving complex mathematical problems. The project's wide range of uses requires the highest standards for the quality and reliability of its code.
We used PVS-Studio static analyzer to check the Scilab source code. In this article, we highlighted the most interesting errors we found. Our goal is to show developers how static analysis can help make the projects even better.
A few words about PVS-Studio.…