0.9.0-dev.5

This commit is contained in:
sanex3339
2016-12-24 16:05:02 +03:00
parent e88bec9189
commit 8782b98a03
2 changed files with 0 additions and 4 deletions
-2
View File
@@ -2217,9 +2217,7 @@ var Obfuscator = Obfuscator_1 = function () {
if (this.options.controlFlowFlattening) {
astTree = this.transformAstTree(astTree, VisitorDirection_1.VisitorDirection.leave, this.nodeTransformersFactory(Obfuscator_1.nodeControlFlowTransformersMap));
}
console.time();
astTree = this.transformAstTree(astTree, VisitorDirection_1.VisitorDirection.enter, this.nodeTransformersFactory(Obfuscator_1.nodeObfuscatorsMap));
console.timeEnd();
this.obfuscationEventEmitter.emit(ObfuscationEvents_1.ObfuscationEvents.AfterObfuscation, astTree, stackTraceData);
return astTree;
}
-2
View File
@@ -137,13 +137,11 @@ export class Obfuscator implements IObfuscator {
}
// second pass: nodes obfuscation
console.time();
astTree = this.transformAstTree(
astTree,
VisitorDirection.enter,
this.nodeTransformersFactory(Obfuscator.nodeObfuscatorsMap)
);
console.timeEnd();
this.obfuscationEventEmitter.emit(ObfuscationEvents.AfterObfuscation, astTree, stackTraceData);