vimasig / Bozar

Java bytecode obfuscator with GUI
MIT License
158 stars 22 forks source link

Constant obfuscation failing #4

Closed KalioCraft closed 3 years ago

KalioCraft commented 3 years ago

Describe the bug When I try to obfuscate my project, everything looks fine in the decomplimiler, but I noticed that there are too few classes, and that showed. NoClassDefFoundError: It did not find the utils package. (No Renamer, No Shuffle)

To Reproduce Steps to reproduce the behavior.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Bozar version v1.5

Additional context Add any other context about the problem here.

vimasig commented 3 years ago

Do you get any errors in the console? Which obfuscation option(s) is/are causing that issue? Can you give me more information to reproduce that?

KalioCraft commented 3 years ago

Hey! Here are the Screenshots: Error Setting2 Setting1

vimasig commented 3 years ago

It looks like Flow/Constant obfuscation (one of them or both) causing unprocessable frames. But I need more information to find the cause. I'll release an update that will produce detailed errors. Maybe we can get enough information from that.

KalioCraft commented 3 years ago

So, I've tested a bit here, and unfortunately I can't give you more information: The class Obfuscation does not work at all: An exception comes: TypeNotPresentException: Type Cp not present in the class: Bozar.java (130) or Controller.java (120). The Flow Obfuscation works, but the Constant Obfuscation doesn't, I hope this helps you! LG

vimasig commented 3 years ago

Can you test v1.6 and share the output? Hope we can get more detailed errors.

KalioCraft commented 3 years ago

The bug is still there: The console is spammed with "Cannot process class": Unbenannt

vimasig commented 3 years ago

Can you run Bozar with this command line to print the output to a file and send me that?

Windows (using CMD):

Bozar.exe > output.txt 2>&1

Linux (using Terminal):

Bozar.run > output.txt 2>&1

Don't forget to navigate to the Bozar path using cd <bozar_path> command first

vimasig commented 3 years ago

Assuming you fixed the problem