├── .devcontainer ├── Dockerfile ├── devcontainer.json └── docker-compose.yml ├── .gitattributes ├── .gitignore ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── MAINTAINERS.md ├── README.md ├── cargo ├── __init__.py ├── cargo.py ├── helper.py ├── metrics │ ├── __init__.py │ ├── metric_utils.py │ └── metrics.py ├── standalone.py └── utils │ ├── __init__.py │ ├── logging.py │ └── transform_graph.py ├── extras └── demo │ ├── .gitignore │ ├── doop-in │ └── .gitignore │ ├── doop-out │ ├── .gitignore │ ├── ALOAD_VAR.csv │ ├── ASTORE_VAR.csv │ ├── AnyCallGraphEdge.csv │ ├── ApplicationAllocation.csv │ ├── BeanClass.csv │ ├── CallDependency.csv │ ├── CallGraphEdge.csv │ ├── CallReturnDependency.csv │ ├── CallReturnDependencyNoCtx.csv │ ├── DependentInstruction.csv │ ├── DependentInstructionsBetweenMethods.csv │ ├── EJBTransactionBean.csv │ ├── EntryPointClass.csv │ ├── Flows.csv │ ├── FlowsIntoConstArrayIndex.csv │ ├── FlowsIntoInstanceFieldBase.csv │ ├── FlowsIntoStaticField.csv │ ├── GenericServlet.csv │ ├── HeapCarriedDependencyFlows.csv │ ├── InstanceFieldPointsTo.csv │ ├── JAXRSAPIClass.csv │ ├── JAXRSAPIMethod.csv │ ├── MessageDrivenBean.csv │ ├── MethodInformation.csv │ ├── MockObject.csv │ ├── NextNonDomPredecessorIndexToSameBB.csv │ ├── NextPredecessorIndexToSameBB.csv │ ├── PointerFlows.csv │ ├── Reachable.csv │ ├── ReachableContext.csv │ ├── ReturnDependency.csv │ ├── SelfFlows.csv │ ├── SerializableEntryPointMethod.csv │ ├── ServletFilterClass.csv │ ├── SessionBean.csv │ ├── SingletonBean.csv │ ├── StatefulBean.csv │ ├── StatelessBean.csv │ ├── StaticFieldPointsTo.csv │ ├── TaintedLoad.csv │ ├── TradeSLSBBeanVars.csv │ ├── VarPointsTo.csv │ ├── WebServlet.csv │ ├── XMLIFPTDI.csv │ ├── mainAnalysis.CollectionClass.csv │ └── mainAnalysis.SimulatedNativeAllocation.csv │ └── txns │ └── .gitignore.bak └── setup.py /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/.devcontainer/Dockerfile -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.devcontainer/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/.devcontainer/docker-compose.yml -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/LICENSE -------------------------------------------------------------------------------- /MAINTAINERS.md: -------------------------------------------------------------------------------- 1 | # MAINTAINERS 2 | 3 | Rahul Krishna - rkrsn@ibm.com 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/README.md -------------------------------------------------------------------------------- /cargo/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/cargo/__init__.py -------------------------------------------------------------------------------- /cargo/cargo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/cargo/cargo.py -------------------------------------------------------------------------------- /cargo/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/cargo/helper.py -------------------------------------------------------------------------------- /cargo/metrics/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/cargo/metrics/__init__.py -------------------------------------------------------------------------------- /cargo/metrics/metric_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/cargo/metrics/metric_utils.py -------------------------------------------------------------------------------- /cargo/metrics/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/cargo/metrics/metrics.py -------------------------------------------------------------------------------- /cargo/standalone.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/cargo/standalone.py -------------------------------------------------------------------------------- /cargo/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/cargo/utils/__init__.py -------------------------------------------------------------------------------- /cargo/utils/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/cargo/utils/logging.py -------------------------------------------------------------------------------- /cargo/utils/transform_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/cargo/utils/transform_graph.py -------------------------------------------------------------------------------- /extras/demo/.gitignore: -------------------------------------------------------------------------------- 1 | sample.daytrader8-1.2 2 | -------------------------------------------------------------------------------- /extras/demo/doop-in/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-in/.gitignore -------------------------------------------------------------------------------- /extras/demo/doop-out/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /extras/demo/doop-out/ALOAD_VAR.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/ALOAD_VAR.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/ASTORE_VAR.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/ASTORE_VAR.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/AnyCallGraphEdge.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/AnyCallGraphEdge.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/ApplicationAllocation.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/ApplicationAllocation.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/BeanClass.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/BeanClass.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/CallDependency.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/CallDependency.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/CallGraphEdge.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/CallGraphEdge.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/CallReturnDependency.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/CallReturnDependency.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/CallReturnDependencyNoCtx.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/CallReturnDependencyNoCtx.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/DependentInstruction.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/DependentInstruction.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/DependentInstructionsBetweenMethods.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/DependentInstructionsBetweenMethods.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/EJBTransactionBean.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/EJBTransactionBean.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/EntryPointClass.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/EntryPointClass.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/Flows.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/Flows.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/FlowsIntoConstArrayIndex.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/FlowsIntoConstArrayIndex.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/FlowsIntoInstanceFieldBase.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/FlowsIntoInstanceFieldBase.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/FlowsIntoStaticField.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/FlowsIntoStaticField.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/GenericServlet.csv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /extras/demo/doop-out/HeapCarriedDependencyFlows.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/HeapCarriedDependencyFlows.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/InstanceFieldPointsTo.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/InstanceFieldPointsTo.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/JAXRSAPIClass.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/JAXRSAPIClass.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/JAXRSAPIMethod.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/JAXRSAPIMethod.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/MessageDrivenBean.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/MessageDrivenBean.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/MethodInformation.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/MethodInformation.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/MockObject.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/MockObject.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/NextNonDomPredecessorIndexToSameBB.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/NextNonDomPredecessorIndexToSameBB.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/NextPredecessorIndexToSameBB.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/NextPredecessorIndexToSameBB.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/PointerFlows.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/PointerFlows.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/Reachable.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/Reachable.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/ReachableContext.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/ReachableContext.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/ReturnDependency.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/ReturnDependency.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/SelfFlows.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/SelfFlows.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/SerializableEntryPointMethod.csv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /extras/demo/doop-out/ServletFilterClass.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/ServletFilterClass.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/SessionBean.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/SessionBean.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/SingletonBean.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/SingletonBean.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/StatefulBean.csv: -------------------------------------------------------------------------------- 1 | com.ibm.websphere.samples.daytrader.web.prims.cdi.PingEJBLocal 2 | -------------------------------------------------------------------------------- /extras/demo/doop-out/StatelessBean.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/StatelessBean.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/StaticFieldPointsTo.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/StaticFieldPointsTo.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/TaintedLoad.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/TaintedLoad.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/TradeSLSBBeanVars.csv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /extras/demo/doop-out/VarPointsTo.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/VarPointsTo.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/WebServlet.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/WebServlet.csv -------------------------------------------------------------------------------- /extras/demo/doop-out/XMLIFPTDI.csv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /extras/demo/doop-out/mainAnalysis.CollectionClass.csv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /extras/demo/doop-out/mainAnalysis.SimulatedNativeAllocation.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/doop-out/mainAnalysis.SimulatedNativeAllocation.csv -------------------------------------------------------------------------------- /extras/demo/txns/.gitignore.bak: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/extras/demo/txns/.gitignore.bak -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/codenet-minerva-cargo/HEAD/setup.py --------------------------------------------------------------------------------