Git Product home page Git Product logo

soot-dataflow-analysis's Introduction

Soot data-flow analysis

This repo consists of some Soot data-flow analysis.

In order to run any of the analysis, one has to compile the desired one with Maven, from the root folder of this repository:

mvn clean package

This will run all tests, and build all analysis, producing a jar named zero-analysis-1.0-SNAPSHOT-jar-with-dependencies.jar, for example.

To run any of the analysis, use the following command, turning on the corresponding phase (for this ones, check the analysis title):

java -jar sensible-data-leak-detector/target/sensible-data-leak-detector-1.0-SNAPSHOT-jar-with-dependencies.jar 
    -keep-line-number 
     -f J 
     -v -pp 
     -cp sensible-data-leak-detector/target/test-classes:sensible-data-leak-detector/target/classes 
     -print-tags 
     -p jtp.SensibleData on 
     soot.analyzables.TestMain

Analysis

Other modules

There are some other modules inside this repository, for example:

  • Utils: Contains some cross-analysis classes, like ValueVisitor<T>.
  • Analysis Parent POM: Maven's parent pom for any analysis. Contains plugins in the build and package phase useful for packing all dependencies, and setting the main class.

soot-dataflow-analysis's People

Contributors

thepalbi avatar dependabot[bot] avatar

Stargazers

Roman avatar EchoLogic avatar

Watchers

James Cloos avatar  avatar

soot-dataflow-analysis's Issues

同学,您这个项目引入了78个开源组件,存在32个漏洞,辛苦升级一下

检测到 thepalbi/soot-dataflow-analysis 一共引入了78个开源组件,存在32个漏洞

漏洞标题:SnakeYAML 安全漏洞
缺陷组件:org.yaml:[email protected]
漏洞编号:CVE-2017-18640
漏洞描述:SnakeYAML是一款基于Java的YAML解析器。
SnakeYAML 1.18版本中的Alias功能存在安全漏洞。攻击者可利用该漏洞造成拒绝服务。
国家漏洞库信息:https://www.cnvd.org.cn/flaw/show/CNVD-2020-22682
影响范围:(∞, 1.26)
最小修复版本:1.26
缺陷组件引入路径:app:[email protected]>org.yaml:[email protected]

另外还有32个漏洞,详细报告:https://mofeisec.com/jr?p=i155c9

java.io.IOException: Cannot run program "souffle": error=2, 没有那个文件或目录

Hello! I am very interested in this project. I cloned the project to my local, but when running the command $mvn clean install, I encountered some problems in building this project, so I really hope to get your help.

My operating environment is:
(1)linux:
Ubuntu18
(2)java:
java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode)
(3)mvn:
Apache Maven 3.8.3 (ff8e977a158738155dc465c6a97ffaf31982d739)
Maven home: /usr/local/apache-maven-3.8.3
Java version: 1.8.0_261, vendor: Oracle Corporation, runtime: /opt/jdk1.8.0_261/jre
Default locale: zh_CN, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-89-generic", arch: "amd64", family: "unix"

The problems I encountered are described below:
(1)The first time i run the command, prompted with a path error
Error: The path '/Users/thepalbi/Facultad/aap/souffle-points-to-analysis/ModuleUnderTest/target/classes' does not exist.
image
So I changed the path to the location of the project was cloned in the file of ~/souffle-points-to-analysis/src/test/java/wtf/thepalbi/PointsToAnalysisTests.java(:39)
image

(2)The second time i run the command, prompted with a ‘File or directory not found’error.
image

(3)I guess it's a lack of files like PointToAnalysis.java, I copied PointToAnalysis.java to PointsToAnalysisTests.java directory,but it didn't solve the error.

So I want to know what files or directories are missing, and What caused this error?

I sincerely hope to get your reply as soon as possible. Thanks!!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.