Software Engineering Group

Soot Tutorial

Setup

Available Versions

Soot is available in two versions: the official release version and the trunk version:

Current official release version: 2.5.0 (release year: 2005)

Current trunk version: ? (last modification: few days ago)

Command line call

For version 2.5.0

java -cp *soot-jar*;*classes-to-analyze*;*libraries*; soot.Main *main-class*

If the following error occurs then you do not use the version 2.5.0, but the trunk version:

soot.SootResolver$SootClassNotFoundException: couldn't find class: ...

For trunk version

java -cp *soot-jar*; soot.Main -cp *classes-to-analyze*;*libraries*; -pp soot.Main *main-class*

If the following error occurs then you compiled the *classes-to-analyze* with a different java version than you use to execute the command above.

Unknown tag in constant pool: *a number* at entry *another number* Exception in thread "main" java.lang.RuntimeException: Could not load classfile: java.lang.CharSequence

 

Command line arguments

Overview: https://ssebuild.cased.de/nightly/soot/doc/soot_options.htm

Example Eclipse project

gitlab URL: https://build.se.informatik.uni-kiel.de/gitlab/chw/SootTutorial

Official, but incomplete setup description

https://github.com/Sable/soot/wiki/Running-Soot

Upcoming Events

Research Projects

  • more...

     ExplorVizLogo160x37[1].png    iobserve-logo-small    logo-science20

     

    Future-Ocean-logo    kieker-logo       PubFlow

     

    teetime-logo  HOSST_Banner.jpg  CloudM!G 

Teaching