VM-Based Obfuscation

Potency High
Resilience High
Cost High
Tags: vm

Description

VM-Based Obfuscation compiles the input JavaScript code to a new binary language, with randomly generated components. The output of the protected code contains the binary payload and a JavaScript program that will act as the interpreter for the binary code. Each new code protection generates binary code in an entirely new language.

This transformation can only be used with Code Annotations due to its significant performance costs.

Code Annotation Example

// @jscrambler enable vmBasedObfuscation
function myFunction() {
  // <function contents here>
}

API Parameters

This transformation can only be used via Code Annotations.