Skip to content

Commit

Permalink
Released Beta 1.5.1
Browse files Browse the repository at this point in the history
11/2/2014 - Fixed a CFR issue with packages.
  • Loading branch information
Konloch committed Nov 3, 2014
1 parent c319132 commit cf1e93c
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 18 deletions.
Binary file added BytecodeViewer Beta 1.5.1.jar
Binary file not shown.
4 changes: 3 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,6 @@ Changelog:
11/1/2014 - Updated and improved the search function, it now prints out more useful information.
11/1/2014 - Fixed a UI issue with the Replace All Strings plugin.
11/2/2014 - Added search function to the Class Viewer.
11/2/2014 - Updated Procyon to procyon-decompiler-0.5.27.
11/2/2014 - Updated Procyon to procyon-decompiler-0.5.27.
--- Beta 1.5.1 ---:
11/2/2014 - Fixed a CFR issue with packages.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Beta 1.5
Beta 1.5.1
4 changes: 3 additions & 1 deletion src/the/bytecode/club/bytecodeviewer/BytecodeViewer.java
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@
* 11/1/2014 - Fixed a UI issue with the Replace All Strings plugin.
* 11/2/2014 - Added search function to the Class Viewer.
* 11/2/2014 - Updated Procyon to procyon-decompiler-0.5.27.
* ----Beta 1.5.1-----:
* 11/2/2014 - Fixed a CFR issue with packages.
*
* @author Konloch
*
Expand All @@ -170,7 +172,7 @@ public class BytecodeViewer {
public static String fs = System.getProperty("file.separator");
public static String nl = System.getProperty("line.separator");
public static String tempDirectory = "bcv_temp";
public static String version = "Beta 1.5";
public static String version = "Beta 1.5.1";

public static void main(String[] args) {
cleanup();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,8 @@ public String decompileClassNode(ClassNode cn) {
tempClass.delete();


for(File outputJava : new File(fuckery).listFiles()) {
String s;
try {
s = DiskReader.loadAsString(outputJava.getAbsolutePath());

outputJava.delete();

return s;
} catch (Exception e) {
e.printStackTrace();
}
}
return "CFR error! Send the stacktrace to Konloch at http://the.bytecode.club or konloch@gmail.com";
return findFile(new File(fuckery).listFiles());

}

Random r = new Random();
Expand All @@ -83,6 +72,24 @@ public String fuckery(String start) {
return null;
}

public String findFile(File[] fA) {
for(File f : fA) {
if(f.isDirectory())
return findFile(f.listFiles());
else {
String s = "";
try {
s = DiskReader.loadAsString(f.getAbsolutePath());
} catch(Exception e) {
e.printStackTrace();
return "CFR error! Send the stacktrace to Konloch at http://the.bytecode.club or konloch@gmail.com";
}
return s;
}
}
return "CFR error! Send the stacktrace to Konloch at http://the.bytecode.club or konloch@gmail.com";
}

public String[] generateMainMethod(String filePath, String outputPath) {
return new String[] {
filePath,
Expand Down
2 changes: 0 additions & 2 deletions src/the/bytecode/club/bytecodeviewer/gui/SearchingPane.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
import javax.swing.tree.TreeNode;
import javax.swing.tree.TreePath;

import org.objectweb.asm.tree.AbstractInsnNode;
import org.objectweb.asm.tree.ClassNode;
import org.objectweb.asm.tree.MethodNode;

import the.bytecode.club.bytecodeviewer.*;
import the.bytecode.club.bytecodeviewer.searching.*;
Expand Down

0 comments on commit cf1e93c

Please sign in to comment.