! * Constructor */
| 66 | * Constructor |
| 67 | */ |
| 68 | PointerAnalysis::PointerAnalysis(SVFIR *p, PTATY ty, bool alias_check) : ptaTy(ty), stat(nullptr), callgraph(nullptr), |
| 69 | callGraphSCC(nullptr), icfg(nullptr), |
| 70 | chgraph(nullptr) |
| 71 | { |
| 72 | pag = p; |
| 73 | OnTheFlyIterBudgetForStat = Options::StatBudget(); |
| 74 | print_stat = Options::PStat(); |
| 75 | ptaImplTy = BaseImpl; |
| 76 | alias_validation = (alias_check && Options::EnableAliasCheck()); |
| 77 | } |
| 78 | |
| 79 | /*! |
| 80 | * Destructor |
nothing calls this directly
no outgoing calls
no test coverage detected