Skip to content

Commit 3784629

Browse files
committed
2.9.7 release
07/02/2015 - Added ajustable font size. 07/05/2015 - Started working on the new Boot Screen. 07/06/2015 - Moved the font size to be under the view menu. 07/06/2015 - Fixed a bug with plugins not being able to grab the currently viewed class. 07/07/2015 - Started adding enjarify as an optional APK converter instead of Dex2Jar. 07/07/2015 - Finished the new Boot Screen 07/09/2015 - Fixed a process leak with krakatau decompiler. 07/09/2015 - Finished adding enjarify. 07/09/2015 - Supressed syntax exceptions due to JD-GUI. 07/09/2015 - Fixed refresh on non-refreshable resources. 07/09/2015 - Fixed opening a class and the name is so big, you cannot close because the [X] does not appear. 07/09/2015 - Added support for smaller screens for the boot screen. 07/16/2015 - Removed the FileFilter classes. 07/16/2015 - Updated the decompiler class to make more sense. 07/16/2015 - Started working on BCV CLI. 07/16/2015 - Finished BCV CLI.
1 parent fecc98f commit 3784629

17 files changed

+72
-61
lines changed

BytecodeViewer 2.9.6.jar

-25.7 MB
Binary file not shown.
1.67 MB
Binary file not shown.

README.txt

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,11 +361,28 @@ Changelog:
361361
04/21/2015 - Changed 'View Panes' to simply 'View'.
362362
--- 2.9.5 ---:
363363
05/01/2015 - Added 'pingback' for statistics (to track how many people globally use BCV)
364-
-----2.9.6-----:
364+
--- 2.9.6 ---:
365365
05/05/2015 - Fixed a typo in the about window
366366
05/28/2015 - Started importing JD-GUI Decompiler.
367367
05/28/2015 - Compile on refresh and compile on save are now enabled by default.
368368
05/28/2015 - Renamed the File>Save As options to be much more informative.
369369
06/24/2015 - Fixed a logic error with the Field & Method searchers.
370370
06/26/2015 - Updated Procyon & CFR to their latest versions.
371-
07/02/2015 - Added JD-GUI Decompiler. - Huge thanks to the guys behind JD-GUI! <3 (FIVE DECOMPILERS NOW LOL)
371+
07/02/2015 - Added JD-GUI Decompiler. - Huge thanks to the guys behind JD-GUI! <3 (FIVE DECOMPILERS NOW LOL)
372+
--- 2.9.7 ---:
373+
07/02/2015 - Added ajustable font size.
374+
07/05/2015 - Started working on the new Boot Screen.
375+
07/06/2015 - Moved the font size to be under the view menu.
376+
07/06/2015 - Fixed a bug with plugins not being able to grab the currently viewed class.
377+
07/07/2015 - Started adding enjarify as an optional APK converter instead of Dex2Jar.
378+
07/07/2015 - Finished the new Boot Screen
379+
07/09/2015 - Fixed a process leak with krakatau decompiler.
380+
07/09/2015 - Finished adding enjarify.
381+
07/09/2015 - Supressed syntax exceptions due to JD-GUI.
382+
07/09/2015 - Fixed refresh on non-refreshable resources.
383+
07/09/2015 - Fixed opening a class and the name is so big, you cannot close because the [X] does not appear.
384+
07/09/2015 - Added support for smaller screens for the boot screen.
385+
07/16/2015 - Removed the FileFilter classes.
386+
07/16/2015 - Updated the decompiler class to make more sense.
387+
07/16/2015 - Started working on BCV CLI.
388+
07/16/2015 - Finished BCV CLI.

libs/apktool_2.0.0rc4_obf.jar

-5.16 MB
Binary file not shown.

libs/apktool_2.0.1_obf.jar

4.96 MB
Binary file not shown.
File renamed without changes.

libs/fernflower2015-1.jar

629 KB
Binary file not shown.

libs/fernflower2015.jar

-607 KB
Binary file not shown.

src/the/bytecode/club/bytecodeviewer/BytecodeViewer.java

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,10 @@
8686
* add stackmapframes to bytecode decompiler
8787
* add stackmapframes remover?
8888
* make ez-injection plugin console show all sys.out calls
89-
* Command line parameter to save source
9089
* add JEB decompiler optionally, requires them to add jeb library jar externally and disable update check
91-
* add decompile as zip for krakatau-bytecode and smali for CLI
90+
* add decompile as zip for krakatau-bytecode, jd-gui and smali for CLI
91+
* fix hook inject for EZ-Injection
92+
* fix classfile searcher
9293
*
9394
* -----2.9.7-----:
9495
* 07/02/2015 - Added ajustable font size.
@@ -116,7 +117,7 @@ public class BytecodeViewer {
116117

117118
/*per version*/
118119
public static String version = "2.9.7";
119-
public static boolean previewCopy = true;
120+
public static boolean previewCopy = false;
120121
/*the rest*/
121122
public static MainViewerGUI viewer = null;
122123
public static ClassNodeLoader loader = new ClassNodeLoader(); //might be insecure due to assholes targeting BCV, however that's highly unlikely.
@@ -145,8 +146,7 @@ public class BytecodeViewer {
145146
public static boolean runningObfuscation = false;
146147
private static long start = System.currentTimeMillis();
147148
public static String lastDirectory = "";
148-
public static ArrayList<Process> krakatau = new ArrayList<Process>();
149-
public static ArrayList<Process> enjarify = new ArrayList<Process>();
149+
public static ArrayList<Process> createdProcesses = new ArrayList<Process>();
150150
public static Refactorer refactorer = new Refactorer();
151151
public static boolean pingback = false;
152152
public static boolean deleteForiegnLibraries = true;
@@ -396,10 +396,8 @@ public static void BOOT(String[] args, boolean cli) {
396396
Runtime.getRuntime().addShutdownHook(new Thread() {
397397
@Override
398398
public void run() {
399-
for(Process krakatau : krakatau)
400-
krakatau.destroy();
401-
for(Process enjarify : enjarify)
402-
enjarify.destroy();
399+
for(Process proc : createdProcesses)
400+
proc.destroy();
403401
Settings.saveGUI();
404402
cleanup();
405403
}

src/the/bytecode/club/bytecodeviewer/CommandLineInput.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ public static int parseCommandLine(String[] args) {
8282
"-decompiler <decompiler> Selects the decompiler, procyon by default",
8383
"-i <input file> Selects the input file",
8484
"-o <output file> Selects the output file",
85+
"-t <target classname> Must either be the fully qualified classname or \"all\" to decompile all as zip",
8586
"-nowait Doesn't wait for the user to read the CLI messages"
8687
})
8788
System.out.println(s);
@@ -302,7 +303,8 @@ public static void executeCommandLine(String[] args) {
302303
Thread.sleep(5 * 1000);
303304

304305
if(target.equalsIgnoreCase("all")) {
305-
Decompiler.jdgui.decompileToZip(output.getAbsolutePath());
306+
System.out.println("Coming soon.");
307+
//Decompiler.jdgui.decompileToZip(output.getAbsolutePath());
306308
} else {
307309
try {
308310
ClassNode cn = BytecodeViewer.getClassNode(target);

0 commit comments

Comments
 (0)