svf-tools 1.0.320 → 1.0.324
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-doxygen/html/html/AndersenSFR_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/AndersenStat_8cpp_source.html +7 -7
- package/SVF-doxygen/html/html/Andersen_8cpp_source.html +3 -3
- package/SVF-doxygen/html/html/Andersen_8h_source.html +2 -2
- package/SVF-doxygen/html/html/CHG_8h_source.html +1 -1
- package/SVF-doxygen/html/html/ConsGNode_8h_source.html +5 -5
- package/SVF-doxygen/html/html/ConsG_8cpp_source.html +8 -8
- package/SVF-doxygen/html/html/ConsG_8h_source.html +15 -15
- package/SVF-doxygen/html/html/ContextDDA_8cpp_source.html +6 -6
- package/SVF-doxygen/html/html/ContextDDA_8h_source.html +2 -2
- package/SVF-doxygen/html/html/DDAClient_8cpp_source.html +3 -3
- package/SVF-doxygen/html/html/DDAClient_8h_source.html +1 -1
- package/SVF-doxygen/html/html/DDAPass_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/DDAStat_8cpp_source.html +3 -3
- package/SVF-doxygen/html/html/DDAVFSolver_8h_source.html +8 -8
- package/SVF-doxygen/html/html/FSMPTA_8h_source.html +1 -1
- package/SVF-doxygen/html/html/FlowDDA_8cpp_source.html +2 -2
- package/SVF-doxygen/html/html/FlowDDA_8h_source.html +2 -2
- package/SVF-doxygen/html/html/FlowSensitiveStat_8cpp_source.html +8 -8
- package/SVF-doxygen/html/html/FlowSensitiveTBHC_8cpp_source.html +5 -5
- package/SVF-doxygen/html/html/FlowSensitiveTBHC_8h_source.html +2 -2
- package/SVF-doxygen/html/html/FlowSensitive_8cpp_source.html +2 -2
- package/SVF-doxygen/html/html/Graph2Json_8cpp_source.html +4 -4
- package/SVF-doxygen/html/html/ICFGNode_8h_source.html +4 -4
- package/SVF-doxygen/html/html/ICFG_8cpp_source.html +4 -4
- package/SVF-doxygen/html/html/IRAnnotator_8h_source.html +2 -2
- package/SVF-doxygen/html/html/IRGraph_8cpp_source.html +3 -3
- package/SVF-doxygen/html/html/IRGraph_8h_source.html +7 -7
- package/SVF-doxygen/html/html/LeakChecker_8cpp_source.html +6 -6
- package/SVF-doxygen/html/html/MSSAMuChi_8h_source.html +9 -9
- package/SVF-doxygen/html/html/MTAAnnotator_8cpp_source.html +6 -6
- package/SVF-doxygen/html/html/MemRegion_8cpp_source.html +24 -24
- package/SVF-doxygen/html/html/MemRegion_8h_source.html +13 -13
- package/SVF-doxygen/html/html/MemSSA_8cpp_source.html +13 -13
- package/SVF-doxygen/html/html/MemSSA_8h_source.html +13 -13
- package/SVF-doxygen/html/html/OfflineConsG_8cpp_source.html +2 -2
- package/SVF-doxygen/html/html/PAGBuilderFromFile_8cpp_source.html +3 -3
- package/SVF-doxygen/html/html/PTAStat_8cpp_source.html +8 -8
- package/SVF-doxygen/html/html/PointerAnalysisImpl_8cpp_source.html +8 -8
- package/SVF-doxygen/html/html/PointerAnalysisImpl_8h_source.html +3 -3
- package/SVF-doxygen/html/html/PointerAnalysis_8cpp_source.html +7 -7
- package/SVF-doxygen/html/html/PointerAnalysis_8h_source.html +17 -17
- package/SVF-doxygen/html/html/SVFGOPT_8h_source.html +3 -3
- package/SVF-doxygen/html/html/SVFG_8cpp_source.html +18 -18
- package/SVF-doxygen/html/html/SVFG_8h_source.html +1 -1
- package/SVF-doxygen/html/html/SVFIRBuilder_8cpp_source.html +5 -5
- package/SVF-doxygen/html/html/SVFIRBuilder_8h_source.html +42 -42
- package/SVF-doxygen/html/html/SVFIR_8cpp_source.html +58 -58
- package/SVF-doxygen/html/html/SVFIR_8h_source.html +153 -154
- package/SVF-doxygen/html/html/SVFStatements_8cpp_source.html +22 -22
- package/SVF-doxygen/html/html/SVFStatements_8h.html +11 -11
- package/SVF-doxygen/html/html/SVFStatements_8h_source.html +133 -132
- package/SVF-doxygen/html/html/SVFVariables_8cpp_source.html +9 -9
- package/SVF-doxygen/html/html/SVFVariables_8h.html +9 -9
- package/SVF-doxygen/html/html/SVFVariables_8h_source.html +78 -78
- package/SVF-doxygen/html/html/SaberSVFGBuilder_8cpp_source.html +6 -6
- package/SVF-doxygen/html/html/SrcSnkDDA_8h_source.html +1 -1
- package/SVF-doxygen/html/html/ThreadCallGraph_8cpp_source.html +3 -3
- package/SVF-doxygen/html/html/TypeAnalysis_8cpp_source.html +2 -2
- package/SVF-doxygen/html/html/TypeBasedHeapCloning_8cpp_source.html +13 -13
- package/SVF-doxygen/html/html/VFGNode_8h_source.html +17 -17
- package/SVF-doxygen/html/html/VFG_8cpp_source.html +48 -48
- package/SVF-doxygen/html/html/VFG_8h_source.html +35 -35
- package/SVF-doxygen/html/html/VersionedFlowSensitiveStat_8cpp_source.html +5 -5
- package/SVF-doxygen/html/html/VersionedFlowSensitive_8cpp_source.html +5 -5
- package/SVF-doxygen/html/html/WPAPass_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/annotated.html +21 -21
- package/SVF-doxygen/html/html/classSVF_1_1AddrCGEdge.html +2 -2
- package/SVF-doxygen/html/html/classSVF_1_1AddrStmt-members.html +137 -0
- package/SVF-doxygen/html/html/classSVF_1_1AddrStmt.html +500 -0
- package/SVF-doxygen/html/html/classSVF_1_1AddrStmt.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1AddrVFGNode-members.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1AddrVFGNode.html +7 -7
- package/SVF-doxygen/html/html/classSVF_1_1AliasDDAClient.html +3 -3
- package/SVF-doxygen/html/html/classSVF_1_1Andersen-members.html +4 -4
- package/SVF-doxygen/html/html/classSVF_1_1Andersen.html +34 -34
- package/SVF-doxygen/html/html/classSVF_1_1AndersenBase-members.html +4 -4
- package/SVF-doxygen/html/html/classSVF_1_1AndersenBase.html +12 -12
- package/SVF-doxygen/html/html/classSVF_1_1AndersenHCD-members.html +4 -4
- package/SVF-doxygen/html/html/classSVF_1_1AndersenHCD.html +8 -8
- package/SVF-doxygen/html/html/classSVF_1_1AndersenHLCD-members.html +4 -4
- package/SVF-doxygen/html/html/classSVF_1_1AndersenHLCD.html +8 -8
- package/SVF-doxygen/html/html/classSVF_1_1AndersenLCD-members.html +4 -4
- package/SVF-doxygen/html/html/classSVF_1_1AndersenLCD.html +8 -8
- package/SVF-doxygen/html/html/classSVF_1_1AndersenSCD-members.html +4 -4
- package/SVF-doxygen/html/html/classSVF_1_1AndersenSCD.html +8 -8
- package/SVF-doxygen/html/html/classSVF_1_1AndersenSFR-members.html +4 -4
- package/SVF-doxygen/html/html/classSVF_1_1AndersenSFR.html +11 -11
- package/SVF-doxygen/html/html/classSVF_1_1AndersenStat.html +9 -9
- package/SVF-doxygen/html/html/classSVF_1_1AndersenWaveDiff-members.html +4 -4
- package/SVF-doxygen/html/html/classSVF_1_1AndersenWaveDiff.html +8 -8
- package/SVF-doxygen/html/html/classSVF_1_1BVDataPTAImpl-members.html +4 -4
- package/SVF-doxygen/html/html/classSVF_1_1BVDataPTAImpl.html +26 -26
- package/SVF-doxygen/html/html/classSVF_1_1BinaryOPStmt-members.html +155 -0
- package/SVF-doxygen/html/html/classSVF_1_1BinaryOPStmt.html +756 -0
- package/SVF-doxygen/html/html/classSVF_1_1BinaryOPStmt.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1BranchStmt-members.html +20 -19
- package/SVF-doxygen/html/html/classSVF_1_1BranchStmt.html +33 -31
- package/SVF-doxygen/html/html/classSVF_1_1BranchVFGNode.html +3 -3
- package/SVF-doxygen/html/html/classSVF_1_1CallBlockNode-members.html +8 -8
- package/SVF-doxygen/html/html/classSVF_1_1CallBlockNode.html +6 -6
- package/SVF-doxygen/html/html/classSVF_1_1CallPE-members.html +20 -19
- package/SVF-doxygen/html/html/classSVF_1_1CallPE.html +24 -22
- package/SVF-doxygen/html/html/classSVF_1_1CloneDummyObjVar-members.html +169 -0
- package/SVF-doxygen/html/html/classSVF_1_1CloneDummyObjVar.html +537 -0
- package/SVF-doxygen/html/html/classSVF_1_1CloneDummyObjVar.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1CloneFIObjVar-members.html +169 -0
- package/SVF-doxygen/html/html/classSVF_1_1CloneFIObjVar.html +547 -0
- package/SVF-doxygen/html/html/classSVF_1_1CloneFIObjVar.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1CloneGepObjVar-members.html +172 -0
- package/SVF-doxygen/html/html/classSVF_1_1CloneGepObjVar.html +556 -0
- package/SVF-doxygen/html/html/classSVF_1_1CloneGepObjVar.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1CmpStmt-members.html +75 -22
- package/SVF-doxygen/html/html/classSVF_1_1CmpStmt.html +479 -93
- package/SVF-doxygen/html/html/classSVF_1_1CmpStmt.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1CondPTAImpl-members.html +4 -4
- package/SVF-doxygen/html/html/classSVF_1_1CondPTAImpl.html +11 -11
- package/SVF-doxygen/html/html/classSVF_1_1ConstraintGraph-members.html +5 -5
- package/SVF-doxygen/html/html/classSVF_1_1ConstraintGraph.html +46 -46
- package/SVF-doxygen/html/html/classSVF_1_1ConstraintNode-members.html +26 -26
- package/SVF-doxygen/html/html/classSVF_1_1ConstraintNode.html +43 -43
- package/SVF-doxygen/html/html/classSVF_1_1ContextDDA-members.html +4 -4
- package/SVF-doxygen/html/html/classSVF_1_1ContextDDA.html +17 -17
- package/SVF-doxygen/html/html/classSVF_1_1CopyStmt-members.html +57 -21
- package/SVF-doxygen/html/html/classSVF_1_1CopyStmt.html +253 -89
- package/SVF-doxygen/html/html/classSVF_1_1CopyStmt.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1CopyVFGNode-members.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1CopyVFGNode.html +7 -7
- package/SVF-doxygen/html/html/classSVF_1_1DDAClient.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1DDAStat.html +3 -3
- package/SVF-doxygen/html/html/classSVF_1_1DDAVFSolver.html +10 -10
- package/SVF-doxygen/html/html/classSVF_1_1DistinctMRG-members.html +19 -19
- package/SVF-doxygen/html/html/classSVF_1_1DistinctMRG.html +27 -27
- package/SVF-doxygen/html/html/classSVF_1_1DummyObjVar-members.html +167 -0
- package/SVF-doxygen/html/html/classSVF_1_1DummyObjVar.html +531 -0
- package/SVF-doxygen/html/html/classSVF_1_1DummyObjVar.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1DummyValVar-members.html +165 -0
- package/SVF-doxygen/html/html/classSVF_1_1DummyValVar.html +502 -0
- package/SVF-doxygen/html/html/classSVF_1_1DummyValVar.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1FIObjVar-members.html +167 -0
- package/SVF-doxygen/html/html/classSVF_1_1FIObjVar.html +577 -0
- package/SVF-doxygen/html/html/classSVF_1_1FIObjVar.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1FSMPTA-members.html +4 -4
- package/SVF-doxygen/html/html/classSVF_1_1FSMPTA.html +8 -8
- package/SVF-doxygen/html/html/classSVF_1_1FlowDDA-members.html +4 -4
- package/SVF-doxygen/html/html/classSVF_1_1FlowDDA.html +15 -15
- package/SVF-doxygen/html/html/classSVF_1_1FlowSensitive-members.html +4 -4
- package/SVF-doxygen/html/html/classSVF_1_1FlowSensitive.html +25 -25
- package/SVF-doxygen/html/html/classSVF_1_1FlowSensitiveStat.html +8 -8
- package/SVF-doxygen/html/html/classSVF_1_1FlowSensitiveTBHC-members.html +8 -8
- package/SVF-doxygen/html/html/classSVF_1_1FlowSensitiveTBHC.html +26 -26
- package/SVF-doxygen/html/html/classSVF_1_1FunEntryBlockNode-members.html +6 -6
- package/SVF-doxygen/html/html/classSVF_1_1FunEntryBlockNode.html +6 -6
- package/SVF-doxygen/html/html/classSVF_1_1FunExitBlockNode-members.html +6 -6
- package/SVF-doxygen/html/html/classSVF_1_1FunExitBlockNode.html +6 -6
- package/SVF-doxygen/html/html/classSVF_1_1FunptrDDAClient.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1GenericEdge.html +6 -6
- package/SVF-doxygen/html/html/classSVF_1_1GenericEdge.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1GenericNode.html +23 -22
- package/SVF-doxygen/html/html/classSVF_1_1GenericNode.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1GepObjPN-members.html +12 -12
- package/SVF-doxygen/html/html/classSVF_1_1GepObjPN.html +61 -61
- package/SVF-doxygen/html/html/classSVF_1_1GepObjPN.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1GepStmt-members.html +57 -22
- package/SVF-doxygen/html/html/classSVF_1_1GepStmt.html +259 -118
- package/SVF-doxygen/html/html/classSVF_1_1GepStmt.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1GepVFGNode-members.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1GepVFGNode.html +7 -7
- package/SVF-doxygen/html/html/classSVF_1_1GepValVar-members.html +170 -0
- package/SVF-doxygen/html/html/classSVF_1_1GepValVar.html +752 -0
- package/SVF-doxygen/html/html/classSVF_1_1GepValVar.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1GlobalBlockNode-members.html +6 -6
- package/SVF-doxygen/html/html/classSVF_1_1GlobalBlockNode.html +6 -6
- package/SVF-doxygen/html/html/classSVF_1_1ICFGNode-members.html +6 -6
- package/SVF-doxygen/html/html/classSVF_1_1ICFGNode.html +22 -22
- package/SVF-doxygen/html/html/classSVF_1_1ICFGPrinter.html +6 -6
- package/SVF-doxygen/html/html/classSVF_1_1IRAnnotator.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1IRGraph-members.html +8 -8
- package/SVF-doxygen/html/html/classSVF_1_1IRGraph.html +43 -43
- package/SVF-doxygen/html/html/classSVF_1_1InterBlockNode-members.html +6 -6
- package/SVF-doxygen/html/html/classSVF_1_1InterBlockNode.html +6 -6
- package/SVF-doxygen/html/html/classSVF_1_1InterDisjointMRG-members.html +20 -20
- package/SVF-doxygen/html/html/classSVF_1_1InterDisjointMRG.html +27 -27
- package/SVF-doxygen/html/html/classSVF_1_1IntraBlockNode-members.html +6 -6
- package/SVF-doxygen/html/html/classSVF_1_1IntraBlockNode.html +6 -6
- package/SVF-doxygen/html/html/classSVF_1_1IntraDisjointMRG-members.html +20 -20
- package/SVF-doxygen/html/html/classSVF_1_1IntraDisjointMRG.html +27 -27
- package/SVF-doxygen/html/html/classSVF_1_1LeakChecker.html +6 -6
- package/SVF-doxygen/html/html/classSVF_1_1LoadMU-members.html +3 -3
- package/SVF-doxygen/html/html/classSVF_1_1LoadMU.html +20 -20
- package/SVF-doxygen/html/html/classSVF_1_1LoadStmt-members.html +57 -21
- package/SVF-doxygen/html/html/classSVF_1_1LoadStmt.html +253 -89
- package/SVF-doxygen/html/html/classSVF_1_1LoadStmt.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1LoadVFGNode-members.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1LoadVFGNode.html +7 -7
- package/SVF-doxygen/html/html/classSVF_1_1MRGenerator-members.html +23 -23
- package/SVF-doxygen/html/html/classSVF_1_1MRGenerator.html +147 -147
- package/SVF-doxygen/html/html/classSVF_1_1MTAAnnotator.html +6 -6
- package/SVF-doxygen/html/html/classSVF_1_1MemSSA-members.html +25 -25
- package/SVF-doxygen/html/html/classSVF_1_1MemSSA.html +102 -102
- package/SVF-doxygen/html/html/classSVF_1_1MultiOpndStmt-members.html +24 -23
- package/SVF-doxygen/html/html/classSVF_1_1MultiOpndStmt.html +36 -34
- package/SVF-doxygen/html/html/classSVF_1_1MultiOpndStmt.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1NormalGepStmt-members.html +142 -0
- package/SVF-doxygen/html/html/classSVF_1_1NormalGepStmt.html +649 -0
- package/SVF-doxygen/html/html/classSVF_1_1NormalGepStmt.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1ObjVar-members.html +165 -0
- package/SVF-doxygen/html/html/classSVF_1_1ObjVar.html +644 -0
- package/SVF-doxygen/html/html/classSVF_1_1ObjVar.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1OfflineConsG-members.html +5 -5
- package/SVF-doxygen/html/html/classSVF_1_1OfflineConsG.html +13 -13
- package/SVF-doxygen/html/html/classSVF_1_1PAGBuilderFromFile.html +15 -15
- package/SVF-doxygen/html/html/classSVF_1_1PTAStat.html +8 -8
- package/SVF-doxygen/html/html/classSVF_1_1PhiStmt-members.html +74 -22
- package/SVF-doxygen/html/html/classSVF_1_1PhiStmt.html +447 -98
- package/SVF-doxygen/html/html/classSVF_1_1PhiStmt.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1PointerAnalysis-members.html +4 -4
- package/SVF-doxygen/html/html/classSVF_1_1PointerAnalysis.html +53 -53
- package/SVF-doxygen/html/html/classSVF_1_1RetBlockNode-members.html +7 -7
- package/SVF-doxygen/html/html/classSVF_1_1RetBlockNode.html +6 -6
- package/SVF-doxygen/html/html/classSVF_1_1RetPE-members.html +20 -19
- package/SVF-doxygen/html/html/classSVF_1_1RetPE.html +24 -22
- package/SVF-doxygen/html/html/classSVF_1_1RetPN-members.html +8 -8
- package/SVF-doxygen/html/html/classSVF_1_1RetPN.html +24 -24
- package/SVF-doxygen/html/html/classSVF_1_1SVFG-members.html +56 -56
- package/SVF-doxygen/html/html/classSVF_1_1SVFG.html +58 -58
- package/SVF-doxygen/html/html/classSVF_1_1SVFGOPT-members.html +68 -68
- package/SVF-doxygen/html/html/classSVF_1_1SVFGOPT.html +36 -36
- package/SVF-doxygen/html/html/classSVF_1_1SVFIR-members.html +132 -133
- package/SVF-doxygen/html/html/classSVF_1_1SVFIR.html +730 -748
- package/SVF-doxygen/html/html/classSVF_1_1SVFIRBuilder-members.html +12 -12
- package/SVF-doxygen/html/html/classSVF_1_1SVFIRBuilder.html +180 -180
- package/SVF-doxygen/html/html/classSVF_1_1SVFStmt-members.html +23 -22
- package/SVF-doxygen/html/html/classSVF_1_1SVFStmt.html +57 -39
- package/SVF-doxygen/html/html/classSVF_1_1SVFStmt.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1SVFVar-members.html +8 -8
- package/SVF-doxygen/html/html/classSVF_1_1SVFVar.html +82 -82
- package/SVF-doxygen/html/html/classSVF_1_1SVFVar.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1SaberSVFGBuilder.html +9 -9
- package/SVF-doxygen/html/html/classSVF_1_1SrcSnkDDA.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1Steensgaard-members.html +4 -4
- package/SVF-doxygen/html/html/classSVF_1_1Steensgaard.html +8 -8
- package/SVF-doxygen/html/html/classSVF_1_1StoreCHI-members.html +3 -3
- package/SVF-doxygen/html/html/classSVF_1_1StoreCHI.html +20 -20
- package/SVF-doxygen/html/html/classSVF_1_1StoreStmt-members.html +57 -21
- package/SVF-doxygen/html/html/classSVF_1_1StoreStmt.html +260 -89
- package/SVF-doxygen/html/html/classSVF_1_1StoreStmt.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1StoreVFGNode-members.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1StoreVFGNode.html +7 -7
- package/SVF-doxygen/html/html/classSVF_1_1TDForkPE-members.html +23 -22
- package/SVF-doxygen/html/html/classSVF_1_1TDForkPE.html +18 -16
- package/SVF-doxygen/html/html/classSVF_1_1TDJoinPE-members.html +23 -22
- package/SVF-doxygen/html/html/classSVF_1_1TDJoinPE.html +18 -16
- package/SVF-doxygen/html/html/classSVF_1_1ThreadCallGraph.html +3 -3
- package/SVF-doxygen/html/html/classSVF_1_1TypeAnalysis-members.html +4 -4
- package/SVF-doxygen/html/html/classSVF_1_1TypeAnalysis.html +10 -10
- package/SVF-doxygen/html/html/classSVF_1_1TypeBasedHeapCloning.html +28 -28
- package/SVF-doxygen/html/html/classSVF_1_1UnaryOPStmt-members.html +147 -0
- package/SVF-doxygen/html/html/classSVF_1_1UnaryOPStmt.html +794 -0
- package/SVF-doxygen/html/html/classSVF_1_1UnaryOPStmt.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1VFG-members.html +42 -42
- package/SVF-doxygen/html/html/classSVF_1_1VFG.html +145 -145
- package/SVF-doxygen/html/html/classSVF_1_1ValVar-members.html +163 -0
- package/SVF-doxygen/html/html/classSVF_1_1ValVar.html +521 -0
- package/SVF-doxygen/html/html/classSVF_1_1ValVar.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1VarArgPN-members.html +8 -8
- package/SVF-doxygen/html/html/classSVF_1_1VarArgPN.html +24 -24
- package/SVF-doxygen/html/html/classSVF_1_1VariantGepStmt-members.html +139 -0
- package/SVF-doxygen/html/html/classSVF_1_1VariantGepStmt.html +544 -0
- package/SVF-doxygen/html/html/classSVF_1_1VariantGepStmt.png +0 -0
- package/SVF-doxygen/html/html/classSVF_1_1VersionedFlowSensitive-members.html +4 -4
- package/SVF-doxygen/html/html/classSVF_1_1VersionedFlowSensitive.html +16 -16
- package/SVF-doxygen/html/html/classSVF_1_1VersionedFlowSensitiveStat.html +4 -4
- package/SVF-doxygen/html/html/classSVF_1_1WPAPass.html +3 -3
- package/SVF-doxygen/html/html/classes.html +18 -18
- package/SVF-doxygen/html/html/functions_a.html +55 -55
- package/SVF-doxygen/html/html/functions_b.html +2 -2
- package/SVF-doxygen/html/html/functions_c.html +52 -57
- package/SVF-doxygen/html/html/functions_d.html +4 -4
- package/SVF-doxygen/html/html/functions_f.html +5 -5
- package/SVF-doxygen/html/html/functions_func.html +54 -54
- package/SVF-doxygen/html/html/functions_func_b.html +2 -2
- package/SVF-doxygen/html/html/functions_func_c.html +30 -30
- package/SVF-doxygen/html/html/functions_func_d.html +4 -4
- package/SVF-doxygen/html/html/functions_func_f.html +2 -2
- package/SVF-doxygen/html/html/functions_func_g.html +107 -105
- package/SVF-doxygen/html/html/functions_func_h.html +6 -6
- package/SVF-doxygen/html/html/functions_func_l.html +3 -3
- package/SVF-doxygen/html/html/functions_func_n.html +2 -2
- package/SVF-doxygen/html/html/functions_func_o.html +15 -15
- package/SVF-doxygen/html/html/functions_func_p.html +2 -2
- package/SVF-doxygen/html/html/functions_func_s.html +4 -4
- package/SVF-doxygen/html/html/functions_func_t.html +20 -20
- package/SVF-doxygen/html/html/functions_func_u.html +2 -2
- package/SVF-doxygen/html/html/functions_func_v.html +5 -5
- package/SVF-doxygen/html/html/functions_g.html +123 -121
- package/SVF-doxygen/html/html/functions_h.html +6 -6
- package/SVF-doxygen/html/html/functions_i.html +15 -15
- package/SVF-doxygen/html/html/functions_k.html +9 -0
- package/SVF-doxygen/html/html/functions_l.html +11 -11
- package/SVF-doxygen/html/html/functions_m.html +1 -1
- package/SVF-doxygen/html/html/functions_n.html +2 -2
- package/SVF-doxygen/html/html/functions_o.html +32 -35
- package/SVF-doxygen/html/html/functions_p.html +34 -51
- package/SVF-doxygen/html/html/functions_r.html +1 -1
- package/SVF-doxygen/html/html/functions_s.html +32 -16
- package/SVF-doxygen/html/html/functions_t.html +24 -24
- package/SVF-doxygen/html/html/functions_type_c.html +1 -4
- package/SVF-doxygen/html/html/functions_type_f.html +2 -2
- package/SVF-doxygen/html/html/functions_type_g.html +2 -2
- package/SVF-doxygen/html/html/functions_type_i.html +3 -3
- package/SVF-doxygen/html/html/functions_type_k.html +3 -0
- package/SVF-doxygen/html/html/functions_type_l.html +3 -3
- package/SVF-doxygen/html/html/functions_type_p.html +3 -19
- package/SVF-doxygen/html/html/functions_type_s.html +19 -3
- package/SVF-doxygen/html/html/functions_type_v.html +1 -1
- package/SVF-doxygen/html/html/functions_u.html +2 -2
- package/SVF-doxygen/html/html/functions_v.html +10 -10
- package/SVF-doxygen/html/html/functions_vars_f.html +1 -1
- package/SVF-doxygen/html/html/functions_vars_g.html +8 -8
- package/SVF-doxygen/html/html/functions_vars_i.html +9 -9
- package/SVF-doxygen/html/html/functions_vars_k.html +6 -0
- package/SVF-doxygen/html/html/functions_vars_l.html +2 -2
- package/SVF-doxygen/html/html/functions_vars_m.html +1 -1
- package/SVF-doxygen/html/html/functions_vars_o.html +3 -4
- package/SVF-doxygen/html/html/functions_vars_p.html +4 -7
- package/SVF-doxygen/html/html/functions_w.html +5 -9
- package/SVF-doxygen/html/html/hierarchy.html +65 -65
- package/SVF-doxygen/html/html/namespaceSVF.html +24 -24
- package/SVF-doxygen/html/html/search/all_1.js +39 -39
- package/SVF-doxygen/html/html/search/all_10.js +12 -17
- package/SVF-doxygen/html/html/search/all_12.js +1 -1
- package/SVF-doxygen/html/html/search/all_13.js +15 -11
- package/SVF-doxygen/html/html/search/all_14.js +7 -7
- package/SVF-doxygen/html/html/search/all_15.js +1 -1
- package/SVF-doxygen/html/html/search/all_16.js +4 -4
- package/SVF-doxygen/html/html/search/all_17.js +1 -1
- package/SVF-doxygen/html/html/search/all_2.js +1 -1
- package/SVF-doxygen/html/html/search/all_3.js +8 -9
- package/SVF-doxygen/html/html/search/all_4.js +2 -2
- package/SVF-doxygen/html/html/search/all_6.js +4 -4
- package/SVF-doxygen/html/html/search/all_7.js +54 -53
- package/SVF-doxygen/html/html/search/all_8.js +2 -2
- package/SVF-doxygen/html/html/search/all_9.js +4 -4
- package/SVF-doxygen/html/html/search/all_b.js +3 -0
- package/SVF-doxygen/html/html/search/all_c.js +7 -7
- package/SVF-doxygen/html/html/search/all_d.js +1 -1
- package/SVF-doxygen/html/html/search/all_e.js +4 -4
- package/SVF-doxygen/html/html/search/all_f.js +6 -6
- package/SVF-doxygen/html/html/search/classes_0.js +1 -1
- package/SVF-doxygen/html/html/search/classes_1.js +1 -1
- package/SVF-doxygen/html/html/search/classes_11.js +1 -1
- package/SVF-doxygen/html/html/search/classes_12.js +2 -2
- package/SVF-doxygen/html/html/search/classes_2.js +5 -5
- package/SVF-doxygen/html/html/search/classes_3.js +2 -2
- package/SVF-doxygen/html/html/search/classes_5.js +1 -1
- package/SVF-doxygen/html/html/search/classes_6.js +2 -2
- package/SVF-doxygen/html/html/search/classes_9.js +1 -1
- package/SVF-doxygen/html/html/search/classes_b.js +1 -1
- package/SVF-doxygen/html/html/search/classes_c.js +1 -1
- package/SVF-doxygen/html/html/search/classes_d.js +1 -1
- package/SVF-doxygen/html/html/search/classes_f.js +1 -1
- package/SVF-doxygen/html/html/search/functions_0.js +39 -39
- package/SVF-doxygen/html/html/search/functions_1.js +1 -1
- package/SVF-doxygen/html/html/search/functions_10.js +4 -4
- package/SVF-doxygen/html/html/search/functions_11.js +1 -1
- package/SVF-doxygen/html/html/search/functions_12.js +1 -1
- package/SVF-doxygen/html/html/search/functions_13.js +2 -2
- package/SVF-doxygen/html/html/search/functions_2.js +7 -7
- package/SVF-doxygen/html/html/search/functions_3.js +2 -2
- package/SVF-doxygen/html/html/search/functions_5.js +1 -1
- package/SVF-doxygen/html/html/search/functions_6.js +49 -48
- package/SVF-doxygen/html/html/search/functions_7.js +2 -2
- package/SVF-doxygen/html/html/search/functions_a.js +3 -3
- package/SVF-doxygen/html/html/search/functions_c.js +1 -1
- package/SVF-doxygen/html/html/search/functions_d.js +2 -2
- package/SVF-doxygen/html/html/search/functions_e.js +1 -1
- package/SVF-doxygen/html/html/search/typedefs_11.js +7 -3
- package/SVF-doxygen/html/html/search/typedefs_14.js +1 -1
- package/SVF-doxygen/html/html/search/typedefs_2.js +1 -2
- package/SVF-doxygen/html/html/search/typedefs_5.js +2 -2
- package/SVF-doxygen/html/html/search/typedefs_6.js +1 -1
- package/SVF-doxygen/html/html/search/typedefs_8.js +1 -1
- package/SVF-doxygen/html/html/search/typedefs_a.js +2 -1
- package/SVF-doxygen/html/html/search/typedefs_b.js +3 -3
- package/SVF-doxygen/html/html/search/typedefs_f.js +3 -7
- package/SVF-doxygen/html/html/search/variables_10.js +2 -3
- package/SVF-doxygen/html/html/search/variables_14.js +4 -4
- package/SVF-doxygen/html/html/search/variables_6.js +1 -1
- package/SVF-doxygen/html/html/search/variables_7.js +4 -4
- package/SVF-doxygen/html/html/search/variables_9.js +4 -4
- package/SVF-doxygen/html/html/search/variables_b.js +3 -1
- package/SVF-doxygen/html/html/search/variables_c.js +1 -1
- package/SVF-doxygen/html/html/search/variables_d.js +1 -1
- package/SVF-doxygen/html/html/search/variables_e.js +2 -2
- package/SVF-doxygen/html/html/search/variables_f.js +2 -2
- package/SVF-doxygen/html/html/structllvm_1_1DOTGraphTraits_3_01ConstraintGraph_01_5_01_4.html +2 -2
- package/SVF-doxygen/html/html/structllvm_1_1DOTGraphTraits_3_01ICFG_01_5_01_4.html +2 -2
- package/SVF-doxygen/html/html/structllvm_1_1DOTGraphTraits_3_01IRGraph_01_5_01_4.html +4 -4
- package/SVF-doxygen/html/html/structllvm_1_1DOTGraphTraits_3_01OfflineConsG_01_5_01_4.html +2 -2
- package/SVF-doxygen/html/html/structllvm_1_1DOTGraphTraits_3_01SVFG_01_5_01_4.html +1 -1
- package/SVF-doxygen/html/html/structllvm_1_1DOTGraphTraits_3_01VFG_01_5_01_4.html +1 -1
- package/SVF-doxygen/html/html/svf-ex_8cpp.html +1 -1
- package/SVF-doxygen/html/html/svf-ex_8cpp_source.html +1 -1
- package/include/DDA/ContextDDA.h +1 -1
- package/include/DDA/FlowDDA.h +1 -1
- package/include/Graphs/CHG.h +2 -2
- package/include/Graphs/ConsG.h +10 -10
- package/include/Graphs/ICFGNode.h +4 -4
- package/include/Graphs/IRGraph.h +7 -7
- package/include/Graphs/VFG.h +13 -13
- package/include/Graphs/VFGNode.h +6 -6
- package/include/MSSA/MSSAMuChi.h +6 -6
- package/include/MSSA/MemRegion.h +11 -11
- package/include/MSSA/MemSSA.h +11 -11
- package/include/MemoryModel/PointerAnalysis.h +9 -9
- package/include/MemoryModel/PointerAnalysisImpl.h +4 -4
- package/include/MemoryModel/SVFIR.h +82 -83
- package/include/MemoryModel/SVFStatements.h +97 -92
- package/include/MemoryModel/SVFVariables.h +71 -71
- package/include/SVF-FE/SVFIRBuilder.h +24 -24
- package/include/Util/IRAnnotator.h +1 -1
- package/include/Util/TypeBasedHeapCloning.h +2 -2
- package/include/WPA/Andersen.h +1 -1
- package/include/WPA/FlowSensitiveTBHC.h +1 -1
- package/lib/DDA/ContextDDA.cpp +6 -6
- package/lib/DDA/DDAClient.cpp +6 -6
- package/lib/DDA/DDAStat.cpp +2 -2
- package/lib/DDA/FlowDDA.cpp +4 -4
- package/lib/Graphs/ConsG.cpp +34 -34
- package/lib/Graphs/ICFG.cpp +4 -4
- package/lib/Graphs/IRGraph.cpp +21 -21
- package/lib/Graphs/OfflineConsG.cpp +8 -8
- package/lib/Graphs/SVFG.cpp +14 -14
- package/lib/Graphs/ThreadCallGraph.cpp +2 -2
- package/lib/Graphs/VFG.cpp +52 -52
- package/lib/MSSA/MemRegion.cpp +23 -23
- package/lib/MSSA/MemSSA.cpp +15 -15
- package/lib/MTA/MTAAnnotator.cpp +5 -5
- package/lib/MemoryModel/PAGBuilderFromFile.cpp +13 -13
- package/lib/MemoryModel/PointerAnalysis.cpp +9 -9
- package/lib/MemoryModel/PointerAnalysisImpl.cpp +14 -14
- package/lib/MemoryModel/SVFIR.cpp +95 -95
- package/lib/MemoryModel/SVFStatements.cpp +24 -24
- package/lib/MemoryModel/SVFVariables.cpp +19 -19
- package/lib/SABER/LeakChecker.cpp +2 -2
- package/lib/SABER/SaberSVFGBuilder.cpp +5 -5
- package/lib/SVF-FE/Graph2Json.cpp +3 -3
- package/lib/SVF-FE/SVFIRBuilder.cpp +22 -22
- package/lib/Util/PTAStat.cpp +8 -8
- package/lib/Util/TypeBasedHeapCloning.cpp +22 -22
- package/lib/WPA/Andersen.cpp +13 -13
- package/lib/WPA/AndersenSFR.cpp +2 -2
- package/lib/WPA/AndersenStat.cpp +6 -6
- package/lib/WPA/FlowSensitive.cpp +8 -8
- package/lib/WPA/FlowSensitiveStat.cpp +4 -4
- package/lib/WPA/FlowSensitiveTBHC.cpp +9 -9
- package/lib/WPA/VersionedFlowSensitive.cpp +2 -2
- package/lib/WPA/VersionedFlowSensitiveStat.cpp +1 -1
- package/package.json +1 -1
|
@@ -65,10 +65,10 @@ const std::string SVFStmt::toString() const {
|
|
|
65
65
|
return rawstr.str();
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
const std::string
|
|
68
|
+
const std::string AddrStmt::toString() const{
|
|
69
69
|
std::string str;
|
|
70
70
|
raw_string_ostream rawstr(str);
|
|
71
|
-
rawstr << "
|
|
71
|
+
rawstr << "AddrStmt: [" << getDstID() << "<--" << getSrcID() << "]\t";
|
|
72
72
|
if (Options::PAGDotGraphShorter) {
|
|
73
73
|
rawstr << "\n";
|
|
74
74
|
}
|
|
@@ -76,10 +76,10 @@ const std::string AddrPE::toString() const{
|
|
|
76
76
|
return rawstr.str();
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
const std::string
|
|
79
|
+
const std::string CopyStmt::toString() const{
|
|
80
80
|
std::string str;
|
|
81
81
|
raw_string_ostream rawstr(str);
|
|
82
|
-
rawstr << "
|
|
82
|
+
rawstr << "CopyStmt: [" << getDstID() << "<--" << getSrcID() << "]\t";
|
|
83
83
|
if (Options::PAGDotGraphShorter) {
|
|
84
84
|
rawstr << "\n";
|
|
85
85
|
}
|
|
@@ -87,10 +87,10 @@ const std::string CopyPE::toString() const{
|
|
|
87
87
|
return rawstr.str();
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
const std::string
|
|
90
|
+
const std::string PhiStmt::toString() const{
|
|
91
91
|
std::string str;
|
|
92
92
|
raw_string_ostream rawstr(str);
|
|
93
|
-
rawstr << "
|
|
93
|
+
rawstr << "PhiStmt: [" << getResID() << "<--(" << getOpVarID(0) << "," << getOpVarID(1) << ")]\t";
|
|
94
94
|
if (Options::PAGDotGraphShorter) {
|
|
95
95
|
rawstr << "\n";
|
|
96
96
|
}
|
|
@@ -98,10 +98,10 @@ const std::string PhiPE::toString() const{
|
|
|
98
98
|
return rawstr.str();
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
const std::string
|
|
101
|
+
const std::string CmpStmt::toString() const{
|
|
102
102
|
std::string str;
|
|
103
103
|
raw_string_ostream rawstr(str);
|
|
104
|
-
rawstr << "
|
|
104
|
+
rawstr << "CmpStmt: [" << getResID() << "<--(" << getOpVarID(0) << "," << getOpVarID(1) << ")]\t";
|
|
105
105
|
if (Options::PAGDotGraphShorter) {
|
|
106
106
|
rawstr << "\n";
|
|
107
107
|
}
|
|
@@ -109,10 +109,10 @@ const std::string CmpPE::toString() const{
|
|
|
109
109
|
return rawstr.str();
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
const std::string
|
|
112
|
+
const std::string BinaryOPStmt::toString() const{
|
|
113
113
|
std::string str;
|
|
114
114
|
raw_string_ostream rawstr(str);
|
|
115
|
-
rawstr << "
|
|
115
|
+
rawstr << "BinaryOPStmt: [" << getResID() << "<--(" << getOpVarID(0) << "," << getOpVarID(1) << ")]\t";
|
|
116
116
|
if (Options::PAGDotGraphShorter) {
|
|
117
117
|
rawstr << "\n";
|
|
118
118
|
}
|
|
@@ -120,10 +120,10 @@ const std::string BinaryOPPE::toString() const{
|
|
|
120
120
|
return rawstr.str();
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
const std::string
|
|
123
|
+
const std::string UnaryOPStmt::toString() const{
|
|
124
124
|
std::string str;
|
|
125
125
|
raw_string_ostream rawstr(str);
|
|
126
|
-
rawstr << "
|
|
126
|
+
rawstr << "UnaryOPStmt: [" << getResID() << "<--" << getOpVarID() << "]\t";
|
|
127
127
|
if (Options::PAGDotGraphShorter) {
|
|
128
128
|
rawstr << "\n";
|
|
129
129
|
}
|
|
@@ -146,10 +146,10 @@ const std::string BranchStmt::toString() const {
|
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
|
|
149
|
-
const std::string
|
|
149
|
+
const std::string LoadStmt::toString() const{
|
|
150
150
|
std::string str;
|
|
151
151
|
raw_string_ostream rawstr(str);
|
|
152
|
-
rawstr << "
|
|
152
|
+
rawstr << "LoadStmt: [" << getDstID() << "<--" << getSrcID() << "]\t";
|
|
153
153
|
if (Options::PAGDotGraphShorter) {
|
|
154
154
|
rawstr << "\n";
|
|
155
155
|
}
|
|
@@ -157,10 +157,10 @@ const std::string LoadPE::toString() const{
|
|
|
157
157
|
return rawstr.str();
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
const std::string
|
|
160
|
+
const std::string StoreStmt::toString() const{
|
|
161
161
|
std::string str;
|
|
162
162
|
raw_string_ostream rawstr(str);
|
|
163
|
-
rawstr << "
|
|
163
|
+
rawstr << "StoreStmt: [" << getDstID() << "<--" << getSrcID() << "]\t";
|
|
164
164
|
if (Options::PAGDotGraphShorter) {
|
|
165
165
|
rawstr << "\n";
|
|
166
166
|
}
|
|
@@ -168,10 +168,10 @@ const std::string StorePE::toString() const{
|
|
|
168
168
|
return rawstr.str();
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
const std::string
|
|
171
|
+
const std::string GepStmt::toString() const{
|
|
172
172
|
std::string str;
|
|
173
173
|
raw_string_ostream rawstr(str);
|
|
174
|
-
rawstr << "
|
|
174
|
+
rawstr << "GepStmt: [" << getDstID() << "<--" << getSrcID() << "]\t";
|
|
175
175
|
if (Options::PAGDotGraphShorter) {
|
|
176
176
|
rawstr << "\n";
|
|
177
177
|
}
|
|
@@ -179,10 +179,10 @@ const std::string GepPE::toString() const{
|
|
|
179
179
|
return rawstr.str();
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
const std::string
|
|
182
|
+
const std::string NormalGepStmt::toString() const{
|
|
183
183
|
std::string str;
|
|
184
184
|
raw_string_ostream rawstr(str);
|
|
185
|
-
rawstr << "
|
|
185
|
+
rawstr << "NormalGepStmt: [" << getDstID() << "<--" << getSrcID() << "]\t";
|
|
186
186
|
if (Options::PAGDotGraphShorter) {
|
|
187
187
|
rawstr << "\n";
|
|
188
188
|
}
|
|
@@ -190,10 +190,10 @@ const std::string NormalGepPE::toString() const{
|
|
|
190
190
|
return rawstr.str();
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
const std::string
|
|
193
|
+
const std::string VariantGepStmt::toString() const{
|
|
194
194
|
std::string str;
|
|
195
195
|
raw_string_ostream rawstr(str);
|
|
196
|
-
rawstr << "
|
|
196
|
+
rawstr << "VariantGepStmt: [" << getDstID() << "<--" << getSrcID() << "]\t";
|
|
197
197
|
if (Options::PAGDotGraphShorter) {
|
|
198
198
|
rawstr << "\n";
|
|
199
199
|
}
|
|
@@ -256,10 +256,10 @@ NodeID MultiOpndStmt::getResID() const
|
|
|
256
256
|
return getRes()->getId();
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
NodeID
|
|
259
|
+
NodeID UnaryOPStmt::getOpVarID() const{
|
|
260
260
|
return getOpVar()->getId();
|
|
261
261
|
}
|
|
262
|
-
NodeID
|
|
262
|
+
NodeID UnaryOPStmt::getResID() const{
|
|
263
263
|
return getRes()->getId();
|
|
264
264
|
}
|
|
265
265
|
|
|
@@ -48,7 +48,7 @@ SVFVar::SVFVar(const Value* val, NodeID i, PNODEK k) :
|
|
|
48
48
|
case ValNode:
|
|
49
49
|
case GepValNode:
|
|
50
50
|
{
|
|
51
|
-
assert(val != nullptr && "value is nullptr for
|
|
51
|
+
assert(val != nullptr && "value is nullptr for ValVar or GepValNode");
|
|
52
52
|
isTLPointer = val->getType()->isPointerTy();
|
|
53
53
|
isATPointer = false;
|
|
54
54
|
break;
|
|
@@ -108,10 +108,10 @@ void SVFVar::dump() const {
|
|
|
108
108
|
outs() << this->toString() << "\n";
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
const std::string
|
|
111
|
+
const std::string ValVar::toString() const {
|
|
112
112
|
std::string str;
|
|
113
113
|
raw_string_ostream rawstr(str);
|
|
114
|
-
rawstr << "
|
|
114
|
+
rawstr << "ValVar ID: " << getId();
|
|
115
115
|
if (Options::PAGDotGraphShorter) {
|
|
116
116
|
rawstr << "\n";
|
|
117
117
|
}
|
|
@@ -119,10 +119,10 @@ const std::string ValPN::toString() const {
|
|
|
119
119
|
return rawstr.str();
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
const std::string
|
|
122
|
+
const std::string ObjVar::toString() const {
|
|
123
123
|
std::string str;
|
|
124
124
|
raw_string_ostream rawstr(str);
|
|
125
|
-
rawstr << "
|
|
125
|
+
rawstr << "ObjVar ID: " << getId();
|
|
126
126
|
if (Options::PAGDotGraphShorter) {
|
|
127
127
|
rawstr << "\n";
|
|
128
128
|
}
|
|
@@ -130,10 +130,10 @@ const std::string ObjPN::toString() const {
|
|
|
130
130
|
return rawstr.str();
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
const std::string
|
|
133
|
+
const std::string GepValVar::toString() const {
|
|
134
134
|
std::string str;
|
|
135
135
|
raw_string_ostream rawstr(str);
|
|
136
|
-
rawstr << "
|
|
136
|
+
rawstr << "GepValVar ID: " << getId() << " with offset_" + llvm::utostr(getOffset());
|
|
137
137
|
if (Options::PAGDotGraphShorter) {
|
|
138
138
|
rawstr << "\n";
|
|
139
139
|
}
|
|
@@ -152,10 +152,10 @@ const std::string GepObjPN::toString() const {
|
|
|
152
152
|
return rawstr.str();
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
const std::string
|
|
155
|
+
const std::string FIObjVar::toString() const {
|
|
156
156
|
std::string str;
|
|
157
157
|
raw_string_ostream rawstr(str);
|
|
158
|
-
rawstr << "
|
|
158
|
+
rawstr << "FIObjVar ID: " << getId() << " (base object)";
|
|
159
159
|
if (Options::PAGDotGraphShorter) {
|
|
160
160
|
rawstr << "\n";
|
|
161
161
|
}
|
|
@@ -177,38 +177,38 @@ const std::string VarArgPN::toString() const {
|
|
|
177
177
|
return rawstr.str();
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
const std::string
|
|
180
|
+
const std::string DummyValVar::toString() const {
|
|
181
181
|
std::string str;
|
|
182
182
|
raw_string_ostream rawstr(str);
|
|
183
|
-
rawstr << "
|
|
183
|
+
rawstr << "DummyValVar ID: " << getId();
|
|
184
184
|
return rawstr.str();
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
const std::string
|
|
187
|
+
const std::string DummyObjVar::toString() const {
|
|
188
188
|
std::string str;
|
|
189
189
|
raw_string_ostream rawstr(str);
|
|
190
|
-
rawstr << "
|
|
190
|
+
rawstr << "DummyObjVar ID: " << getId();
|
|
191
191
|
return rawstr.str();
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
const std::string
|
|
194
|
+
const std::string CloneDummyObjVar::toString() const {
|
|
195
195
|
std::string str;
|
|
196
196
|
raw_string_ostream rawstr(str);
|
|
197
|
-
rawstr << "
|
|
197
|
+
rawstr << "CloneDummyObjVar ID: " << getId();
|
|
198
198
|
return rawstr.str();
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
const std::string
|
|
201
|
+
const std::string CloneGepObjVar::toString() const {
|
|
202
202
|
std::string str;
|
|
203
203
|
raw_string_ostream rawstr(str);
|
|
204
|
-
rawstr << "
|
|
204
|
+
rawstr << "CloneGepObjVar ID: " << getId();
|
|
205
205
|
return rawstr.str();
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
const std::string
|
|
208
|
+
const std::string CloneFIObjVar::toString() const {
|
|
209
209
|
std::string str;
|
|
210
210
|
raw_string_ostream rawstr(str);
|
|
211
|
-
rawstr << "
|
|
211
|
+
rawstr << "CloneFIObjVar ID: " << getId();
|
|
212
212
|
return rawstr.str();
|
|
213
213
|
}
|
|
214
214
|
|
|
@@ -119,10 +119,10 @@ void LeakChecker::initSnks()
|
|
|
119
119
|
{
|
|
120
120
|
const SVFFunction* fun = *cit;
|
|
121
121
|
if (isSinkLikeFun(fun)) {
|
|
122
|
-
SVFIR::
|
|
122
|
+
SVFIR::SVFVarList &arglist = it->second;
|
|
123
123
|
assert(!arglist.empty() && "no actual parameter at deallocation site?");
|
|
124
124
|
/// we only choose pointer parameters among all the actual parameters
|
|
125
|
-
for (SVFIR::
|
|
125
|
+
for (SVFIR::SVFVarList::const_iterator ait = arglist.begin(),
|
|
126
126
|
aeit = arglist.end(); ait != aeit; ++ait) {
|
|
127
127
|
const PAGNode *pagNode = *ait;
|
|
128
128
|
if (pagNode->isPointer()) {
|
|
@@ -70,11 +70,11 @@ void SaberSVFGBuilder::collectGlobals(BVDataPTAImpl* pta)
|
|
|
70
70
|
for(SVFIR::iterator it = pag->begin(), eit = pag->end(); it!=eit; it++)
|
|
71
71
|
{
|
|
72
72
|
PAGNode* pagNode = it->second;
|
|
73
|
-
if(SVFUtil::isa<
|
|
73
|
+
if(SVFUtil::isa<DummyValVar>(pagNode) || SVFUtil::isa<DummyObjVar>(pagNode))
|
|
74
74
|
continue;
|
|
75
75
|
|
|
76
76
|
if(GepObjPN* gepobj = SVFUtil::dyn_cast<GepObjPN>(pagNode)) {
|
|
77
|
-
if(SVFUtil::isa<
|
|
77
|
+
if(SVFUtil::isa<DummyObjVar>(pag->getGNode(gepobj->getBaseNode())))
|
|
78
78
|
continue;
|
|
79
79
|
}
|
|
80
80
|
if(const Value* val = pagNode->getValue())
|
|
@@ -102,7 +102,7 @@ PointsTo& SaberSVFGBuilder::CollectPtsChain(BVDataPTAImpl* pta,NodeID id, NodeTo
|
|
|
102
102
|
{
|
|
103
103
|
SVFIR* pag = svfg->getPAG();
|
|
104
104
|
|
|
105
|
-
NodeID baseId = pag->
|
|
105
|
+
NodeID baseId = pag->getBaseObjVar(id);
|
|
106
106
|
NodeToPTSSMap::iterator it = cachedPtsMap.find(baseId);
|
|
107
107
|
if(it!=cachedPtsMap.end())
|
|
108
108
|
return it->second;
|
|
@@ -265,8 +265,8 @@ void SaberSVFGBuilder::AddExtActualParmSVFGNodes(PTACallGraph* callgraph)
|
|
|
265
265
|
if (SaberCheckerAPI::getCheckerAPI()->isMemDealloc(fun)
|
|
266
266
|
|| SaberCheckerAPI::getCheckerAPI()->isFClose(fun))
|
|
267
267
|
{
|
|
268
|
-
SVFIR::
|
|
269
|
-
for(SVFIR::
|
|
268
|
+
SVFIR::SVFVarList& arglist = it->second;
|
|
269
|
+
for(SVFIR::SVFVarList::const_iterator ait = arglist.begin(), aeit = arglist.end(); ait!=aeit; ++ait){
|
|
270
270
|
const PAGNode *pagNode = *ait;
|
|
271
271
|
if (pagNode->isPointer()) {
|
|
272
272
|
addActualParmVFGNode(pagNode, it->first);
|
|
@@ -34,11 +34,11 @@ void ICFGPrinter::printICFGToJson(const std::string& filename)
|
|
|
34
34
|
if(IntraBlockNode* bNode = SVFUtil::dyn_cast<IntraBlockNode>(node))
|
|
35
35
|
{
|
|
36
36
|
ICFGNode_Obj["Source Location"] = getSourceLoc(bNode->getInst());
|
|
37
|
-
SVFIR::
|
|
37
|
+
SVFIR::SVFStmtList& edges = SVFIR::getPAG()->getPTASVFStmtList(bNode);
|
|
38
38
|
llvm::json::Array PAGEdge_array;
|
|
39
39
|
|
|
40
40
|
//dump pag edges
|
|
41
|
-
for (SVFIR::
|
|
41
|
+
for (SVFIR::SVFStmtList::iterator it = edges.begin(),
|
|
42
42
|
eit = edges.end(); it != eit; ++it)
|
|
43
43
|
{
|
|
44
44
|
const PAGEdge* edge = *it;
|
|
@@ -52,7 +52,7 @@ void ICFGPrinter::printICFGToJson(const std::string& filename)
|
|
|
52
52
|
edge_obj["dstValueName"] = edge->getDstNode()->getValueName();
|
|
53
53
|
if(edge->getEdgeKind()==PAGEdge::NormalGep)
|
|
54
54
|
{
|
|
55
|
-
const
|
|
55
|
+
const NormalGepStmt* gepEdge = SVFUtil::cast<NormalGepStmt>(edge);
|
|
56
56
|
edge_obj["offset"] = gepEdge->getOffset();
|
|
57
57
|
}
|
|
58
58
|
llvm::json::Value edge_value = llvm::json::Object{edge_obj};
|
|
@@ -260,8 +260,8 @@ void SVFIRBuilder::processCE(const Value *val)
|
|
|
260
260
|
NodeID nsrc1 = pag->getValueNode(src1);
|
|
261
261
|
NodeID nsrc2 = pag->getValueNode(src2);
|
|
262
262
|
NodeID nres = pag->getValueNode(selectce);
|
|
263
|
-
|
|
264
|
-
|
|
263
|
+
addPhiStmt(nres,nsrc1);
|
|
264
|
+
addPhiStmt(nres,nsrc2);
|
|
265
265
|
setCurrentLocation(cval, cbb);
|
|
266
266
|
}
|
|
267
267
|
// if we meet a int2ptr, then it points-to black hole
|
|
@@ -351,7 +351,7 @@ NodeID SVFIRBuilder::getGlobalVarField(const GlobalVariable *gvar, u32_t offset)
|
|
|
351
351
|
const Type *gvartype = gvar->getType();
|
|
352
352
|
while (const PointerType *ptype = SVFUtil::dyn_cast<PointerType>(gvartype))
|
|
353
353
|
gvartype = ptype->getElementType();
|
|
354
|
-
return
|
|
354
|
+
return getGepValVar(gvar, LocationSet(offset), gvartype, offset);
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
|
|
@@ -519,7 +519,7 @@ void SVFIRBuilder::visitPHINode(PHINode &inst)
|
|
|
519
519
|
assert((incomingInst==nullptr) || (incomingInst->getFunction() == inst.getFunction()));
|
|
520
520
|
|
|
521
521
|
NodeID src = getValueNode(val);
|
|
522
|
-
|
|
522
|
+
addPhiStmt(dst,src);
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
525
|
|
|
@@ -617,7 +617,7 @@ void SVFIRBuilder::visitBinaryOperator(BinaryOperator &inst)
|
|
|
617
617
|
Value* op2 = inst.getOperand(1);
|
|
618
618
|
NodeID op2Node = getValueNode(op2);
|
|
619
619
|
u32_t opcode = inst.getOpcode();
|
|
620
|
-
const
|
|
620
|
+
const BinaryOPStmt* binayPE = addBinaryOPEdge(op1Node, op2Node, dst, opcode);
|
|
621
621
|
}
|
|
622
622
|
|
|
623
623
|
/*!
|
|
@@ -630,7 +630,7 @@ void SVFIRBuilder::visitUnaryOperator(UnaryOperator &inst)
|
|
|
630
630
|
Value* opnd = inst.getOperand(0);
|
|
631
631
|
NodeID src = getValueNode(opnd);
|
|
632
632
|
u32_t opcode = inst.getOpcode();
|
|
633
|
-
const
|
|
633
|
+
const UnaryOPStmt* unaryPE = addUnaryOPEdge(src, dst, opcode);
|
|
634
634
|
}
|
|
635
635
|
|
|
636
636
|
/*!
|
|
@@ -644,8 +644,8 @@ void SVFIRBuilder::visitCmpInst(CmpInst &inst)
|
|
|
644
644
|
NodeID op1Node = getValueNode(op1);
|
|
645
645
|
Value* op2 = inst.getOperand(1);
|
|
646
646
|
NodeID op2Node = getValueNode(op2);
|
|
647
|
-
u32_t
|
|
648
|
-
const
|
|
647
|
+
u32_t predicate = inst.getPredicate();
|
|
648
|
+
const CmpStmt* cmpPE = addCmpEdge(op1Node, op2Node, dst, predicate);
|
|
649
649
|
}
|
|
650
650
|
|
|
651
651
|
|
|
@@ -662,8 +662,8 @@ void SVFIRBuilder::visitSelectInst(SelectInst &inst)
|
|
|
662
662
|
NodeID src2 = getValueNode(inst.getFalseValue());
|
|
663
663
|
|
|
664
664
|
/// Two operands have same incoming basic block, both are the current BB
|
|
665
|
-
|
|
666
|
-
|
|
665
|
+
addPhiStmt(dst,src1);
|
|
666
|
+
addPhiStmt(dst,src2);
|
|
667
667
|
}
|
|
668
668
|
|
|
669
669
|
/*
|
|
@@ -730,7 +730,7 @@ void SVFIRBuilder::visitReturnInst(ReturnInst &inst)
|
|
|
730
730
|
NodeID rnF = getReturnNode(F);
|
|
731
731
|
NodeID vnS = getValueNode(src);
|
|
732
732
|
//vnS may be null if src is a null ptr
|
|
733
|
-
|
|
733
|
+
addPhiStmt(rnF,vnS);
|
|
734
734
|
}
|
|
735
735
|
}
|
|
736
736
|
|
|
@@ -938,8 +938,8 @@ void SVFIRBuilder::addComplexConsForExt(Value *D, Value *S, u32_t sz)
|
|
|
938
938
|
//For each field (i), add (Ti = *S + i) and (*D + i = Ti).
|
|
939
939
|
for (u32_t index = 0; index < sz; index++)
|
|
940
940
|
{
|
|
941
|
-
NodeID dField =
|
|
942
|
-
NodeID sField =
|
|
941
|
+
NodeID dField = getGepValVar(D,fields[index],dtype,index);
|
|
942
|
+
NodeID sField = getGepValVar(S,fields[index],stype,index);
|
|
943
943
|
NodeID dummy = pag->addDummyValNode();
|
|
944
944
|
addLoadEdge(sField,dummy);
|
|
945
945
|
addStoreEdge(dummy,dField);
|
|
@@ -1193,7 +1193,7 @@ void SVFIRBuilder::handleExtCall(CallSite cs, const SVFFunction *callee)
|
|
|
1193
1193
|
// Note that arg0 is aligned with "offset".
|
|
1194
1194
|
for (int i = offset + 1; i <= offset + 3; ++i)
|
|
1195
1195
|
{
|
|
1196
|
-
NodeID vnD =
|
|
1196
|
+
NodeID vnD = getGepValVar(vArg3, fields[i], type, i);
|
|
1197
1197
|
NodeID vnS = getValueNode(vArg1);
|
|
1198
1198
|
if(vnD && vnS)
|
|
1199
1199
|
addStoreEdge(vnS,vnD);
|
|
@@ -1217,7 +1217,7 @@ void SVFIRBuilder::handleExtCall(CallSite cs, const SVFFunction *callee)
|
|
|
1217
1217
|
// Note that arg0 is aligned with "offset".
|
|
1218
1218
|
for (int i = offset + 1; i <= offset + 3; ++i)
|
|
1219
1219
|
{
|
|
1220
|
-
NodeID vnS =
|
|
1220
|
+
NodeID vnS = getGepValVar(vArg, fields[i], type, i);
|
|
1221
1221
|
if(vnD && vnS)
|
|
1222
1222
|
addStoreEdge(vnS,vnD);
|
|
1223
1223
|
}
|
|
@@ -1399,15 +1399,15 @@ void SVFIRBuilder::sanityCheck()
|
|
|
1399
1399
|
* Add a temp field value node according to base value and offset
|
|
1400
1400
|
* this node is after the initial node method, it is out of scope of symInfo table
|
|
1401
1401
|
*/
|
|
1402
|
-
NodeID SVFIRBuilder::
|
|
1402
|
+
NodeID SVFIRBuilder::getGepValVar(const Value* val, const LocationSet& ls, const Type *baseType, u32_t fieldidx)
|
|
1403
1403
|
{
|
|
1404
|
-
NodeID base = pag->
|
|
1405
|
-
NodeID gepval = pag->
|
|
1404
|
+
NodeID base = pag->getBaseValVar(getValueNode(val));
|
|
1405
|
+
NodeID gepval = pag->getGepValVar(curVal, base, ls);
|
|
1406
1406
|
if (gepval==UINT_MAX)
|
|
1407
1407
|
{
|
|
1408
1408
|
assert(((int) UINT_MAX)==-1 && "maximum limit of unsigned int is not -1?");
|
|
1409
1409
|
/*
|
|
1410
|
-
*
|
|
1410
|
+
* getGepValVar can only be called from two places:
|
|
1411
1411
|
* 1. SVFIRBuilder::addComplexConsForExt to handle external calls
|
|
1412
1412
|
* 2. SVFIRBuilder::getGlobalVarField to initialize global variable
|
|
1413
1413
|
* so curVal can only be
|
|
@@ -1468,8 +1468,8 @@ void SVFIRBuilder::setCurrentBBAndValueForPAGEdge(PAGEdge* edge)
|
|
|
1468
1468
|
assert(dstFun==curInst->getFunction() && "DstNode of the PAGEdge not in the same function?");
|
|
1469
1469
|
}
|
|
1470
1470
|
|
|
1471
|
-
/// We assume every
|
|
1472
|
-
if (!(SVFUtil::isa<
|
|
1471
|
+
/// We assume every GepValVar and its GepStmt are unique across whole program
|
|
1472
|
+
if (!(SVFUtil::isa<GepStmt>(edge) && SVFUtil::isa<GepValVar>(edge->getDstNode())))
|
|
1473
1473
|
assert(curBB && "instruction does not have a basic block??");
|
|
1474
1474
|
|
|
1475
1475
|
/// We will have one unique function exit ICFGNode for all returns
|
|
@@ -1505,7 +1505,7 @@ void SVFIRBuilder::setCurrentBBAndValueForPAGEdge(PAGEdge* edge)
|
|
|
1505
1505
|
assert(false && "what else value can we have?");
|
|
1506
1506
|
}
|
|
1507
1507
|
|
|
1508
|
-
pag->
|
|
1508
|
+
pag->addToSVFStmtList(icfgNode,edge);
|
|
1509
1509
|
icfgNode->addPAGEdge(edge);
|
|
1510
1510
|
}
|
|
1511
1511
|
|
package/lib/Util/PTAStat.cpp
CHANGED
|
@@ -151,7 +151,7 @@ void PTAStat::performStat()
|
|
|
151
151
|
for(SVFIR::iterator it = pag->begin(), eit = pag->end(); it!=eit; ++it)
|
|
152
152
|
{
|
|
153
153
|
PAGNode* node = it->second;
|
|
154
|
-
if(
|
|
154
|
+
if(ObjVar* obj = SVFUtil::dyn_cast<ObjVar>(node))
|
|
155
155
|
{
|
|
156
156
|
const MemObj* mem = obj->getMemObj();
|
|
157
157
|
if (memObjSet.insert(mem->getId()).second == false)
|
|
@@ -202,13 +202,13 @@ void PTAStat::performStat()
|
|
|
202
202
|
generalNumMap[NumberOfFieldInsensitiveObj] = fiObjNumber;
|
|
203
203
|
generalNumMap[NumberOfFieldSensitiveObj] = fsObjNumber;
|
|
204
204
|
|
|
205
|
-
generalNumMap[NumOfAddrs] = pag->
|
|
206
|
-
generalNumMap[NumOfLoads] = pag->
|
|
207
|
-
generalNumMap[NumOfStores] = pag->
|
|
208
|
-
generalNumMap[NumOfCopys] = pag->
|
|
209
|
-
generalNumMap[NumOfGeps] = pag->
|
|
210
|
-
generalNumMap[NumOfCalls] = pag->
|
|
211
|
-
generalNumMap[NumOfReturns] = pag->
|
|
205
|
+
generalNumMap[NumOfAddrs] = pag->getSVFStmtSet(PAGEdge::Addr).size();
|
|
206
|
+
generalNumMap[NumOfLoads] = pag->getSVFStmtSet(PAGEdge::Load).size();
|
|
207
|
+
generalNumMap[NumOfStores] = pag->getSVFStmtSet(PAGEdge::Store).size();
|
|
208
|
+
generalNumMap[NumOfCopys] = pag->getSVFStmtSet(PAGEdge::Copy).size();
|
|
209
|
+
generalNumMap[NumOfGeps] = pag->getSVFStmtSet(PAGEdge::NormalGep).size() + pag->getSVFStmtSet(PAGEdge::VariantGep).size();
|
|
210
|
+
generalNumMap[NumOfCalls] = pag->getSVFStmtSet(PAGEdge::Call).size();
|
|
211
|
+
generalNumMap[NumOfReturns] = pag->getSVFStmtSet(PAGEdge::Ret).size();
|
|
212
212
|
|
|
213
213
|
generalNumMap[NumOfFunctionObjs] = numOfFunction;
|
|
214
214
|
generalNumMap[NumOfGlobalObjs] = numOfGlobal;
|