Closed yang-guangliang closed 1 month ago
You are using Andersen's flow-insensitive analysis, so the analysis always performs weak updates (see slides here and here about the SVFIR)
To understand the contents of a PAGNode
(or SVFVar
), you can use its toString
method to obtain and print the corresponding LLVM value.
You can also use the getPts(p)
method from the pointer analysis to obtain the points-to set, which includes the set of object IDs for the variable p
Oh, I see. Thank you so much! I really appreciate it. I closed this issue.
Hello,
I am quite new to svf, and just started learning svf from understanding this exmaple and its analysis results (https://github.com/svf-tools/SVF/wiki/Analyze-a-Simple-C-Program). Currently I have two concrete questions tormenting me:
To answer this, I also searched related tutorial, and found this talk: https://llvm.org/devmtg/2016-03/Presentations/SVF_EUROLLVM2016.pdf The following picture seems to verify my thoughts. So is svf using the weak-update strategy?
Best wishes, Guangliang