@@ -204,7 +204,7 @@ class AbstractExecutionHelper:
204204 managing GEP object offsets, and other utilities.
205205 """
206206
207- def __init__ (self , svfir : pysvf .SVFIR , svf_state_mgr : pysvf .AbstractStateManager = None ):
207+ def __init__ (self , svfir : pysvf .SVFIR , svf_state_mgr : ' pysvf.AbstractInterpretation' = None ):
208208 """
209209 Initialize member variables.
210210 """
@@ -222,7 +222,8 @@ def __init__(self, svfir: pysvf.SVFIR, svf_state_mgr: pysvf.AbstractStateManager
222222
223223 # ------------------------------------------------------------------
224224 # Helpers that used to live as instance methods on `pysvf.AbstractState`.
225- # Upstream (Semi-Sparse refactor) moved them to `AbstractStateManager`,
225+ # Upstream (Semi-Sparse refactor) moved them to `AbstractInterpretation`
226+ # (formerly `AbstractStateManager`, whose public header was removed),
226227 # which requires a sparsity-aware trace we don't keep here. We re-implement
227228 # the dense-mode behavior using only public AbstractState surface so the
228229 # Python side mirrors the C++ side (`AbstractExecutionHelper::getByteOffset`).
@@ -446,8 +447,11 @@ def __init__(self, pag: pysvf.SVFIR):
446447 # as the GEP/load/store helpers (getGepByteOffset etc.). Replaces
447448 # the old `self.post_abs_trace` dict so reads/writes on
448449 # `self.post_abs_trace[node]` go through the mgr's trace.
449- self .ander = pysvf .AndersenWaveDiff (self .svfir )
450- self .svf_state_mgr = pysvf .AbstractStateManager (self .svfir , self .ander )
450+ # AbstractStateManager was folded into AbstractInterpretation upstream
451+ # (the AbstractStateManager.h header was removed). Use the
452+ # AbstractInterpretation singleton; it pulls SVFIR from PAG::getPAG()
453+ # internally and does not need an explicit Andersen instance.
454+ self .svf_state_mgr = pysvf .AbstractInterpretation .getAEInstance ()
451455 # Alias preserved so existing call-sites `self.post_abs_trace[node]`
452456 # keep working. The mgr supports __getitem__/__setitem__/__contains__.
453457 self .post_abs_trace = self .svf_state_mgr
0 commit comments