In part one, we discussed the basics of C and C++ project compiling. We also talked about linking and optimizations. In part 2, we will delve deeper into intermodular analysis and discuss its other purpose. But this time, we won’t talk about source code optimizations — we’ll find out how to improve the quality of static analysis.
The way most static analyzers work is similar to the way the compiler’s front end works. To parse the code, developers build a similar model and use the same traversal algorithms. So, in this part of the article, you’ll learn many terms related to compilation theory. We discussed many of them in part one — do take a look if you haven’t already!