Skip to content

Lots of "unreachable code after return statement" warnings in Firefox #129

Closed

Description

@jpodpro

If controlFlowFlattening is enabled I get a huge number of these warnings in Firefox. I'm assuming the obfuscation is adding code after return statements?

Is there any solution that allows using controlFlowFlattening and avoiding these warnings?

Activity

  1. sanex3339 commented on Nov 23, 2017

    @sanex3339
    Member

    What kind of warnings?

  2. jpodpro commented on Nov 23, 2017

    @jpodpro
    Author

    unreachable code after return statement:
    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Stmt_after_return

    perhaps this is what control flow flattening is intentionally doing?

  3. sanex3339 commented on Nov 23, 2017

    @sanex3339
    Member

    Interesting, i'll investigate this. Can you make small example of unobfuscated code that will trigger this errors on firefox?

  4. sanex3339 commented on Nov 23, 2017

    @sanex3339
    Member

    Catch it, i'll fix it before 0.12.3 version

  5. added this to the 0.12.3 milestone on Nov 23, 2017
  6. added a commit that references this issue on Nov 23, 2017
    5f61e88
  7. added a commit that references this issue on Nov 23, 2017
    813b91d
  8. sanex3339 commented on Nov 24, 2017

    @sanex3339
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions