svf-lib 1.0.1374 → 1.0.1375
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SVF-linux/Release-build/{lib/libSvf.a → svf-llvm/libSvfLLVM.a} +0 -0
- package/SVF-linux/{include → svf/include}/AbstractExecution/AbstractValue.h +0 -0
- package/SVF-linux/{include → svf/include}/AbstractExecution/AddressValue.h +0 -0
- package/SVF-linux/{include → svf/include}/AbstractExecution/ExeState.h +0 -0
- package/SVF-linux/{include → svf/include}/AbstractExecution/IntervalExeState.h +0 -0
- package/SVF-linux/{include → svf/include}/AbstractExecution/IntervalValue.h +0 -0
- package/SVF-linux/{include → svf/include}/AbstractExecution/NumericLiteral.h +0 -0
- package/SVF-linux/{include → svf/include}/AbstractExecution/RelExeState.h +0 -0
- package/SVF-linux/{include → svf/include}/AbstractExecution/RelationSolver.h +0 -0
- package/SVF-linux/{include → svf/include}/AbstractExecution/SVFIR2ItvExeState.h +0 -0
- package/SVF-linux/{include → svf/include}/AbstractExecution/WTO.h +0 -0
- package/SVF-linux/{include → svf/include}/CFL/CFGNormalizer.h +0 -0
- package/SVF-linux/{include → svf/include}/CFL/CFLAlias.h +0 -0
- package/SVF-linux/{include → svf/include}/CFL/CFLBase.h +0 -0
- package/SVF-linux/{include → svf/include}/CFL/CFLData.h +0 -0
- package/SVF-linux/{include → svf/include}/CFL/CFLDataBuilder.h +0 -0
- package/SVF-linux/{include → svf/include}/CFL/CFLGramGraphChecker.h +0 -0
- package/SVF-linux/{include → svf/include}/CFL/CFLGrammar.h +0 -0
- package/SVF-linux/{include → svf/include}/CFL/CFLGrammar.txt +0 -0
- package/SVF-linux/{include → svf/include}/CFL/CFLGrammarDev.txt +0 -0
- package/SVF-linux/{include → svf/include}/CFL/CFLGraphBuilder.h +0 -0
- package/SVF-linux/{include → svf/include}/CFL/CFLSolver.h +0 -0
- package/SVF-linux/{include → svf/include}/CFL/CFLStat.h +0 -0
- package/SVF-linux/{include → svf/include}/CFL/CFLVF.h +0 -0
- package/SVF-linux/{include → svf/include}/CFL/GrammarBuilder.h +0 -0
- package/SVF-linux/{include → svf/include}/CFL/PEGGrammar.txt +0 -0
- package/SVF-linux/{include → svf/include}/CFL/VFG.txt +0 -0
- package/SVF-linux/{include → svf/include}/CUDD/cudd.h +0 -0
- package/SVF-linux/{include → svf/include}/CUDD/cuddInt.h +0 -0
- package/SVF-linux/{include → svf/include}/CUDD/epd.h +0 -0
- package/SVF-linux/{include → svf/include}/CUDD/mtr.h +0 -0
- package/SVF-linux/{include → svf/include}/CUDD/mtrInt.h +0 -0
- package/SVF-linux/{include → svf/include}/CUDD/st.h +0 -0
- package/SVF-linux/{include → svf/include}/CUDD/util.h +0 -0
- package/SVF-linux/{include → svf/include}/DDA/ContextDDA.h +0 -0
- package/SVF-linux/{include → svf/include}/DDA/DDAClient.h +0 -0
- package/SVF-linux/{include → svf/include}/DDA/DDAPass.h +0 -0
- package/SVF-linux/{include → svf/include}/DDA/DDAStat.h +0 -0
- package/SVF-linux/{include → svf/include}/DDA/DDAVFSolver.h +0 -0
- package/SVF-linux/{include → svf/include}/DDA/FlowDDA.h +0 -0
- package/SVF-linux/{include → svf/include}/FastCluster/LICENSE.TXT +0 -0
- package/SVF-linux/{include → svf/include}/FastCluster/fastcluster.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/CFLGraph.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/CHG.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/ConsG.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/ConsGEdge.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/ConsGNode.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/DOTGraphTraits.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/ExternalPAG.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/GenericGraph.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/GraphPrinter.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/GraphTraits.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/GraphWriter.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/ICFG.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/ICFGEdge.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/ICFGNode.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/ICFGStat.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/IRGraph.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/OfflineConsG.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/PAG.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/PAGEdge.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/PAGNode.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/PTACallGraph.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/SVFG.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/SVFGEdge.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/SVFGNode.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/SVFGOPT.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/SVFGStat.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/ThreadCallGraph.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/VFG.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/VFGEdge.h +0 -0
- package/SVF-linux/{include → svf/include}/Graphs/VFGNode.h +0 -0
- package/SVF-linux/{include → svf/include}/MSSA/MSSAMuChi.h +0 -0
- package/SVF-linux/{include → svf/include}/MSSA/MemPartition.h +0 -0
- package/SVF-linux/{include → svf/include}/MSSA/MemRegion.h +0 -0
- package/SVF-linux/{include → svf/include}/MSSA/MemSSA.h +0 -0
- package/SVF-linux/{include → svf/include}/MSSA/SVFGBuilder.h +0 -0
- package/SVF-linux/{include → svf/include}/MTA/FSMPTA.h +0 -0
- package/SVF-linux/{include → svf/include}/MTA/LockAnalysis.h +0 -0
- package/SVF-linux/{include → svf/include}/MTA/LockResultValidator.h +0 -0
- package/SVF-linux/{include → svf/include}/MTA/MHP.h +0 -0
- package/SVF-linux/{include → svf/include}/MTA/MTA.h +0 -0
- package/SVF-linux/{include → svf/include}/MTA/MTAAnnotator.h +0 -0
- package/SVF-linux/{include → svf/include}/MTA/MTAResultValidator.h +0 -0
- package/SVF-linux/{include → svf/include}/MTA/MTAStat.h +0 -0
- package/SVF-linux/{include → svf/include}/MTA/PCG.h +0 -0
- package/SVF-linux/{include → svf/include}/MTA/TCT.h +0 -0
- package/SVF-linux/{include → svf/include}/MemoryModel/AbstractPointsToDS.h +0 -0
- package/SVF-linux/{include → svf/include}/MemoryModel/ConditionalPT.h +0 -0
- package/SVF-linux/{include → svf/include}/MemoryModel/LocationSet.h +0 -0
- package/SVF-linux/{include → svf/include}/MemoryModel/MemModel.h +0 -0
- package/SVF-linux/{include → svf/include}/MemoryModel/MutablePointsToDS.h +0 -0
- package/SVF-linux/{include → svf/include}/MemoryModel/PAGBuilderFromFile.h +0 -0
- package/SVF-linux/{include → svf/include}/MemoryModel/PTAStat.h +0 -0
- package/SVF-linux/{include → svf/include}/MemoryModel/PTAType.h +0 -0
- package/SVF-linux/{include → svf/include}/MemoryModel/PersistentPointsToCache.h +0 -0
- package/SVF-linux/{include → svf/include}/MemoryModel/PersistentPointsToDS.h +0 -0
- package/SVF-linux/{include → svf/include}/MemoryModel/PointerAnalysis.h +0 -0
- package/SVF-linux/{include → svf/include}/MemoryModel/PointerAnalysisImpl.h +0 -0
- package/SVF-linux/{include → svf/include}/MemoryModel/PointsTo.h +0 -0
- package/SVF-linux/{include → svf/include}/MemoryModel/PointsToDFDS.h +0 -0
- package/SVF-linux/{include → svf/include}/MemoryModel/PointsToDS.h +0 -0
- package/SVF-linux/{include → svf/include}/MemoryModel/SVFIR.h +0 -0
- package/SVF-linux/{include → svf/include}/MemoryModel/SVFLoop.h +0 -0
- package/SVF-linux/{include → svf/include}/MemoryModel/SVFStatements.h +0 -0
- package/SVF-linux/{include → svf/include}/MemoryModel/SVFSymbols.h +0 -0
- package/SVF-linux/{include → svf/include}/MemoryModel/SVFVariables.h +0 -0
- package/SVF-linux/{include → svf/include}/MemoryModel/SymbolTableInfo.h +0 -0
- package/SVF-linux/{include → svf/include}/SABER/DoubleFreeChecker.h +0 -0
- package/SVF-linux/{include → svf/include}/SABER/FileChecker.h +0 -0
- package/SVF-linux/{include → svf/include}/SABER/LeakChecker.h +0 -0
- package/SVF-linux/{include → svf/include}/SABER/PathCondAllocator.h +0 -0
- package/SVF-linux/{include → svf/include}/SABER/ProgSlice.h +0 -0
- package/SVF-linux/{include → svf/include}/SABER/SaberAnnotator.h +0 -0
- package/SVF-linux/{include → svf/include}/SABER/SaberCheckerAPI.h +0 -0
- package/SVF-linux/{include → svf/include}/SABER/SaberCondAllocator.h +0 -0
- package/SVF-linux/{include → svf/include}/SABER/SaberSVFGBuilder.h +0 -0
- package/SVF-linux/{include → svf/include}/SABER/SrcSnkDDA.h +0 -0
- package/SVF-linux/{include → svf/include}/SABER/SrcSnkSolver.h +0 -0
- package/SVF-linux/{include → svf/include}/SVFIR/PAGBuilderFromFile.h +0 -0
- package/SVF-linux/{include → svf/include}/SVFIR/SVFIR.h +0 -0
- package/SVF-linux/{include → svf/include}/SVFIR/SVFModule.h +0 -0
- package/SVF-linux/{include → svf/include}/SVFIR/SVFStatements.h +0 -0
- package/SVF-linux/{include → svf/include}/SVFIR/SVFType.h +0 -0
- package/SVF-linux/{include → svf/include}/SVFIR/SVFValue.h +0 -0
- package/SVF-linux/{include → svf/include}/SVFIR/SVFVariables.h +0 -0
- package/SVF-linux/{include → svf/include}/SVFIR/SymbolTableInfo.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/Annotator.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/BDDExpr.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/BasicTypes.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/BitVector.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/CFLSolver.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/CallGraphBuilder.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/Casting.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/CommandLine.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/Conditions.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/CoreBitVector.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/CppUtil.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/CxtStmt.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/DPItem.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/ExeState.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/ExtAPI.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/ExtAPI.json +0 -0
- package/SVF-linux/{include → svf/include}/Util/GraphReachSolver.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/IRAnnotator.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/NodeIDAllocator.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/Options.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/PTAStat.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/PathCondAllocator.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/PathDPItem.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/SCC.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/SVFBasicTypes.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/SVFInstruction.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/SVFModule.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/SVFStat.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/SVFUtil.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/SparseBitVector.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/SymState.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/ThreadAPI.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/TypeBasedHeapCloning.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/WorkList.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/Z3Expr.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/cJSON.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/config.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/iterator.h +0 -0
- package/SVF-linux/{include → svf/include}/Util/iterator_range.h +0 -0
- package/SVF-linux/{include → svf/include}/WPA/Andersen.h +0 -0
- package/SVF-linux/{include → svf/include}/WPA/AndersenPWC.h +0 -0
- package/SVF-linux/{include → svf/include}/WPA/AndersenSFR.h +0 -0
- package/SVF-linux/{include → svf/include}/WPA/CSC.h +0 -0
- package/SVF-linux/{include → svf/include}/WPA/FlowSensitive.h +0 -0
- package/SVF-linux/{include → svf/include}/WPA/FlowSensitiveTBHC.h +0 -0
- package/SVF-linux/{include → svf/include}/WPA/Steensgaard.h +0 -0
- package/SVF-linux/{include → svf/include}/WPA/TypeAnalysis.h +0 -0
- package/SVF-linux/{include → svf/include}/WPA/TypeBasedHeapCloning.h +0 -0
- package/SVF-linux/{include → svf/include}/WPA/VersionedFlowSensitive.h +0 -0
- package/SVF-linux/{include → svf/include}/WPA/WPAFSSolver.h +0 -0
- package/SVF-linux/{include → svf/include}/WPA/WPAPass.h +0 -0
- package/SVF-linux/{include → svf/include}/WPA/WPASolver.h +0 -0
- package/SVF-linux/{include → svf/include}/WPA/WPAStat.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/AbstractExecution/AbstractValue.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/AbstractExecution/AddressValue.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/AbstractExecution/ExeState.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/AbstractExecution/IntervalExeState.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/AbstractExecution/IntervalValue.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/AbstractExecution/NumericLiteral.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/AbstractExecution/RelExeState.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/AbstractExecution/RelationSolver.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/AbstractExecution/SVFIR2ItvExeState.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/AbstractExecution/WTO.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/CFL/CFGNormalizer.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/CFL/CFLAlias.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/CFL/CFLBase.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/CFL/CFLData.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/CFL/CFLDataBuilder.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/CFL/CFLGramGraphChecker.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/CFL/CFLGrammar.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/CFL/CFLGrammar.txt +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/CFL/CFLGraphBuilder.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/CFL/CFLSolver.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/CFL/CFLStat.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/CFL/CFLVF.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/CFL/GrammarBuilder.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/CFL/PEGGrammar.txt +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/CFL/VFG.txt +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/DDA/ContextDDA.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/DDA/DDAClient.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/DDA/DDAPass.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/DDA/DDAStat.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/DDA/DDAVFSolver.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/DDA/FlowDDA.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/FastCluster/LICENSE.TXT +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/FastCluster/fastcluster.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/CFLGraph.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/CHG.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/ConsG.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/ConsGEdge.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/ConsGNode.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/DOTGraphTraits.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/GenericGraph.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/GraphPrinter.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/GraphTraits.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/GraphWriter.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/ICFG.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/ICFGEdge.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/ICFGNode.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/ICFGStat.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/IRGraph.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/PTACallGraph.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/SVFG.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/SVFGEdge.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/SVFGNode.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/SVFGOPT.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/SVFGStat.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/ThreadCallGraph.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/VFG.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/VFGEdge.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Graphs/VFGNode.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MSSA/MSSAMuChi.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MSSA/MemPartition.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MSSA/MemRegion.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MSSA/MemSSA.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MSSA/SVFGBuilder.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MTA/FSMPTA.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MTA/LockAnalysis.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MTA/MHP.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MTA/MTA.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MTA/MTAResultValidator.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MTA/MTAStat.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MTA/PCG.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MTA/TCT.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MemoryModel/AbstractPointsToDS.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MemoryModel/ConditionalPT.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MemoryModel/LocationSet.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MemoryModel/MutablePointsToDS.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MemoryModel/PersistentPointsToCache.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MemoryModel/PersistentPointsToDS.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MemoryModel/PointerAnalysis.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MemoryModel/PointerAnalysisImpl.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MemoryModel/PointsTo.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/MemoryModel/SVFLoop.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/SABER/DoubleFreeChecker.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/SABER/FileChecker.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/SABER/LeakChecker.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/SABER/ProgSlice.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/SABER/SaberCheckerAPI.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/SABER/SaberCondAllocator.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/SABER/SaberSVFGBuilder.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/SABER/SrcSnkDDA.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/SABER/SrcSnkSolver.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/SVFIR/PAGBuilderFromFile.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/SVFIR/SVFIR.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/SVFIR/SVFModule.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/SVFIR/SVFStatements.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/SVFIR/SVFType.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/SVFIR/SVFValue.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/SVFIR/SVFVariables.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/SVFIR/SymbolTableInfo.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/Annotator.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/BitVector.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/CallGraphBuilder.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/Casting.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/CommandLine.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/CoreBitVector.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/CppUtil.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/CxtStmt.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/DPItem.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/ExtAPI.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/ExtAPI.json +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/GraphReachSolver.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/NodeIDAllocator.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/Options.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/PTAStat.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/SCC.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/SVFStat.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/SVFUtil.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/SparseBitVector.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/ThreadAPI.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/WorkList.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/Z3Expr.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/cJSON.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/iterator.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/Util/iterator_range.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/WPA/Andersen.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/WPA/AndersenPWC.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/WPA/CSC.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/WPA/FlowSensitive.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/WPA/Steensgaard.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/WPA/TypeAnalysis.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/WPA/VersionedFlowSensitive.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/WPA/WPAFSSolver.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/WPA/WPAPass.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/WPA/WPASolver.h +0 -0
- package/{SVF-osx → SVF-linux/svf/include}/include/WPA/WPAStat.h +0 -0
- package/SVF-linux/{include → svf-llvm/include}/SVF-LLVM/BasicTypes.h +0 -0
- package/SVF-linux/{include → svf-llvm/include}/SVF-LLVM/BreakConstantExpr.h +0 -0
- package/SVF-linux/{include → svf-llvm/include}/SVF-LLVM/CHGBuilder.h +0 -0
- package/SVF-linux/{include → svf-llvm/include}/SVF-LLVM/CPPUtil.h +0 -0
- package/SVF-linux/{include → svf-llvm/include}/SVF-LLVM/DCHG.h +0 -0
- package/SVF-linux/{include → svf-llvm/include}/SVF-LLVM/GEPTypeBridgeIterator.h +0 -0
- package/SVF-linux/{include → svf-llvm/include}/SVF-LLVM/ICFGBuilder.h +0 -0
- package/SVF-linux/{include → svf-llvm/include}/SVF-LLVM/IRAnnotator.h +0 -0
- package/SVF-linux/{include → svf-llvm/include}/SVF-LLVM/LLVMLoopAnalysis.h +0 -0
- package/SVF-linux/{include → svf-llvm/include}/SVF-LLVM/LLVMModule.h +0 -0
- package/SVF-linux/{include → svf-llvm/include}/SVF-LLVM/LLVMUtil.h +0 -0
- package/{SVF-osx/include → SVF-linux/svf-llvm/include/SVF-LLVM}/SVF-LLVM/BasicTypes.h +0 -0
- package/{SVF-osx/include → SVF-linux/svf-llvm/include/SVF-LLVM}/SVF-LLVM/BreakConstantExpr.h +0 -0
- package/{SVF-osx/include → SVF-linux/svf-llvm/include/SVF-LLVM}/SVF-LLVM/CHGBuilder.h +0 -0
- package/{SVF-osx/include → SVF-linux/svf-llvm/include/SVF-LLVM}/SVF-LLVM/DCHG.h +0 -0
- package/{SVF-osx/include → SVF-linux/svf-llvm/include/SVF-LLVM}/SVF-LLVM/GEPTypeBridgeIterator.h +0 -0
- package/{SVF-osx/include → SVF-linux/svf-llvm/include/SVF-LLVM}/SVF-LLVM/ICFGBuilder.h +0 -0
- package/{SVF-osx/include → SVF-linux/svf-llvm/include/SVF-LLVM}/SVF-LLVM/LLVMLoopAnalysis.h +0 -0
- package/{SVF-osx/include → SVF-linux/svf-llvm/include/SVF-LLVM}/SVF-LLVM/LLVMModule.h +0 -0
- package/{SVF-osx/include → SVF-linux/svf-llvm/include/SVF-LLVM}/SVF-LLVM/LLVMUtil.h +0 -0
- package/SVF-linux/{include → svf-llvm/include/SVF-LLVM}/SVF-LLVM/SVFIRBuilder.h +0 -0
- package/SVF-linux/{include → svf-llvm/include/SVF-LLVM}/SVF-LLVM/SymbolTableBuilder.h +0 -0
- package/{SVF-osx → SVF-linux/svf-llvm}/include/SVF-LLVM/SVFIRBuilder.h +0 -0
- package/{SVF-osx → SVF-linux/svf-llvm}/include/SVF-LLVM/SymbolTableBuilder.h +0 -0
- package/SVF-osx/Release-build/{lib/libSvf.a → svf-llvm/libSvfLLVM.a} +0 -0
- package/SVF-osx/svf/include/AbstractExecution/AbstractValue.h +79 -0
- package/SVF-osx/svf/include/AbstractExecution/AddressValue.h +210 -0
- package/SVF-osx/svf/include/AbstractExecution/ExeState.h +223 -0
- package/SVF-osx/svf/include/AbstractExecution/IntervalExeState.h +425 -0
- package/SVF-osx/svf/include/AbstractExecution/IntervalValue.h +868 -0
- package/SVF-osx/svf/include/AbstractExecution/NumericLiteral.h +406 -0
- package/SVF-osx/svf/include/AbstractExecution/RelExeState.h +225 -0
- package/SVF-osx/svf/include/AbstractExecution/RelationSolver.h +68 -0
- package/SVF-osx/svf/include/AbstractExecution/SVFIR2ItvExeState.h +186 -0
- package/SVF-osx/svf/include/AbstractExecution/WTO.h +845 -0
- package/SVF-osx/svf/include/CFL/CFGNormalizer.h +84 -0
- package/SVF-osx/svf/include/CFL/CFLAlias.h +176 -0
- package/SVF-osx/svf/include/CFL/CFLBase.h +115 -0
- package/SVF-osx/svf/include/CFL/CFLData.h +316 -0
- package/SVF-osx/svf/include/CFL/CFLDataBuilder.h +91 -0
- package/SVF-osx/svf/include/CFL/CFLGramGraphChecker.h +74 -0
- package/SVF-osx/svf/include/CFL/CFLGrammar.h +468 -0
- package/SVF-osx/svf/include/CFL/CFLGrammar.txt +15 -0
- package/SVF-osx/{include → svf/include}/CFL/CFLGrammarDev.txt +0 -0
- package/SVF-osx/svf/include/CFL/CFLGraphBuilder.h +193 -0
- package/SVF-osx/svf/include/CFL/CFLSolver.h +136 -0
- package/SVF-osx/svf/include/CFL/CFLStat.h +67 -0
- package/SVF-osx/svf/include/CFL/CFLVF.h +65 -0
- package/SVF-osx/svf/include/CFL/GrammarBuilder.h +100 -0
- package/SVF-osx/svf/include/CFL/PEGGrammar.txt +11 -0
- package/SVF-osx/svf/include/CFL/VFG.txt +7 -0
- package/SVF-osx/{include → svf/include}/CUDD/cudd.h +0 -0
- package/SVF-osx/{include → svf/include}/CUDD/cuddInt.h +0 -0
- package/SVF-osx/{include → svf/include}/CUDD/epd.h +0 -0
- package/SVF-osx/{include → svf/include}/CUDD/mtr.h +0 -0
- package/SVF-osx/{include → svf/include}/CUDD/mtrInt.h +0 -0
- package/SVF-osx/{include → svf/include}/CUDD/st.h +0 -0
- package/SVF-osx/{include → svf/include}/CUDD/util.h +0 -0
- package/SVF-osx/svf/include/DDA/ContextDDA.h +230 -0
- package/SVF-osx/svf/include/DDA/DDAClient.h +168 -0
- package/SVF-osx/svf/include/DDA/DDAPass.h +99 -0
- package/SVF-osx/svf/include/DDA/DDAStat.h +138 -0
- package/SVF-osx/svf/include/DDA/DDAVFSolver.h +789 -0
- package/SVF-osx/svf/include/DDA/FlowDDA.h +178 -0
- package/SVF-osx/svf/include/FastCluster/LICENSE.TXT +13 -0
- package/SVF-osx/svf/include/FastCluster/fastcluster.h +80 -0
- package/SVF-osx/svf/include/Graphs/CFLGraph.h +215 -0
- package/SVF-osx/svf/include/Graphs/CHG.h +351 -0
- package/SVF-osx/svf/include/Graphs/ConsG.h +408 -0
- package/SVF-osx/svf/include/Graphs/ConsGEdge.h +353 -0
- package/SVF-osx/svf/include/Graphs/ConsGNode.h +391 -0
- package/SVF-osx/svf/include/Graphs/DOTGraphTraits.h +188 -0
- package/SVF-osx/{include → svf/include}/Graphs/ExternalPAG.h +0 -0
- package/SVF-osx/svf/include/Graphs/GenericGraph.h +620 -0
- package/SVF-osx/svf/include/Graphs/GraphPrinter.h +111 -0
- package/SVF-osx/svf/include/Graphs/GraphTraits.h +150 -0
- package/SVF-osx/svf/include/Graphs/GraphWriter.h +380 -0
- package/SVF-osx/svf/include/Graphs/ICFG.h +331 -0
- package/SVF-osx/svf/include/Graphs/ICFGEdge.h +264 -0
- package/SVF-osx/svf/include/Graphs/ICFGNode.h +523 -0
- package/SVF-osx/svf/include/Graphs/ICFGStat.h +164 -0
- package/SVF-osx/svf/include/Graphs/IRGraph.h +243 -0
- package/SVF-osx/{include → svf/include}/Graphs/OfflineConsG.h +0 -0
- package/SVF-osx/{include → svf/include}/Graphs/PAG.h +0 -0
- package/SVF-osx/{include → svf/include}/Graphs/PAGEdge.h +0 -0
- package/SVF-osx/{include → svf/include}/Graphs/PAGNode.h +0 -0
- package/SVF-osx/svf/include/Graphs/PTACallGraph.h +471 -0
- package/SVF-osx/svf/include/Graphs/SVFG.h +490 -0
- package/SVF-osx/svf/include/Graphs/SVFGEdge.h +237 -0
- package/SVF-osx/svf/include/Graphs/SVFGNode.h +513 -0
- package/SVF-osx/svf/include/Graphs/SVFGOPT.h +362 -0
- package/SVF-osx/svf/include/Graphs/SVFGStat.h +273 -0
- package/SVF-osx/svf/include/Graphs/ThreadCallGraph.h +422 -0
- package/SVF-osx/svf/include/Graphs/VFG.h +664 -0
- package/SVF-osx/svf/include/Graphs/VFGEdge.h +295 -0
- package/SVF-osx/svf/include/Graphs/VFGNode.h +1197 -0
- package/SVF-osx/svf/include/MSSA/MSSAMuChi.h +722 -0
- package/SVF-osx/svf/include/MSSA/MemPartition.h +169 -0
- package/SVF-osx/svf/include/MSSA/MemRegion.h +491 -0
- package/SVF-osx/svf/include/MSSA/MemSSA.h +452 -0
- package/SVF-osx/svf/include/MSSA/SVFGBuilder.h +98 -0
- package/SVF-osx/svf/include/MTA/FSMPTA.h +270 -0
- package/SVF-osx/svf/include/MTA/LockAnalysis.h +517 -0
- package/SVF-osx/{include → svf/include}/MTA/LockResultValidator.h +0 -0
- package/SVF-osx/svf/include/MTA/MHP.h +565 -0
- package/SVF-osx/svf/include/MTA/MTA.h +101 -0
- package/SVF-osx/{include → svf/include}/MTA/MTAAnnotator.h +0 -0
- package/SVF-osx/svf/include/MTA/MTAResultValidator.h +448 -0
- package/SVF-osx/svf/include/MTA/MTAStat.h +74 -0
- package/SVF-osx/svf/include/MTA/PCG.h +229 -0
- package/SVF-osx/svf/include/MTA/TCT.h +599 -0
- package/SVF-osx/svf/include/MemoryModel/AbstractPointsToDS.h +316 -0
- package/SVF-osx/svf/include/MemoryModel/ConditionalPT.h +878 -0
- package/SVF-osx/svf/include/MemoryModel/LocationSet.h +148 -0
- package/SVF-osx/{include → svf/include}/MemoryModel/MemModel.h +0 -0
- package/SVF-osx/svf/include/MemoryModel/MutablePointsToDS.h +1025 -0
- package/SVF-osx/{include → svf/include}/MemoryModel/PAGBuilderFromFile.h +0 -0
- package/SVF-osx/{include → svf/include}/MemoryModel/PTAStat.h +0 -0
- package/SVF-osx/{include → svf/include}/MemoryModel/PTAType.h +0 -0
- package/SVF-osx/svf/include/MemoryModel/PersistentPointsToCache.h +463 -0
- package/SVF-osx/svf/include/MemoryModel/PersistentPointsToDS.h +955 -0
- package/SVF-osx/svf/include/MemoryModel/PointerAnalysis.h +452 -0
- package/SVF-osx/svf/include/MemoryModel/PointerAnalysisImpl.h +590 -0
- package/SVF-osx/svf/include/MemoryModel/PointsTo.h +255 -0
- package/SVF-osx/{include → svf/include}/MemoryModel/PointsToDFDS.h +0 -0
- package/SVF-osx/{include → svf/include}/MemoryModel/PointsToDS.h +0 -0
- package/SVF-osx/{include → svf/include}/MemoryModel/SVFIR.h +0 -0
- package/SVF-osx/svf/include/MemoryModel/SVFLoop.h +164 -0
- package/SVF-osx/{include → svf/include}/MemoryModel/SVFStatements.h +0 -0
- package/SVF-osx/{include → svf/include}/MemoryModel/SVFSymbols.h +0 -0
- package/SVF-osx/{include → svf/include}/MemoryModel/SVFVariables.h +0 -0
- package/SVF-osx/{include → svf/include}/MemoryModel/SymbolTableInfo.h +0 -0
- package/SVF-osx/svf/include/SABER/DoubleFreeChecker.h +76 -0
- package/SVF-osx/svf/include/SABER/FileChecker.h +82 -0
- package/SVF-osx/svf/include/SABER/LeakChecker.h +124 -0
- package/SVF-osx/{include → svf/include}/SABER/PathCondAllocator.h +0 -0
- package/SVF-osx/svf/include/SABER/ProgSlice.h +313 -0
- package/SVF-osx/{include → svf/include}/SABER/SaberAnnotator.h +0 -0
- package/SVF-osx/svf/include/SABER/SaberCheckerAPI.h +166 -0
- package/SVF-osx/svf/include/SABER/SaberCondAllocator.h +310 -0
- package/SVF-osx/svf/include/SABER/SaberSVFGBuilder.h +104 -0
- package/SVF-osx/svf/include/SABER/SrcSnkDDA.h +321 -0
- package/SVF-osx/svf/include/SABER/SrcSnkSolver.h +186 -0
- package/SVF-osx/svf/include/SVFIR/PAGBuilderFromFile.h +80 -0
- package/SVF-osx/svf/include/SVFIR/SVFIR.h +659 -0
- package/SVF-osx/svf/include/SVFIR/SVFModule.h +233 -0
- package/SVF-osx/svf/include/SVFIR/SVFStatements.h +1136 -0
- package/SVF-osx/svf/include/SVFIR/SVFType.h +527 -0
- package/SVF-osx/svf/include/SVFIR/SVFValue.h +1120 -0
- package/SVF-osx/svf/include/SVFIR/SVFVariables.h +721 -0
- package/SVF-osx/svf/include/SVFIR/SymbolTableInfo.h +597 -0
- package/SVF-osx/svf/include/Util/Annotator.h +180 -0
- package/SVF-osx/{include → svf/include}/Util/BDDExpr.h +0 -0
- package/SVF-osx/{include → svf/include}/Util/BasicTypes.h +0 -0
- package/SVF-osx/svf/include/Util/BitVector.h +55 -0
- package/SVF-osx/{include → svf/include}/Util/CFLSolver.h +0 -0
- package/SVF-osx/svf/include/Util/CallGraphBuilder.h +74 -0
- package/SVF-osx/svf/include/Util/Casting.h +426 -0
- package/SVF-osx/svf/include/Util/CommandLine.h +530 -0
- package/SVF-osx/{include → svf/include}/Util/Conditions.h +0 -0
- package/SVF-osx/svf/include/Util/CoreBitVector.h +214 -0
- package/SVF-osx/svf/include/Util/CppUtil.h +81 -0
- package/SVF-osx/svf/include/Util/CxtStmt.h +501 -0
- package/SVF-osx/svf/include/Util/DPItem.h +618 -0
- package/SVF-osx/{include → svf/include}/Util/ExeState.h +0 -0
- package/SVF-osx/svf/include/Util/ExtAPI.h +339 -0
- package/SVF-osx/svf/include/Util/ExtAPI.json +5707 -0
- package/SVF-osx/svf/include/Util/GraphReachSolver.h +186 -0
- package/SVF-osx/{include → svf/include}/Util/IRAnnotator.h +0 -0
- package/SVF-osx/svf/include/Util/NodeIDAllocator.h +194 -0
- package/SVF-osx/svf/include/Util/Options.h +266 -0
- package/SVF-osx/svf/include/Util/PTAStat.h +65 -0
- package/SVF-osx/{include → svf/include}/Util/PathCondAllocator.h +0 -0
- package/SVF-osx/{include → svf/include}/Util/PathDPItem.h +0 -0
- package/SVF-osx/svf/include/Util/SCC.h +354 -0
- package/SVF-osx/{include → svf/include}/Util/SVFBasicTypes.h +0 -0
- package/SVF-osx/{include → svf/include}/Util/SVFInstruction.h +0 -0
- package/SVF-osx/{include → svf/include}/Util/SVFModule.h +0 -0
- package/SVF-osx/svf/include/Util/SVFStat.h +100 -0
- package/SVF-osx/svf/include/Util/SVFUtil.h +660 -0
- package/SVF-osx/svf/include/Util/SparseBitVector.h +1202 -0
- package/SVF-osx/{include → svf/include}/Util/SymState.h +0 -0
- package/SVF-osx/svf/include/Util/ThreadAPI.h +330 -0
- package/SVF-osx/{include → svf/include}/Util/TypeBasedHeapCloning.h +0 -0
- package/SVF-osx/svf/include/Util/WorkList.h +317 -0
- package/SVF-osx/svf/include/Util/Z3Expr.h +318 -0
- package/SVF-osx/svf/include/Util/cJSON.h +300 -0
- package/SVF-osx/{include → svf/include}/Util/config.h +0 -0
- package/SVF-osx/svf/include/Util/iterator.h +407 -0
- package/SVF-osx/svf/include/Util/iterator_range.h +76 -0
- package/SVF-osx/svf/include/WPA/Andersen.h +416 -0
- package/SVF-osx/svf/include/WPA/AndersenPWC.h +160 -0
- package/SVF-osx/{include → svf/include}/WPA/AndersenSFR.h +0 -0
- package/SVF-osx/svf/include/WPA/CSC.h +95 -0
- package/SVF-osx/svf/include/WPA/FlowSensitive.h +317 -0
- package/SVF-osx/{include → svf/include}/WPA/FlowSensitiveTBHC.h +0 -0
- package/SVF-osx/svf/include/WPA/Steensgaard.h +126 -0
- package/SVF-osx/svf/include/WPA/TypeAnalysis.h +83 -0
- package/SVF-osx/{include → svf/include}/WPA/TypeBasedHeapCloning.h +0 -0
- package/SVF-osx/svf/include/WPA/VersionedFlowSensitive.h +287 -0
- package/SVF-osx/svf/include/WPA/WPAFSSolver.h +254 -0
- package/SVF-osx/svf/include/WPA/WPAPass.h +119 -0
- package/SVF-osx/svf/include/WPA/WPASolver.h +205 -0
- package/SVF-osx/svf/include/WPA/WPAStat.h +222 -0
- package/SVF-osx/svf-llvm/include/SVF-LLVM/BasicTypes.h +250 -0
- package/SVF-osx/svf-llvm/include/SVF-LLVM/BreakConstantExpr.h +94 -0
- package/SVF-osx/svf-llvm/include/SVF-LLVM/CHGBuilder.h +73 -0
- package/SVF-osx/{include → svf-llvm/include}/SVF-LLVM/CPPUtil.h +0 -0
- package/SVF-osx/svf-llvm/include/SVF-LLVM/DCHG.h +484 -0
- package/SVF-osx/svf-llvm/include/SVF-LLVM/GEPTypeBridgeIterator.h +183 -0
- package/SVF-osx/svf-llvm/include/SVF-LLVM/ICFGBuilder.h +106 -0
- package/SVF-osx/{include → svf-llvm/include}/SVF-LLVM/IRAnnotator.h +0 -0
- package/SVF-osx/svf-llvm/include/SVF-LLVM/LLVMLoopAnalysis.h +61 -0
- package/SVF-osx/svf-llvm/include/SVF-LLVM/LLVMModule.h +360 -0
- package/SVF-osx/svf-llvm/include/SVF-LLVM/LLVMUtil.h +466 -0
- package/SVF-osx/svf-llvm/include/SVF-LLVM/SVFIRBuilder.h +417 -0
- package/SVF-osx/svf-llvm/include/SVF-LLVM/SymbolTableBuilder.h +110 -0
- package/package.json +1 -1
- package/SVF-linux/Release-build/lib/CUDD/libCudd.a +0 -0
- package/SVF-osx/Release-build/lib/CUDD/libCudd.a +0 -0
|
@@ -0,0 +1,659 @@
|
|
|
1
|
+
//===- SVFIR.h -- IR of SVF ---------------------------------------------//
|
|
2
|
+
//
|
|
3
|
+
// SVF: Static Value-Flow Analysis
|
|
4
|
+
//
|
|
5
|
+
// Copyright (C) <2013-> <Yulei Sui>
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
// This program is free software: you can redistribute it and/or modify
|
|
9
|
+
// it under the terms of the GNU General Public License as published by
|
|
10
|
+
// the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
// (at your option) any later version.
|
|
12
|
+
|
|
13
|
+
// This program is distributed in the hope that it will be useful,
|
|
14
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
// GNU General Public License for more details.
|
|
17
|
+
|
|
18
|
+
// You should have received a copy of the GNU General Public License
|
|
19
|
+
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
+
//
|
|
21
|
+
//===----------------------------------------------------------------------===//
|
|
22
|
+
|
|
23
|
+
/*
|
|
24
|
+
* SVFIR.h
|
|
25
|
+
*
|
|
26
|
+
* Created on: 31, 12, 2021
|
|
27
|
+
* Author: Yulei Sui
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
#ifndef INCLUDE_SVFIR_H_
|
|
31
|
+
#define INCLUDE_SVFIR_H_
|
|
32
|
+
|
|
33
|
+
#include "Graphs/IRGraph.h"
|
|
34
|
+
|
|
35
|
+
namespace SVF
|
|
36
|
+
{
|
|
37
|
+
class CommonCHGraph;
|
|
38
|
+
/*!
|
|
39
|
+
* SVF Intermediate representation, representing variables and statements as a Program Assignment Graph (PAG)
|
|
40
|
+
* Variables as nodes and statements as edges.
|
|
41
|
+
* SymID and NodeID are equal here (same numbering).
|
|
42
|
+
*/
|
|
43
|
+
class SVFIR : public IRGraph
|
|
44
|
+
{
|
|
45
|
+
|
|
46
|
+
friend class SVFIRBuilder;
|
|
47
|
+
friend class ExternalPAG;
|
|
48
|
+
friend class PAGBuilderFromFile;
|
|
49
|
+
friend class TypeBasedHeapCloning;
|
|
50
|
+
|
|
51
|
+
public:
|
|
52
|
+
typedef Set<const CallICFGNode*> CallSiteSet;
|
|
53
|
+
typedef OrderedMap<const CallICFGNode*,NodeID> CallSiteToFunPtrMap;
|
|
54
|
+
typedef Map<NodeID,CallSiteSet> FunPtrToCallSitesMap;
|
|
55
|
+
typedef Map<NodeID,NodeBS> MemObjToFieldsMap;
|
|
56
|
+
typedef std::vector<const SVFStmt*> SVFStmtList;
|
|
57
|
+
typedef std::vector<const SVFVar*> SVFVarList;
|
|
58
|
+
typedef Map<const SVFVar*,PhiStmt*> PHINodeMap;
|
|
59
|
+
typedef Map<const SVFFunction*,SVFVarList> FunToArgsListMap;
|
|
60
|
+
typedef Map<const CallICFGNode*,SVFVarList> CSToArgsListMap;
|
|
61
|
+
typedef Map<const RetICFGNode*,const SVFVar*> CSToRetMap;
|
|
62
|
+
typedef Map<const SVFFunction*,const SVFVar*> FunToRetMap;
|
|
63
|
+
typedef Map<const SVFFunction*,SVFStmtSet> FunToPAGEdgeSetMap;
|
|
64
|
+
typedef Map<const ICFGNode*,SVFStmtList> ICFGNode2SVFStmtsMap;
|
|
65
|
+
typedef Map<NodeID, NodeID> NodeToNodeMap;
|
|
66
|
+
typedef std::pair<NodeID, s32_t> NodeOffset;
|
|
67
|
+
typedef std::pair<NodeID, LocationSet> NodeLocationSet;
|
|
68
|
+
typedef Map<NodeOffset,NodeID> NodeOffsetMap;
|
|
69
|
+
typedef Map<NodeLocationSet,NodeID> NodeLocationSetMap;
|
|
70
|
+
typedef Map<const SVFValue*, NodeLocationSetMap> GepValueVarMap;
|
|
71
|
+
typedef Map<NodePair,NodeID> NodePairSetMap;
|
|
72
|
+
|
|
73
|
+
private:
|
|
74
|
+
/// ValueNodes - This map indicates the Node that a particular SVFValue* is
|
|
75
|
+
/// represented by. This contains entries for all pointers.
|
|
76
|
+
ICFGNode2SVFStmtsMap icfgNode2SVFStmtsMap; ///< Map an ICFGNode to its SVFStmts
|
|
77
|
+
ICFGNode2SVFStmtsMap icfgNode2PTASVFStmtsMap; ///< Map an ICFGNode to its PointerAnalysis related SVFStmts
|
|
78
|
+
GepValueVarMap GepValObjMap; ///< Map a pair<base,off> to a gep value node id
|
|
79
|
+
NodeLocationSetMap GepObjVarMap; ///< Map a pair<base,off> to a gep obj node id
|
|
80
|
+
MemObjToFieldsMap memToFieldsMap; ///< Map a mem object id to all its fields
|
|
81
|
+
SVFStmtSet globSVFStmtSet; ///< Global PAGEdges without control flow information
|
|
82
|
+
PHINodeMap phiNodeMap; ///< A set of phi copy edges
|
|
83
|
+
FunToArgsListMap funArgsListMap; ///< Map a function to a list of all its formal parameters
|
|
84
|
+
CSToArgsListMap callSiteArgsListMap; ///< Map a callsite to a list of all its actual parameters
|
|
85
|
+
CSToRetMap callSiteRetMap; ///< Map a callsite to its callsite returns PAGNodes
|
|
86
|
+
FunToRetMap funRetMap; ///< Map a function to its unique function return PAGNodes
|
|
87
|
+
static std::unique_ptr<SVFIR> pag; ///< Singleton pattern here to enable instance of SVFIR can only be created once.
|
|
88
|
+
CallSiteToFunPtrMap indCallSiteToFunPtrMap; ///< Map an indirect callsite to its function pointer
|
|
89
|
+
FunPtrToCallSitesMap funPtrToCallSitesMap; ///< Map a function pointer to the callsites where it is used
|
|
90
|
+
/// Valid pointers for pointer analysis resolution connected by SVFIR edges (constraints)
|
|
91
|
+
/// this set of candidate pointers can change during pointer resolution (e.g. adding new object nodes)
|
|
92
|
+
OrderedNodeSet candidatePointers;
|
|
93
|
+
SVFModule* svfModule; /// SVF Module
|
|
94
|
+
ICFG* icfg; // ICFG
|
|
95
|
+
CommonCHGraph* chgraph; // class hierarchy graph
|
|
96
|
+
CallSiteSet callSiteSet; /// all the callsites of a program
|
|
97
|
+
/// Constructor
|
|
98
|
+
SVFIR(bool buildFromFile);
|
|
99
|
+
|
|
100
|
+
/// Clean up memory
|
|
101
|
+
void destroy();
|
|
102
|
+
|
|
103
|
+
public:
|
|
104
|
+
|
|
105
|
+
/// Singleton design here to make sure we only have one instance during any analysis
|
|
106
|
+
//@{
|
|
107
|
+
static inline SVFIR* getPAG(bool buildFromFile = false)
|
|
108
|
+
{
|
|
109
|
+
if (pag == nullptr)
|
|
110
|
+
{
|
|
111
|
+
pag = std::unique_ptr<SVFIR>(new SVFIR(buildFromFile));
|
|
112
|
+
}
|
|
113
|
+
return pag.get();
|
|
114
|
+
}
|
|
115
|
+
static void releaseSVFIR()
|
|
116
|
+
{
|
|
117
|
+
pag = nullptr;
|
|
118
|
+
}
|
|
119
|
+
//@}
|
|
120
|
+
/// Return memToFieldsMap
|
|
121
|
+
inline MemObjToFieldsMap& getMemToFieldsMap()
|
|
122
|
+
{
|
|
123
|
+
return memToFieldsMap;
|
|
124
|
+
}
|
|
125
|
+
/// Return GepObjVarMap
|
|
126
|
+
inline NodeLocationSetMap& getGepObjNodeMap()
|
|
127
|
+
{
|
|
128
|
+
return GepObjVarMap;
|
|
129
|
+
}
|
|
130
|
+
/// Return valid pointers
|
|
131
|
+
inline OrderedNodeSet& getAllValidPtrs()
|
|
132
|
+
{
|
|
133
|
+
return candidatePointers;
|
|
134
|
+
}
|
|
135
|
+
/// Initialize candidate pointers
|
|
136
|
+
void initialiseCandidatePointers();
|
|
137
|
+
|
|
138
|
+
/// Destructor
|
|
139
|
+
virtual ~SVFIR()
|
|
140
|
+
{
|
|
141
|
+
destroy();
|
|
142
|
+
}
|
|
143
|
+
/// SVFIR build configurations
|
|
144
|
+
//@{
|
|
145
|
+
/// Whether to handle blackhole edge
|
|
146
|
+
static void handleBlackHole(bool b);
|
|
147
|
+
//@}
|
|
148
|
+
/// Set/Get LLVM Module
|
|
149
|
+
inline void setModule(SVFModule* mod)
|
|
150
|
+
{
|
|
151
|
+
svfModule = mod;
|
|
152
|
+
}
|
|
153
|
+
inline SVFModule* getModule()
|
|
154
|
+
{
|
|
155
|
+
assert(svfModule && "empty SVFModule! Build SVF IR first!");
|
|
156
|
+
return svfModule;
|
|
157
|
+
}
|
|
158
|
+
/// Set/Get ICFG
|
|
159
|
+
inline void setICFG(ICFG* i)
|
|
160
|
+
{
|
|
161
|
+
icfg = i;
|
|
162
|
+
}
|
|
163
|
+
inline ICFG* getICFG()
|
|
164
|
+
{
|
|
165
|
+
assert(icfg->totalICFGNode>0 && "empty ICFG! Build SVF IR first!");
|
|
166
|
+
return icfg;
|
|
167
|
+
}
|
|
168
|
+
/// Set/Get CHG
|
|
169
|
+
inline void setCHG(CommonCHGraph* c)
|
|
170
|
+
{
|
|
171
|
+
chgraph = c;
|
|
172
|
+
}
|
|
173
|
+
inline CommonCHGraph* getCHG()
|
|
174
|
+
{
|
|
175
|
+
assert(chgraph && "empty ICFG! Build SVF IR first!");
|
|
176
|
+
return chgraph;
|
|
177
|
+
}
|
|
178
|
+
/// Get/set methods to get SVFStmts based on their kinds and ICFGNodes
|
|
179
|
+
//@{
|
|
180
|
+
/// Get edges set according to its kind
|
|
181
|
+
inline SVFStmt::SVFStmtSetTy& getSVFStmtSet(SVFStmt::PEDGEK kind)
|
|
182
|
+
{
|
|
183
|
+
return KindToSVFStmtSetMap[kind];
|
|
184
|
+
}
|
|
185
|
+
/// Get PTA edges set according to its kind
|
|
186
|
+
inline SVFStmt::SVFStmtSetTy& getPTASVFStmtSet(SVFStmt::PEDGEK kind)
|
|
187
|
+
{
|
|
188
|
+
return KindToPTASVFStmtSetMap[kind];
|
|
189
|
+
}
|
|
190
|
+
/// Whether this instruction has SVFIR Edge
|
|
191
|
+
inline bool hasSVFStmtList(const ICFGNode* inst) const
|
|
192
|
+
{
|
|
193
|
+
return icfgNode2SVFStmtsMap.find(inst)!=icfgNode2SVFStmtsMap.end();
|
|
194
|
+
}
|
|
195
|
+
inline bool hasPTASVFStmtList(const ICFGNode* inst) const
|
|
196
|
+
{
|
|
197
|
+
return icfgNode2PTASVFStmtsMap.find(inst)!=icfgNode2PTASVFStmtsMap.end();
|
|
198
|
+
}
|
|
199
|
+
/// Given an instruction, get all its PAGEdges
|
|
200
|
+
inline SVFStmtList& getSVFStmtList(const ICFGNode* inst)
|
|
201
|
+
{
|
|
202
|
+
return icfgNode2SVFStmtsMap[inst];
|
|
203
|
+
}
|
|
204
|
+
/// Given an instruction, get all its PTA PAGEdges
|
|
205
|
+
inline SVFStmtList& getPTASVFStmtList(const ICFGNode* inst)
|
|
206
|
+
{
|
|
207
|
+
return icfgNode2PTASVFStmtsMap[inst];
|
|
208
|
+
}
|
|
209
|
+
/// Add a SVFStmt into instruction map
|
|
210
|
+
inline void addToSVFStmtList(ICFGNode* inst, SVFStmt* edge)
|
|
211
|
+
{
|
|
212
|
+
edge->setICFGNode(inst);
|
|
213
|
+
icfgNode2SVFStmtsMap[inst].push_back(edge);
|
|
214
|
+
if (edge->isPTAEdge())
|
|
215
|
+
icfgNode2PTASVFStmtsMap[inst].push_back(edge);
|
|
216
|
+
}
|
|
217
|
+
/// Get global PAGEdges (not in a procedure)
|
|
218
|
+
inline SVFStmtSet& getGlobalSVFStmtSet()
|
|
219
|
+
{
|
|
220
|
+
return globSVFStmtSet;
|
|
221
|
+
}
|
|
222
|
+
/// Get all callsites
|
|
223
|
+
inline const CallSiteSet& getCallSiteSet() const
|
|
224
|
+
{
|
|
225
|
+
return callSiteSet;
|
|
226
|
+
}
|
|
227
|
+
/// Whether this SVFVar is a result operand a of phi node
|
|
228
|
+
inline bool isPhiNode(const SVFVar* node) const
|
|
229
|
+
{
|
|
230
|
+
return phiNodeMap.find(node) != phiNodeMap.end();
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/// Function has arguments list
|
|
234
|
+
inline bool hasFunArgsList(const SVFFunction* func) const
|
|
235
|
+
{
|
|
236
|
+
return (funArgsListMap.find(func) != funArgsListMap.end());
|
|
237
|
+
}
|
|
238
|
+
/// Get function arguments list
|
|
239
|
+
inline FunToArgsListMap& getFunArgsMap()
|
|
240
|
+
{
|
|
241
|
+
return funArgsListMap;
|
|
242
|
+
}
|
|
243
|
+
/// Get function arguments list
|
|
244
|
+
inline const SVFVarList& getFunArgsList(const SVFFunction* func) const
|
|
245
|
+
{
|
|
246
|
+
FunToArgsListMap::const_iterator it = funArgsListMap.find(func);
|
|
247
|
+
assert(it != funArgsListMap.end() && "this function doesn't have arguments");
|
|
248
|
+
return it->second;
|
|
249
|
+
}
|
|
250
|
+
/// Callsite has argument list
|
|
251
|
+
inline bool hasCallSiteArgsMap(const CallICFGNode* cs) const
|
|
252
|
+
{
|
|
253
|
+
return (callSiteArgsListMap.find(cs) != callSiteArgsListMap.end());
|
|
254
|
+
}
|
|
255
|
+
/// Get callsite argument list
|
|
256
|
+
inline CSToArgsListMap& getCallSiteArgsMap()
|
|
257
|
+
{
|
|
258
|
+
return callSiteArgsListMap;
|
|
259
|
+
}
|
|
260
|
+
/// Get callsite argument list
|
|
261
|
+
inline const SVFVarList& getCallSiteArgsList(const CallICFGNode* cs) const
|
|
262
|
+
{
|
|
263
|
+
CSToArgsListMap::const_iterator it = callSiteArgsListMap.find(cs);
|
|
264
|
+
assert(it != callSiteArgsListMap.end() && "this call site doesn't have arguments");
|
|
265
|
+
return it->second;
|
|
266
|
+
}
|
|
267
|
+
/// Get callsite return
|
|
268
|
+
inline CSToRetMap& getCallSiteRets()
|
|
269
|
+
{
|
|
270
|
+
return callSiteRetMap;
|
|
271
|
+
}
|
|
272
|
+
/// Get callsite return
|
|
273
|
+
inline const SVFVar* getCallSiteRet(const RetICFGNode* cs) const
|
|
274
|
+
{
|
|
275
|
+
CSToRetMap::const_iterator it = callSiteRetMap.find(cs);
|
|
276
|
+
assert(it != callSiteRetMap.end() && "this call site doesn't have return");
|
|
277
|
+
return it->second;
|
|
278
|
+
}
|
|
279
|
+
inline bool callsiteHasRet(const RetICFGNode* cs) const
|
|
280
|
+
{
|
|
281
|
+
return callSiteRetMap.find(cs) != callSiteRetMap.end();
|
|
282
|
+
}
|
|
283
|
+
/// Get function return list
|
|
284
|
+
inline FunToRetMap& getFunRets()
|
|
285
|
+
{
|
|
286
|
+
return funRetMap;
|
|
287
|
+
}
|
|
288
|
+
/// Get function return list
|
|
289
|
+
inline const SVFVar* getFunRet(const SVFFunction* func) const
|
|
290
|
+
{
|
|
291
|
+
FunToRetMap::const_iterator it = funRetMap.find(func);
|
|
292
|
+
assert(it != funRetMap.end() && "this function doesn't have return");
|
|
293
|
+
return it->second;
|
|
294
|
+
}
|
|
295
|
+
inline bool funHasRet(const SVFFunction* func) const
|
|
296
|
+
{
|
|
297
|
+
return funRetMap.find(func) != funRetMap.end();
|
|
298
|
+
}
|
|
299
|
+
//@}
|
|
300
|
+
|
|
301
|
+
/// Node and edge statistics
|
|
302
|
+
//@{
|
|
303
|
+
inline u32_t getFieldValNodeNum() const
|
|
304
|
+
{
|
|
305
|
+
return GepValObjMap.size();
|
|
306
|
+
}
|
|
307
|
+
inline u32_t getFieldObjNodeNum() const
|
|
308
|
+
{
|
|
309
|
+
return GepObjVarMap.size();
|
|
310
|
+
}
|
|
311
|
+
//@}
|
|
312
|
+
|
|
313
|
+
/// Due to constaint expression, curInst is used to distinguish different instructions (e.g., memorycpy) when creating GepValVar.
|
|
314
|
+
NodeID getGepValVar(const SVFValue* curInst, NodeID base, const LocationSet& ls) const;
|
|
315
|
+
|
|
316
|
+
/// Add/get indirect callsites
|
|
317
|
+
//@{
|
|
318
|
+
inline const CallSiteToFunPtrMap& getIndirectCallsites() const
|
|
319
|
+
{
|
|
320
|
+
return indCallSiteToFunPtrMap;
|
|
321
|
+
}
|
|
322
|
+
inline NodeID getFunPtr(const CallICFGNode* cs) const
|
|
323
|
+
{
|
|
324
|
+
CallSiteToFunPtrMap::const_iterator it = indCallSiteToFunPtrMap.find(cs);
|
|
325
|
+
assert(it!=indCallSiteToFunPtrMap.end() && "indirect callsite not have a function pointer?");
|
|
326
|
+
return it->second;
|
|
327
|
+
}
|
|
328
|
+
inline const CallSiteSet& getIndCallSites(NodeID funPtr) const
|
|
329
|
+
{
|
|
330
|
+
FunPtrToCallSitesMap::const_iterator it = funPtrToCallSitesMap.find(funPtr);
|
|
331
|
+
assert(it!=funPtrToCallSitesMap.end() && "function pointer not used at any indirect callsite?");
|
|
332
|
+
return it->second;
|
|
333
|
+
}
|
|
334
|
+
inline bool isIndirectCallSites(const CallICFGNode* cs) const
|
|
335
|
+
{
|
|
336
|
+
return (indCallSiteToFunPtrMap.find(cs) != indCallSiteToFunPtrMap.end());
|
|
337
|
+
}
|
|
338
|
+
inline bool isFunPtr(NodeID id) const
|
|
339
|
+
{
|
|
340
|
+
return (funPtrToCallSitesMap.find(id) != funPtrToCallSitesMap.end());
|
|
341
|
+
}
|
|
342
|
+
//@}
|
|
343
|
+
/// Get an edge according to src, dst and kind
|
|
344
|
+
//@{
|
|
345
|
+
inline SVFStmt* getIntraPAGEdge(NodeID src, NodeID dst, SVFStmt::PEDGEK kind)
|
|
346
|
+
{
|
|
347
|
+
return getIntraPAGEdge(getGNode(src), getGNode(dst), kind);
|
|
348
|
+
}
|
|
349
|
+
inline SVFStmt* getIntraPAGEdge(SVFVar* src, SVFVar* dst, SVFStmt::PEDGEK kind)
|
|
350
|
+
{
|
|
351
|
+
SVFStmt edge(src,dst,kind, false);
|
|
352
|
+
const SVFStmt::SVFStmtSetTy& edgeSet = getSVFStmtSet(kind);
|
|
353
|
+
SVFStmt::SVFStmtSetTy::const_iterator it = edgeSet.find(&edge);
|
|
354
|
+
assert(it != edgeSet.end() && "can not find pag edge");
|
|
355
|
+
return (*it);
|
|
356
|
+
}
|
|
357
|
+
//@}
|
|
358
|
+
|
|
359
|
+
/// Get memory object - Return memory object according to pag node id
|
|
360
|
+
/// return whole allocated memory object if this node is a gep obj node
|
|
361
|
+
/// return nullptr is this node is not a ObjVar type
|
|
362
|
+
//@{
|
|
363
|
+
inline const MemObj*getObject(NodeID id) const
|
|
364
|
+
{
|
|
365
|
+
const SVFVar* node = getGNode(id);
|
|
366
|
+
if(const ObjVar* objPN = SVFUtil::dyn_cast<ObjVar>(node))
|
|
367
|
+
return getObject(objPN);
|
|
368
|
+
else
|
|
369
|
+
return nullptr;
|
|
370
|
+
}
|
|
371
|
+
inline const MemObj*getObject(const ObjVar* node) const
|
|
372
|
+
{
|
|
373
|
+
return node->getMemObj();
|
|
374
|
+
}
|
|
375
|
+
//@}
|
|
376
|
+
|
|
377
|
+
/// Get a field SVFIR Object node according to base mem obj and offset
|
|
378
|
+
NodeID getGepObjVar(const MemObj* obj, const LocationSet& ls);
|
|
379
|
+
/// Get a field obj SVFIR node according to a mem obj and a given offset
|
|
380
|
+
NodeID getGepObjVar(NodeID id, const LocationSet& ls) ;
|
|
381
|
+
/// Get a field-insensitive obj SVFIR node according to a mem obj
|
|
382
|
+
//@{
|
|
383
|
+
inline NodeID getFIObjVar(const MemObj* obj) const
|
|
384
|
+
{
|
|
385
|
+
return obj->getId();
|
|
386
|
+
}
|
|
387
|
+
inline NodeID getFIObjVar(NodeID id) const
|
|
388
|
+
{
|
|
389
|
+
return getBaseObjVar(id);
|
|
390
|
+
}
|
|
391
|
+
//@}
|
|
392
|
+
|
|
393
|
+
/// Get black hole and constant id
|
|
394
|
+
//@{
|
|
395
|
+
inline bool isBlkPtr(NodeID id) const
|
|
396
|
+
{
|
|
397
|
+
return (SymbolTableInfo::isBlkPtr(id));
|
|
398
|
+
}
|
|
399
|
+
inline bool isNullPtr(NodeID id) const
|
|
400
|
+
{
|
|
401
|
+
return (SymbolTableInfo::isNullPtr(id));
|
|
402
|
+
}
|
|
403
|
+
inline bool isBlkObjOrConstantObj(NodeID id) const
|
|
404
|
+
{
|
|
405
|
+
return (isBlkObj(id) || isConstantObj(id));
|
|
406
|
+
}
|
|
407
|
+
inline bool isBlkObj(NodeID id) const
|
|
408
|
+
{
|
|
409
|
+
return SymbolTableInfo::isBlkObj(id);
|
|
410
|
+
}
|
|
411
|
+
inline bool isConstantObj(NodeID id) const
|
|
412
|
+
{
|
|
413
|
+
const MemObj* obj = getObject(id);
|
|
414
|
+
assert(obj && "not an object node?");
|
|
415
|
+
return SymbolTableInfo::isConstantObj(id) || obj->isConstDataOrConstGlobal();
|
|
416
|
+
}
|
|
417
|
+
/// Whether an object can point to any other object or any of its fields is a pointer type.
|
|
418
|
+
bool isNonPointerObj(NodeID id) const;
|
|
419
|
+
//@}
|
|
420
|
+
|
|
421
|
+
/// Base and Offset methods for Value and Object node
|
|
422
|
+
//@{
|
|
423
|
+
/// Get a base pointer node given a field pointer
|
|
424
|
+
NodeID getBaseValVar(NodeID nodeId);
|
|
425
|
+
inline NodeID getBaseObjVar(NodeID id) const
|
|
426
|
+
{
|
|
427
|
+
return getBaseObj(id)->getId();
|
|
428
|
+
}
|
|
429
|
+
inline const MemObj* getBaseObj(NodeID id) const
|
|
430
|
+
{
|
|
431
|
+
const SVFVar* node = pag->getGNode(id);
|
|
432
|
+
assert(SVFUtil::isa<ObjVar>(node) && "need an object node");
|
|
433
|
+
const ObjVar* obj = SVFUtil::cast<ObjVar>(node);
|
|
434
|
+
return obj->getMemObj();
|
|
435
|
+
}
|
|
436
|
+
//@}
|
|
437
|
+
|
|
438
|
+
/// Get all fields of an object
|
|
439
|
+
//@{
|
|
440
|
+
NodeBS& getAllFieldsObjVars(const MemObj* obj);
|
|
441
|
+
NodeBS& getAllFieldsObjVars(NodeID id);
|
|
442
|
+
NodeBS getFieldsAfterCollapse(NodeID id);
|
|
443
|
+
//@}
|
|
444
|
+
inline NodeID addDummyValNode()
|
|
445
|
+
{
|
|
446
|
+
return addDummyValNode(NodeIDAllocator::get()->allocateValueId());
|
|
447
|
+
}
|
|
448
|
+
inline NodeID addDummyObjNode(const SVFType* type)
|
|
449
|
+
{
|
|
450
|
+
return addDummyObjNode(NodeIDAllocator::get()->allocateObjectId(), type);
|
|
451
|
+
}
|
|
452
|
+
/// Whether a node is a valid pointer
|
|
453
|
+
//@{
|
|
454
|
+
bool isValidPointer(NodeID nodeId) const;
|
|
455
|
+
|
|
456
|
+
bool isValidTopLevelPtr(const SVFVar* node);
|
|
457
|
+
//@}
|
|
458
|
+
|
|
459
|
+
/// Print SVFIR
|
|
460
|
+
void print();
|
|
461
|
+
|
|
462
|
+
private:
|
|
463
|
+
|
|
464
|
+
/// Map a SVFStatement type to a set of corresponding SVF statements
|
|
465
|
+
inline void addToStmt2TypeMap(SVFStmt* edge)
|
|
466
|
+
{
|
|
467
|
+
bool added = KindToSVFStmtSetMap[edge->getEdgeKind()].insert(edge).second;
|
|
468
|
+
(void)added; // Suppress warning of unused variable under release build
|
|
469
|
+
assert(added && "duplicated edge, not added!!!");
|
|
470
|
+
if (edge->isPTAEdge())
|
|
471
|
+
{
|
|
472
|
+
totalPTAPAGEdge++;
|
|
473
|
+
KindToPTASVFStmtSetMap[edge->getEdgeKind()].insert(edge);
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
/// Get/set method for function/callsite arguments and returns
|
|
477
|
+
//@{
|
|
478
|
+
/// Add function arguments
|
|
479
|
+
inline void addFunArgs(const SVFFunction* fun, const SVFVar* arg)
|
|
480
|
+
{
|
|
481
|
+
FunEntryICFGNode* funEntryBlockNode = icfg->getFunEntryICFGNode(fun);
|
|
482
|
+
funEntryBlockNode->addFormalParms(arg);
|
|
483
|
+
funArgsListMap[fun].push_back(arg);
|
|
484
|
+
}
|
|
485
|
+
/// Add function returns
|
|
486
|
+
inline void addFunRet(const SVFFunction* fun, const SVFVar* ret)
|
|
487
|
+
{
|
|
488
|
+
FunExitICFGNode* funExitBlockNode = icfg->getFunExitICFGNode(fun);
|
|
489
|
+
funExitBlockNode->addFormalRet(ret);
|
|
490
|
+
funRetMap[fun] = ret;
|
|
491
|
+
}
|
|
492
|
+
/// Add callsite arguments
|
|
493
|
+
inline void addCallSiteArgs(CallICFGNode* callBlockNode,const SVFVar* arg)
|
|
494
|
+
{
|
|
495
|
+
callBlockNode->addActualParms(arg);
|
|
496
|
+
callSiteArgsListMap[callBlockNode].push_back(arg);
|
|
497
|
+
}
|
|
498
|
+
/// Add callsite returns
|
|
499
|
+
inline void addCallSiteRets(RetICFGNode* retBlockNode,const SVFVar* arg)
|
|
500
|
+
{
|
|
501
|
+
retBlockNode->addActualRet(arg);
|
|
502
|
+
callSiteRetMap[retBlockNode]= arg;
|
|
503
|
+
}
|
|
504
|
+
/// Add indirect callsites
|
|
505
|
+
inline void addIndirectCallsites(const CallICFGNode* cs,NodeID funPtr)
|
|
506
|
+
{
|
|
507
|
+
bool added = indCallSiteToFunPtrMap.emplace(cs, funPtr).second;
|
|
508
|
+
(void) added;
|
|
509
|
+
funPtrToCallSitesMap[funPtr].insert(cs);
|
|
510
|
+
assert(added && "adding the same indirect callsite twice?");
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/// add node into SVFIR
|
|
514
|
+
//@{
|
|
515
|
+
/// Add a value (pointer) node
|
|
516
|
+
inline NodeID addValNode(const SVFValue* val, NodeID i)
|
|
517
|
+
{
|
|
518
|
+
SVFVar *node = new ValVar(val,i);
|
|
519
|
+
return addValNode(val, node, i);
|
|
520
|
+
}
|
|
521
|
+
/// Add a memory obj node
|
|
522
|
+
inline NodeID addObjNode(const SVFValue* val, NodeID i)
|
|
523
|
+
{
|
|
524
|
+
const MemObj* mem = getMemObj(val);
|
|
525
|
+
assert(((mem->getId() == i)) && "not same object id?");
|
|
526
|
+
return addFIObjNode(mem);
|
|
527
|
+
}
|
|
528
|
+
/// Add a unique return node for a procedure
|
|
529
|
+
inline NodeID addRetNode(const SVFFunction* val, NodeID i)
|
|
530
|
+
{
|
|
531
|
+
SVFVar *node = new RetPN(val,i);
|
|
532
|
+
return addRetNode(val, node, i);
|
|
533
|
+
}
|
|
534
|
+
/// Add a unique vararg node for a procedure
|
|
535
|
+
inline NodeID addVarargNode(const SVFFunction* val, NodeID i)
|
|
536
|
+
{
|
|
537
|
+
SVFVar *node = new VarArgPN(val,i);
|
|
538
|
+
return addNode(node,i);
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
/// Add a temp field value node, this method can only invoked by getGepValVar
|
|
542
|
+
NodeID addGepValNode(const SVFValue* curInst,const SVFValue* val, const LocationSet& ls, NodeID i, const SVFType* type);
|
|
543
|
+
/// Add a field obj node, this method can only invoked by getGepObjVar
|
|
544
|
+
NodeID addGepObjNode(const MemObj* obj, const LocationSet& ls);
|
|
545
|
+
/// Add a field-insensitive node, this method can only invoked by getFIGepObjNode
|
|
546
|
+
NodeID addFIObjNode(const MemObj* obj);
|
|
547
|
+
//@}
|
|
548
|
+
|
|
549
|
+
/// Add a dummy value/object node according to node ID (llvm value is null)
|
|
550
|
+
//@{
|
|
551
|
+
inline NodeID addDummyValNode(NodeID i)
|
|
552
|
+
{
|
|
553
|
+
return addValNode(nullptr, new DummyValVar(i), i);
|
|
554
|
+
}
|
|
555
|
+
inline NodeID addDummyObjNode(NodeID i, const SVFType* type)
|
|
556
|
+
{
|
|
557
|
+
const MemObj* mem = addDummyMemObj(i, type);
|
|
558
|
+
return addObjNode(nullptr, new DummyObjVar(i,mem), i);
|
|
559
|
+
}
|
|
560
|
+
inline const MemObj* addDummyMemObj(NodeID i, const SVFType* type)
|
|
561
|
+
{
|
|
562
|
+
return getSymbolInfo()->createDummyObj(i,type);
|
|
563
|
+
}
|
|
564
|
+
inline NodeID addBlackholeObjNode()
|
|
565
|
+
{
|
|
566
|
+
return addObjNode(nullptr, new DummyObjVar(getBlackHoleNode(),getBlackHoleObj()), getBlackHoleNode());
|
|
567
|
+
}
|
|
568
|
+
inline NodeID addConstantObjNode()
|
|
569
|
+
{
|
|
570
|
+
return addObjNode(nullptr, new DummyObjVar(getConstantNode(),getConstantObj()), getConstantNode());
|
|
571
|
+
}
|
|
572
|
+
inline NodeID addBlackholePtrNode()
|
|
573
|
+
{
|
|
574
|
+
return addDummyValNode(getBlkPtr());
|
|
575
|
+
}
|
|
576
|
+
//@}
|
|
577
|
+
|
|
578
|
+
/// Add a value (pointer) node
|
|
579
|
+
inline NodeID addValNode(const SVFValue*, SVFVar *node, NodeID i)
|
|
580
|
+
{
|
|
581
|
+
assert(hasGNode(i) == false && "This NodeID clashes here. Please check NodeIDAllocator. Switch Strategy::DEBUG to SEQ or DENSE");
|
|
582
|
+
return addNode(node,i);
|
|
583
|
+
}
|
|
584
|
+
/// Add a memory obj node
|
|
585
|
+
inline NodeID addObjNode(const SVFValue*, SVFVar *node, NodeID i)
|
|
586
|
+
{
|
|
587
|
+
assert(hasGNode(i) == false && "This NodeID clashes here. Please check NodeIDAllocator. Switch Strategy::DEBUG to SEQ or DENSE");
|
|
588
|
+
return addNode(node,i);
|
|
589
|
+
}
|
|
590
|
+
/// Add a unique return node for a procedure
|
|
591
|
+
inline NodeID addRetNode(const SVFFunction*, SVFVar *node, NodeID i)
|
|
592
|
+
{
|
|
593
|
+
return addNode(node,i);
|
|
594
|
+
}
|
|
595
|
+
/// Add a unique vararg node for a procedure
|
|
596
|
+
inline NodeID addVarargNode(const SVFFunction*, SVFVar *node, NodeID i)
|
|
597
|
+
{
|
|
598
|
+
return addNode(node,i);
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
/// Add global PAGEdges (not in a procedure)
|
|
602
|
+
inline void addGlobalPAGEdge(const SVFStmt* edge)
|
|
603
|
+
{
|
|
604
|
+
globSVFStmtSet.insert(edge);
|
|
605
|
+
}
|
|
606
|
+
/// Add callsites
|
|
607
|
+
inline void addCallSite(const CallICFGNode* call)
|
|
608
|
+
{
|
|
609
|
+
callSiteSet.insert(call);
|
|
610
|
+
}
|
|
611
|
+
/// Add an edge into SVFIR
|
|
612
|
+
//@{
|
|
613
|
+
/// Add Address edge
|
|
614
|
+
AddrStmt* addAddrStmt(NodeID src, NodeID dst);
|
|
615
|
+
/// Add Copy edge
|
|
616
|
+
CopyStmt* addCopyStmt(NodeID src, NodeID dst);
|
|
617
|
+
/// Add phi node information
|
|
618
|
+
PhiStmt* addPhiStmt(NodeID res, NodeID opnd, const ICFGNode* pred);
|
|
619
|
+
/// Add SelectStmt
|
|
620
|
+
SelectStmt* addSelectStmt(NodeID res, NodeID op1, NodeID op2, NodeID cond);
|
|
621
|
+
/// Add Copy edge
|
|
622
|
+
CmpStmt* addCmpStmt(NodeID op1, NodeID op2, NodeID dst, u32_t predict);
|
|
623
|
+
/// Add Copy edge
|
|
624
|
+
BinaryOPStmt* addBinaryOPStmt(NodeID op1, NodeID op2, NodeID dst, u32_t opcode);
|
|
625
|
+
/// Add Unary edge
|
|
626
|
+
UnaryOPStmt* addUnaryOPStmt(NodeID src, NodeID dst, u32_t opcode);
|
|
627
|
+
/// Add BranchStmt
|
|
628
|
+
BranchStmt* addBranchStmt(NodeID br, NodeID cond, const BranchStmt::SuccAndCondPairVec& succs);
|
|
629
|
+
/// Add Load edge
|
|
630
|
+
LoadStmt* addLoadStmt(NodeID src, NodeID dst);
|
|
631
|
+
/// Add Store edge
|
|
632
|
+
StoreStmt* addStoreStmt(NodeID src, NodeID dst, const IntraICFGNode* val);
|
|
633
|
+
/// Add Call edge
|
|
634
|
+
CallPE* addCallPE(NodeID src, NodeID dst, const CallICFGNode* cs, const FunEntryICFGNode* entry);
|
|
635
|
+
/// Add Return edge
|
|
636
|
+
RetPE* addRetPE(NodeID src, NodeID dst, const CallICFGNode* cs, const FunExitICFGNode* exit);
|
|
637
|
+
/// Add Gep edge
|
|
638
|
+
GepStmt* addGepStmt(NodeID src, NodeID dst, const LocationSet& ls, bool constGep);
|
|
639
|
+
/// Add Offset(Gep) edge
|
|
640
|
+
GepStmt* addNormalGepStmt(NodeID src, NodeID dst, const LocationSet& ls);
|
|
641
|
+
/// Add Variant(Gep) edge
|
|
642
|
+
GepStmt* addVariantGepStmt(NodeID src, NodeID dst, const LocationSet& ls);
|
|
643
|
+
/// Add Thread fork edge for parameter passing
|
|
644
|
+
TDForkPE* addThreadForkPE(NodeID src, NodeID dst, const CallICFGNode* cs, const FunEntryICFGNode* entry);
|
|
645
|
+
/// Add Thread join edge for parameter passing
|
|
646
|
+
TDJoinPE* addThreadJoinPE(NodeID src, NodeID dst, const CallICFGNode* cs, const FunExitICFGNode* exit);
|
|
647
|
+
//@}
|
|
648
|
+
|
|
649
|
+
/// Set a pointer points-to black hole (e.g. int2ptr)
|
|
650
|
+
SVFStmt* addBlackHoleAddrStmt(NodeID node);
|
|
651
|
+
};
|
|
652
|
+
|
|
653
|
+
typedef SVFIR PAG;
|
|
654
|
+
|
|
655
|
+
} // End namespace SVF
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
#endif /* INCLUDE_SVFIR_H_ */
|