Questions tagged [soot]

Soot is an open source Java optimization framework.

Soot is an open source Java optimization framework that provides different intermediate representations for Java bytecode. Besides optimization, Soot can be used for static analyses and bytecode manipulation.

GitHub home page @ github.com
Legacy home page @ sable.mcgill.ca

131 questions
0
votes
1 answer

Using soot for Android Intent analysis

I need to analyze various android apks, find methods that execute intents and then get the action name of the intent like "ACTION_VIEW" etc. I was able to retrieve all relevant methods like startActivity(), startActivityForResult() and onCreate().…
0
votes
1 answer

define integer local with soot library

I want to define Local with Integer type in soot library.I try to define local with this command Local intLocal=Jimple.v().newLocal("intLocal",RefType.v("java.lang.Integer")); IdentityStmt…
JachobTailor
  • 107
  • 11
0
votes
1 answer

Ambiguous method call. Both add(Unit) in Patchingchain and add(Unit) in AbstractCollection match"

Hi I run the code which has these instructions in intellij idea SootClass c = Scene.v().loadClassAndSupport(name); final Body b = Jimple.v().newBody(m); PatchingChain units = b.getUnits(); LocalGenerator locGen = new…
jody abbot
  • 303
  • 2
  • 15
0
votes
1 answer

invalid item 'jasmin' and heros in the dependencies list For soot

I want to build soot with intellj so I follow the instruction of "Building Soot with IntelliJ IDEA" in github. after I done step 5 I should resolve jasmine and heros dependency problem but I have this condition in dialogue box and I see in problem…
jody abbot
  • 303
  • 2
  • 15
0
votes
1 answer

Instrumenting Android app with Soot: Phantom Android classes

I am having some trouble instrumenting an Android app using Soot. Specifically, I am unable to load the android.util.Log class. I am suspecting that the android jar file is not loaded properly. I have the latest nightly build version of Soot and use…
0
votes
1 answer

Soot:Invalid option -android-jars

While I wanted to run soot using the option -android-jars from command line, I got the error "Invalid option". I downloaded the soot source code (sootall-2.5.0) from https://www.sable.mcgill.ca/soot/soot_download.html, and I built the project in…
zombie
  • 13
  • 1
  • 7
0
votes
1 answer

the soot-based flowdroid with an exception error when test an APK

I am trying to test the broadcast receiver component in an android application based on the taint analysis. However, when i am using the frowdroid to test the related application, it shows: Exception in thread "main" java.lang.NoSuchMethodError:…
Field.D
  • 158
  • 1
  • 1
  • 9
0
votes
1 answer

Android APK control flow graph with soot

I'm trying to make a control flow graph with the soot API from an Android APK. I have read a lot but i feel a little bit helpless how to start from scratch. I'm using a nighty build of soot (downloaded here:…
dju
  • 129
  • 4
  • 18
0
votes
1 answer

Compare the call graph of two apk files using soot

I am trying to make a program that will Take an apk file as input Convert it into dalvik byte code than later from dalvik bytecode to jimple Will generate the call graph of the program Process the call graph of a Program and will try to match it…
mjennet
  • 75
  • 1
  • 10
0
votes
1 answer

Call graph of apk using JAVA program

I want to create a JAVA program that takes apk files(present in the computer) as input and than return its call graph as output. I want to do it on windows platform and write the program in JAVA Please suggest some ways to do so. I read about soot,…
mjennet
  • 75
  • 1
  • 10
0
votes
0 answers

SOOT ForwardFlowanalysis

I am new to soot, and I started to write a class which extends ForwardFlowAnalysis. In my main function, I want to new a ForwardFlowAnalysis obj by using a constructor. But seems like the constructor is not executed for some reason, as a result only…
0
votes
1 answer

How do I install SOOT?

I am using Ubuntu 14.04 and I want to install SOOT. Can somebody help me how to do that? Is there any plugin for IntelliJIDEA for this? Do I have to download the whole source code for this from git hub?
Vipin Verma
  • 5,330
  • 11
  • 50
  • 92
0
votes
1 answer

Soot analysis for member fields access

i would like to know if soot is able to analysis member field access? For example, if A accessed member fields of B, is soot able to detect this? And determine the name of the class for those members which were accessed in B.
Winston
  • 63
  • 1
  • 6
0
votes
1 answer

Why is Soot always saying That the class I want to load is a phantom class, even when it does not exist

This soot class loads a class and prints the number of methods. When I give the correct name of the class I want to load it says that the class is phantom. Also when the class does not exist it gives the same message. I do not know what I am doing…
0
votes
1 answer

Java SOOT framework: Does SOOT support anonymous Threads?

Has anyone used SOOT framework to work with anonymous Threads? I have tried but soot does not seem to recognize the function definitions inside anonymous Threads.
Neo
  • 3,465
  • 5
  • 26
  • 37
1 2 3
8
9