controlFlowFlatteningThreshold option

tests for BinaryExpressionControlFlowReplacer
This commit is contained in:
sanex3339
2016-12-17 23:59:00 +03:00
parent 7b29d7a7d6
commit b0a18660bb
16 changed files with 238 additions and 148 deletions
+5
View File
@@ -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)',