Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added two more deobfuscator options, refactored options and more #81

Merged

Conversation

EpicPlayerA10
Copy link
Collaborator

Made deobfuscator options globally available via Context class

Refactored how deobfuscator options where stored. I splitted it into DeobfuscatorOptions and DeobfuscatorOptions.Builder classes. This allowed make it available in Context class and be able to use them outside deobfuscator-impl module.

Added two options: suppressErrors and verifyBytecode

  • suppressErrors (default: false, but set to true in Bootstrap) - From now when some transformer fail, then it stops further execution. This behaviour is required for tests to fail if some transformer will fail to run. Using this option, we can prevent this behaviour and allow further execution.
  • verifyBytecode (default: false) - This option verifies bytecode after every transformer run. Useful when debugging which transformer broke bytecode and what exacly.

Other changes

  • Added more tests to universal number transformer

@narumii narumii merged commit 86606c0 into narumii:master Aug 27, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants