Skip to content

const / let support for control flow flattening #1142

Description

@dj-stormtrooper

Is your feature request related to a problem? Please describe.
Control flow flattening doesn't include nodes with let or const declarations, which makes it useless with ES6 code

Describe the solution you'd like
Add support (or configurable option) of let / const declarations to control flow flattening transformation.

Describe alternatives you've considered
Additional transformation via babel-plugin that replaces let / const with var before obfuscation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions