mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
controlFlowFlatteningThreshold option
tests for BinaryExpressionControlFlowReplacer
This commit is contained in:
@@ -159,6 +159,11 @@ export class JavaScriptObfuscatorCLI {
|
||||
'Enables control flow flattening',
|
||||
JavaScriptObfuscatorCLI.parseBoolean
|
||||
)
|
||||
.option(
|
||||
'--controlFlowFlatteningThreshold <number>',
|
||||
'The probability that the control flow flattening transformation will be applied to the node',
|
||||
parseFloat
|
||||
)
|
||||
.option(
|
||||
'--debugProtection <boolean>',
|
||||
'Disable browser Debug panel (can cause DevTools enabled browser freeze)',
|
||||
|
||||
Reference in New Issue
Block a user