Package sootup.apk.frontend.dexpler
Class DexFileProvider
java.lang.Object
sootup.apk.frontend.dexpler.DexFileProvider
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
DexFileProvider.DexContainer<T extends org.jf.dexlib2.iface.DexFile>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallSourcesFromFile
(File dexSource) List<DexFileProvider.DexContainer<? extends org.jf.dexlib2.iface.DexFile>>
getDexFromSource
(File dexSource, int api_version) Returns all dex files found in dex sourceList<DexFileProvider.DexContainer<? extends org.jf.dexlib2.iface.DexFile>>
getDexFromSource
(File dexSource, Comparator<DexFileProvider.DexContainer<? extends org.jf.dexlib2.iface.DexFile>> prioritizer) static DexFileProvider
-
Constructor Details
-
DexFileProvider
public DexFileProvider()
-
-
Method Details
-
getInstance
-
getDexFromSource
public List<DexFileProvider.DexContainer<? extends org.jf.dexlib2.iface.DexFile>> getDexFromSource(File dexSource, int api_version) throws IOException Returns all dex files found in dex source- Parameters:
dexSource
- Path to a jar, apk, dex, odex or a directory containing multiple dex filesapi_version
- the version of the currently instrumenting APK- Returns:
- List of dex files derived from source
- Throws:
IOException
- if the dex source is not parsed properly
-
getDexFromSource
public List<DexFileProvider.DexContainer<? extends org.jf.dexlib2.iface.DexFile>> getDexFromSource(File dexSource, Comparator<DexFileProvider.DexContainer<? extends org.jf.dexlib2.iface.DexFile>> prioritizer) throws IOException - Throws:
IOException
-
allSourcesFromFile
-