Package jadx.plugins.input.dex
Class DexFileLoader
java.lang.Object
jadx.plugins.input.dex.DexFileLoader
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncollectDexFiles(List<Path> pathsList) collectDexFromZip(File file) private static intprivate static booleanisStartWithBytes(byte[] fileMagic, byte[] expectedBytes) load(@Nullable File file, InputStream inputStream, String fileName) loadDexFromFile(File file) loadDexReader(String fileName, byte[] content) Deprecated.loadDexReaders(String fileName, byte[] content) loadFromZipEntry(byte[] content, String fileName) private DexReaderloadSingleDex(String fileName, byte[] content, int offset) private static byte[]private static voidvoidsetZipReader(ZipReader zipReader)
-
Field Details
-
LOG
private static final org.slf4j.Logger LOG -
dexUniqId
private static int dexUniqId -
options
-
zipReader
-
-
Constructor Details
-
DexFileLoader
-
-
Method Details
-
setZipReader
-
collectDexFiles
-
loadDexFromFile
-
load
private List<DexReader> load(@Nullable @Nullable File file, InputStream inputStream, String fileName) throws IOException - Throws:
IOException
-
loadFromZipEntry
-
loadDexReaders
-
loadSingleDex
-
loadDexReader
Deprecated.Since DEX v41, several sub DEX structures can be stored inside container of a single DEX file UseloadDexReaders(String, byte[])instead. -
collectDexFromZip
-
isStartWithBytes
private static boolean isStartWithBytes(byte[] fileMagic, byte[] expectedBytes) -
readAllBytes
- Throws:
IOException
-
getNextUniqId
private static int getNextUniqId() -
resetDexUniqId
private static void resetDexUniqId()
-