GCC Analyzer adds node_manager for centralized symbolic node management
Introduces a `symbolic::node_manager` to centralize management of symbolic nodes within the GCC Analyzer.
A new symbolic::node_manager class has been introduced in the GCC Analyzer to serve as a central hub for managing various types of symbolic nodes. This change consolidates existing manager classes, such as region_model_manager, under this new umbrella. Future patches will integrate more node managers, providing a unified interface for accessing and controlling symbolic node instances within the analyzer’s analysis engine.
In Details
This patch introduces a symbolic::node_manager which acts as a central registry and manager for various symbolic node types within the analyzer. Previously, managers like region_model_manager were top-level objects. Now, region_model_manager is owned by node_manager, and future node types will also be managed through this central class. This refactoring aims to simplify the management of the analyzer's internal symbolic representation, providing a consistent way to allocate and access nodes and their associated data structures.
- GCC Analyzer
- A static analysis pass within GCC that attempts to find bugs in C and C++ code by simulating program execution.
- Symbolic node
- An abstract representation of data or a computation within the GCC Analyzer's symbolic analysis framework.
- Node manager
- A class responsible for managing instances of specific types of symbolic nodes, including their allocation and lifetime.
- `region_model_manager`
- A specific manager class within the GCC Analyzer responsible for handling memory regions and their symbolic representations.