Skip to content

LinearOpaqueConstantFoldingTransformer fail when processing a specific edge case #945

Description

@luiox

recaf version: 4.0.0

Describe the bug

The LinearOpaqueConstantFoldingTransformer fails when processing a specific edge case. Instead of handling it gracefully, it attempts to process and occur an error.

To Reproduce

Steps to reproduce the behavior:

  1. Open sample 'sample.class', this file is in the 'sample.zip'
  2. Open the deobfuscate window
  3. Use LinearOpaqueConstantFoldingTransformer
  4. the decompiler will repot that this transformer make the bytecode error

Screenshots

the origin class

Image

after transform

Image

sample.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugYup, thats broken

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions