Skip to content

Installation

Using the latest version on the develop branch

visit SootUp on Jitpack.io for configuration options of your build tool.

Using the release

SootUp is available in maven central, you can include it in your project as follows.

Below we only show how you can add the SootUp modules to your project. It is not necessary to add all the modules as dependency. Depending on your needs you can import only the modules you need. Take a look at the Modules to learn more about which modules you might need.

Maven

Add the following dependency in the pom.xml file of your project to include all SootUp modules into your project.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<repositories>
 <repository>
  <id>jitpack.io</id>
  <url>https://jitpack.io</url>
 </repository>
 <repository>
  <id>/maven.google.com</id>
  <url>https://maven.google.com</url>
 </repository>
</repositories>

<dependencies>
 <dependency>
   <groupId>org.soot-oss</groupId>
   <artifactId>sootup.core</artifactId>
   <version>1.2.0</version>
 </dependency>
 <dependency>
  <groupId>org.soot-oss</groupId>
  <artifactId>sootup.java.core</artifactId>
  <version>1.2.0</version>
 </dependency>
 <dependency>
  <groupId>org.soot-oss</groupId>
  <artifactId>sootup.java.sourcecode</artifactId>
  <version>1.2.0</version>
 </dependency>
 <dependency>
  <groupId>org.soot-oss</groupId>
  <artifactId>sootup.java.bytecode</artifactId>
  <version>1.2.0</version>
 </dependency>
 <dependency>
  <groupId>org.soot-oss</groupId>
  <artifactId>sootup.jimple.parser</artifactId>
  <version>1.2.0</version>
 </dependency>
 <dependency>
  <groupId>org.soot-oss</groupId>
  <artifactId>sootup.callgraph</artifactId>
  <version>1.2.0</version>
 </dependency>
 <dependency>
  <groupId>org.soot-oss</groupId>
  <artifactId>sootup.analysis</artifactId>
  <version>1.2.0</version>
 </dependency>
</dependencies>

Gradle

Add the following dependency in the build.gradle file of your project to include all SootUp modules into your project.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
repositories {
    mavenCentral()
    google()
    maven {
        url "https://jitpack.io"
    }
}

compile "org.soot-oss:sootup.core:1.2.0"
compile "org.soot-oss:sootup.java.core1.2.0"
compile "org.soot-oss:sootup.java.sourcecode1.2.0"
compile "org.soot-oss:sootup.java.bytecode1.2.0"
compile "org.soot-oss:sootup.jimple.parser1.2.0"
compile "org.soot-oss:sootup.callgraph1.2.0"
compile "org.soot-oss:sootup.analysis1.2.0"

Building from Source

Build from source if you'd like to get the most recent changes. You can download the project as a zip file, or clone it using your favorite git client app or the command line:

1
git clone https://github.com/secure-software-engineering/SootUp.git

SootUp is a maven project. You can import it into your favorite IDE as a maven project. Run maven clean and install tasks using your IDE's maven plugin to set up the project.

Alternatively, you can execute the following command in the project directory:

1
mvn install

Or if you want to skip tests while building:

1
mvn -Dskiptests install