Package org.jf.baksmali
Class DumpCommand
- java.lang.Object
-
- org.jf.util.jcommander.Command
-
- org.jf.baksmali.DexInputCommand
-
- org.jf.baksmali.DumpCommand
-
public class DumpCommand extends DexInputCommand
-
-
Field Summary
-
Fields inherited from class org.jf.baksmali.DexInputCommand
apiLevel, dexEntry, dexFile, inputEntry, inputFile, inputList
-
-
Constructor Summary
Constructors Constructor Description DumpCommand(java.util.List<com.beust.jcommander.JCommander> commandAncestors)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voiddump(org.jf.dexlib2.dexbacked.DexBackedDexFile dexFile, java.io.OutputStream output)Writes an annotated hex dump of the given dex file to output.voidrun()-
Methods inherited from class org.jf.baksmali.DexInputCommand
loadDexFile
-
-
-
-
Method Detail
-
run
public void run()
- Specified by:
runin classorg.jf.util.jcommander.Command
-
dump
public static void dump(@Nonnull org.jf.dexlib2.dexbacked.DexBackedDexFile dexFile, @Nonnull java.io.OutputStream output) throws java.io.IOExceptionWrites an annotated hex dump of the given dex file to output.- Parameters:
dexFile- The dex file to dumpoutput- An OutputStream to write the annotated hex dump to. The caller is responsible for closing this when needed.- Throws:
java.io.IOException
-
-