forked from ItzSomebody/stopdecompilingmyjava
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove stupid scoring and tidy up entries
- Loading branch information
1 parent
6028abb
commit 96083da
Showing
14 changed files
with
315 additions
and
323 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,47 @@ | ||
# entry-001 | ||
Modifies MANIFEST.MF byte headers by setting jar archive byte offsets of 0x6 | ||
Modifies MANIFEST.MF byte headers by setting JAR archive byte offsets of 0x6 | ||
and 0x7 to 0x0 and 0x8 to 0x8. | ||
|
||
## Bytecode-Viewer | ||
Bytecode-Viewer crashes upon trying to load the jar entries. | ||
|
||
#### Scoring | ||
Consistency: 10 | ||
Practicality: 7 | ||
Total score: 0.85 | ||
Bytecode-Viewer crashes upon attempting to load the JAR entries. Crash log: | ||
``` | ||
java.util.zip.ZipException: invalid entry size (expected 0 but got 443 bytes) | ||
at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:384) | ||
at java.util.zip.ZipInputStream.read(ZipInputStream.java:196) | ||
at java.io.FilterInputStream.read(FilterInputStream.java:107) | ||
at the.bytecode.club.bytecodeviewer.util.JarUtils.getBytes(JarUtils.java:175) | ||
at the.bytecode.club.bytecodeviewer.util.JarUtils.put(JarUtils.java:65) | ||
at the.bytecode.club.bytecodeviewer.BytecodeViewer$6.run(BytecodeViewer.java:849) | ||
java.util.zip.ZipException: invalid entry size (expected 0 but got 443 bytes) | ||
at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:384) | ||
at java.util.zip.ZipInputStream.read(ZipInputStream.java:196) | ||
at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:140) | ||
at the.bytecode.club.bytecodeviewer.util.JarUtils.put(JarUtils.java:86) | ||
at the.bytecode.club.bytecodeviewer.BytecodeViewer$6.run(BytecodeViewer.java:849) | ||
``` | ||
|
||
#### Patch Date | ||
2019-04-17 | ||
|
||
## Helios | ||
Helios crashes upon trying to load the jar entries. | ||
|
||
#### Scoring | ||
Consistency: 10 | ||
Practicality: 7 | ||
Total score: 0.85 | ||
Helios crashes upon trying to load the JAR entries. Crash log: | ||
``` | ||
java.util.zip.ZipException: invalid entry size (expected 0 but got 443 bytes) | ||
at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:384) | ||
at java.util.zip.ZipInputStream.read(ZipInputStream.java:196) | ||
at java.io.FilterInputStream.read(FilterInputStream.java:107) | ||
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2146) | ||
at org.apache.commons.io.IOUtils.copy(IOUtils.java:2102) | ||
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2123) | ||
at org.apache.commons.io.IOUtils.copy(IOUtils.java:2078) | ||
at org.apache.commons.io.IOUtils.toByteArray(IOUtils.java:721) | ||
at com.heliosdecompiler.helios.controller.files.OpenedFile.readQuick(OpenedFile.java:115) | ||
at com.heliosdecompiler.helios.controller.files.OpenedFile.reset(OpenedFile.java:69) | ||
at com.heliosdecompiler.helios.controller.files.OpenedFile.<init>(OpenedFile.java:53) | ||
at com.heliosdecompiler.helios.controller.files.OpenedFileController.lambda$openFile$0(OpenedFileController.java:54) | ||
at com.heliosdecompiler.helios.controller.backgroundtask.BackgroundTask.run(BackgroundTask.java:45) | ||
at java.lang.Thread.run(Thread.java:748) | ||
``` | ||
|
||
#### Patch Date | ||
N/A | ||
N/A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
# entry-003 | ||
Sets the path of a class to META-INF/\u0000/ which is a method of hiding classes against file | ||
archivers popularized by samczsun. According to samczsun, this also causes issues with Java 7, | ||
so you were warned. | ||
Prepends META-INF/\u0000/ to the start of a class name which is a method of hiding classes against file | ||
archivers popularized by samczsun. However, this trick is incompatible with Java 7, and any Java version above 9. | ||
|
||
## Non-Java Archivers | ||
Non-Java archivers (7zip, WinRAR, Windows, etc.) are unable to display the classes. | ||
|
||
#### Scoring | ||
Consistency: 10 | ||
Practicality: 6 | ||
Total score: 0.80 | ||
|
||
#### Patch Date | ||
N/A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,12 @@ | ||
# entry-006 | ||
Presents a primitive integer as an Object to a bootstrap method parameter via an invokedynamic opcode. | ||
Presents a primitive integer as an Object to a bootstrap method parameter via an invokedynamic opcode. Example of reproduction via OW2's ASM library. | ||
|
||
```java | ||
methodVisitor.visitInvokeDynamicInsn("example", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;", bsm, 1); | ||
``` | ||
|
||
## CFR | ||
CFR fails on decompiling the methods and leaves a relevant error in the method body. | ||
|
||
#### Scoring | ||
Consistency: 10 | ||
Practicality: 5 | ||
Decompiler Inaccuracy: 5 | ||
Total score: 0.67 | ||
CFR fails on decompiling the methods with said invokedynamic present and leaves a relevant error in the method body. | ||
|
||
#### Patch Date | ||
2018-12-14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,11 @@ | ||
# entry-007 | ||
Wraps the handler type class name with `L` and `;` as found | ||
[here](https://github.com/ItzSomebody/Radon/pull/60). This is verified to cause | ||
Java 11 to refuse to load the class. Known to work all the way up to Java 8 | ||
(1.8.0_201). | ||
Java 9+ to refuse to load the class. Known to work completely fine Java 8. | ||
|
||
## Krakatau | ||
Krakatau is unable to decompile the method due to it not being able to find the | ||
handler class. | ||
|
||
#### Scoring | ||
Consistency: 10 | ||
Practicality: 3 | ||
Decompiler Inaccuracy: 5 | ||
Total score: 0.60 | ||
|
||
#### Patch Date | ||
2019-6-11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.