Package soot.dexpler
Class DexlibWrapper
- java.lang.Object
-
- soot.dexpler.DexlibWrapper
-
public class DexlibWrapper extends Object
DexlibWrapper provides an entry point to the dexlib library from the smali project. Given a dex file, it will use dexlib to retrieve all classes for further processing A call to getClass retrieves the specific class to analyze further.
-
-
Constructor Summary
Constructors Constructor Description DexlibWrapper(File dexSource)Construct a DexlibWrapper from a dex file and stores its classes referenced by their name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DexClassLoadercreateDexClassLoader()Allow custom implementations to use different class loading strategies.voidinitialize()IInitialResolver.DependenciesmakeSootClass(SootClass sc, String className)
-
-
-
Constructor Detail
-
DexlibWrapper
public DexlibWrapper(File dexSource)
Construct a DexlibWrapper from a dex file and stores its classes referenced by their name. No further process is done here.
-
-
Method Detail
-
createDexClassLoader
protected DexClassLoader createDexClassLoader()
Allow custom implementations to use different class loading strategies. Do not remove this method.- Returns:
-
initialize
public void initialize()
-
makeSootClass
public IInitialResolver.Dependencies makeSootClass(SootClass sc, String className)
-
-