Dead Code Injection

Potency Medium
Resilience Medium
Cost Low
Tags: dead code, injection, obfuscation, control flow

Description

Dead Code Injection randomly injects dead code all over your program. This will make your program's control-flow more complex, thus harder to understand, without changing the original program's behavior. Dead code is generated using statements and expressions found in the source code that are wrapped in conditional statements hard to evaluate by a human (also known as opaque predicates). Dead Code will not be injected inside loops to avoid performance issues.

Code Annotation Example

// @jscrambler enable deadCodeInjection

API Parameters

Example:

{
  "keys": {
    "accessKey": "XXXXXX",
    "secretKey": "YYYYYY"
  },
  "applicationId": "ZZZZZZ",
  "params": [
    {
      "name": "deadCodeInjection"
    }
  ]
}