Released Beta 1.5.1
11/2/2014 - Fixed a CFR issue with packages.
This commit is contained in:
parent
c31913265b
commit
cf1e93ccd3
BIN
BytecodeViewer Beta 1.5.1.jar
Normal file
BIN
BytecodeViewer Beta 1.5.1.jar
Normal file
Binary file not shown.
|
@ -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.
|
|
@ -152,6 +152,8 @@ import the.bytecode.club.bytecodeviewer.plugins.PluginManager;
|
|||
* 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
|
||||
*
|
||||
|
@ -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();
|
||||
|
|
|
@ -55,19 +55,8 @@ public class CFRDecompiler extends JavaDecompiler {
|
|||
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();
|
||||
|
@ -83,6 +72,24 @@ public class CFRDecompiler extends JavaDecompiler {
|
|||
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,
|
||||
|
|
|
@ -21,9 +21,7 @@ import javax.swing.tree.DefaultMutableTreeNode;
|
|||
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.*;
|
||||
|
|
Loading…
Reference in New Issue
Block a user