Multiple Dex Support

- CS fixes
 - added decode support for multiple dexes
 - decoded to smali_[dex name]
This commit is contained in:
Connor Tumbleson
2014-08-15 20:24:12 -05:00
parent a7b06f161b
commit 70eaab9971
3 changed files with 101 additions and 40 deletions

View File

@ -30,6 +30,7 @@ import java.io.IOException;
import java.util.HashMap;
import java.util.logging.*;
import brut.directory.DirectoryException;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.HelpFormatter;
@ -187,6 +188,9 @@ public class Main {
} catch (IOException ex) {
System.err.println("Could not modify file. Please ensure you have permission.");
System.exit(1);
} catch (DirectoryException ex) {
System.err.println("Could not modify internal dex files. Please ensure you have permission.");
System.exit(1);
}
}