Skip to content

Installation

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
<dependencies>
 <dependency>
   <groupId>org.soot-oss</groupId>
   <artifactId>sootup.core</artifactId>
   <version>1.1.2</version>
 </dependency>
 <dependency>
  <groupId>org.soot-oss</groupId>
  <artifactId>sootup.java.core</artifactId>
  <version>1.1.2</version>
 </dependency>
 <dependency>
  <groupId>org.soot-oss</groupId>
  <artifactId>sootup.java.sourcecode</artifactId>
  <version>1.1.2</version>
 </dependency>
 <dependency>
  <groupId>org.soot-oss</groupId>
  <artifactId>sootup.java.bytecode</artifactId>
  <version>1.1.2</version>
 </dependency>
 <dependency>
  <groupId>org.soot-oss</groupId>
  <artifactId>sootup.jimple.parser</artifactId>
  <version>1.1.2</version>
 </dependency>
 <dependency>
  <groupId>org.soot-oss</groupId>
  <artifactId>sootup.callgraph</artifactId>
  <version>1.1.2</version>
 </dependency>
 <dependency>
  <groupId>org.soot-oss</groupId>
  <artifactId>sootup.analysis</artifactId>
  <version>1.1.2</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
compile "org.soot-oss:sootup.core:"
compile "org.soot-oss:sootup.java.core"
compile "org.soot-oss:sootup.java.sourcecode"
compile "org.soot-oss:sootup.java.bytecode"
compile "org.soot-oss:sootup.jimple.parser"
compile "org.soot-oss:sootup.callgraph"
compile "org.soot-oss:sootup.analysis"

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