public class DexResolver extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<File,DexlibWrapper> |
cache |
| Constructor and Description |
|---|
DexResolver(Singletons.Global g) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
addSourceFileTag(SootClass sc,
String fileName)
adds source file tag to each sootclass
|
protected DexlibWrapper |
initializeDexFile(File file)
Initializes the dex wrapper for the given dex file
|
IInitialResolver.Dependencies |
resolveFromFile(File file,
String className,
SootClass sc)
Resolve the class contained in file into the passed soot class.
|
static DexResolver |
v() |
protected Map<File,DexlibWrapper> cache
public DexResolver(Singletons.Global g)
public static DexResolver v()
public IInitialResolver.Dependencies resolveFromFile(File file, String className, SootClass sc)
file - the path to the dex/apk file to resolveclassName - the name of the class to resolvesc - the soot class that will represent the classprotected DexlibWrapper initializeDexFile(File file)
file - The dex file to loadCopyright © 2020 Soot OSS. All rights reserved.