The Bytecode Club
Log inJoin the club
Programming

Java Bytecode Viewer

Started by Konloch · Oct 5, 2014

23 replies551,743 viewsPinned
Oct 11, 2014#11

Fucking hawt.

Oct 11, 2014#12

Fucking hawt.

Glad you like it! :D

Oct 11, 2014#13

10/11/2014 - Modified the FernFlower library, it no longer spits out System.out.println's while processing a method, this has sped it up quite a lot.

Oct 14, 2014#14

10/14/2014 - Added the option 'exact' to the class finder.
10/14/2014 - Added the option 'exact' to the searcher, now it'll search for .contains when unselected.
10/14/2014 - Stopped the use of StringBuffer, replaced all instances with StringBuilder.
10/14/2014 - Added Labels and Try-Catch blocks to the Bytecode Decompiler.

Oct 15, 2014#15

updated op

Oct 19, 2014#16

Nice utility, but, unfortunately, there is a little bug in decompilation in Linux - FernFlower fails to make source file because of wrong temporary directory name. Backslash is hardcoded and that works correctly in Windows, but in Linux, file separator is forward slash, so, because of hardcoded temporary directory name, we get filename like bcv_temp\temp0.java which FernFlower couldn't handle.

Quick and dirty patch is changing line 132: in BytecodeViewer.java file from:

public static String tempDirectory = "bcv_temp\\";

to

public static String tempDirectory = "bcv_temp"+System.getProperty("file.separator");
Oct 20, 2014#17

Nice utility, but, unfortunately, there is a little bug in decompilation in Linux - FernFlower fails to make source file because of wrong temporary directory name. Backslash is hardcoded and that works correctly in Windows, but in Linux, file separator is forward slash, so, because of hardcoded temporary directory name, we get filename like bcv_temp\temp0.java which FernFlower couldn't handle.

Quick and dirty patch is changing line 132: in BytecodeViewer.java file from:

public static String tempDirectory = "bcv_temp\\";

to

public static String tempDirectory = "bcv_temp"+System.getProperty("file.separator");

Cheers, sorry about that, I'll go fix that and push an update.

Oct 20, 2014#18

Pushed 1.1 and 1.2 today, 1.1 fixes the file separator issue, 1.2 adds 2 more Java decompilers (Procyon and CFR).

Oct 20, 2014#19

Pushed 1.1 and 1.2 today, 1.1 fixes the file separator issue, 1.2 adds 2 more Java decompilers (Procyon and CFR).

Hot, will check it out.

Also on a side note do smilies work, I attempted to use the amazing high five one and nothing happened.

Oct 21, 2014#20

mibbzz wrote:

konloch wrote:

Pushed 1.1 and 1.2 today, 1.1 fixes the file separator issue, 1.2 adds 2 more Java decompilers (Procyon and CFR).

Hot, will check it out.

Also on a side note do smilies work, I attempted to use the amazing high five one and nothing happened.

😎 yes

Got something to add?

Log in to post a reply.

Join the conversation