コード例 #1
0
 protected override void PopulatePipeline(ProtectionPipeline pipeline)
 {
     pipeline.InsertPostStage(PipelineStage.Inspection, new AnalyzePhase(this));
     pipeline.InsertPostStage(PipelineStage.BeginModule, new RenamePhase(this));
     pipeline.InsertPreStage(PipelineStage.EndModule, new PostRenamePhase(this));
     pipeline.InsertPostStage(PipelineStage.SaveModules, new ExportMapPhase(this));
 }
コード例 #2
0
ファイル: NameProtection.cs プロジェクト: 89sos98/ConfuserEx
 protected override void PopulatePipeline(ProtectionPipeline pipeline)
 {
     pipeline.InsertPostStage(PipelineStage.Inspection, new AnalyzePhase(this));
     pipeline.InsertPostStage(PipelineStage.BeginModule, new RenamePhase(this));
     pipeline.InsertPreStage(PipelineStage.EndModule, new PostRenamePhase(this));
     pipeline.InsertPostStage(PipelineStage.SaveModules, new ExportMapPhase(this));
 }
        protected override void PopulatePipeline(ProtectionPipeline pipeline)
        {
            //find all types that need to be modified
            pipeline.InsertPostStage(PipelineStage.Inspection, new MemoryEditAnalyzePhase(this));

            //insert type
            pipeline.InsertPostStage(PipelineStage.BeginModule, new MemoryEditInjectPhase(this));

            //change type and apply IL changes
            pipeline.InsertPreStage(PipelineStage.ProcessModule, new MemoryEditApplyPhase(this));
        }
コード例 #4
0
 protected override void PopulatePipeline(ProtectionPipeline pipeline)
 {
     if (!ctx.CompatMode)
     {
         pipeline.InsertPreStage(PipelineStage.Inspection, new InjPhase(this));
     }
     pipeline.InsertPostStage(PipelineStage.BeginModule, new SigPhase(this));
 }
コード例 #5
0
ファイル: KoiProtection.cs プロジェクト: hmyit/KoiVM-1
 protected override void PopulatePipeline(ProtectionPipeline pipeline)
 {
     pipeline.InsertPostStage(PipelineStage.Inspection,
                              new InitializePhase(this, KoiInfo.KoiDirectory));
     pipeline.InsertPreStage(PipelineStage.EndModule, new MarkPhase(this));
     pipeline.InsertPreStage(PipelineStage.Debug, new FinalizePhase(this));
     pipeline.InsertPreStage(PipelineStage.Pack, new SavePhase(this));
 }
コード例 #6
0
        protected override void PopulatePipeline(ProtectionPipeline pipeline)
        {
            if (pipeline == null)
            {
                throw new ArgumentNullException(nameof(pipeline));
            }

            pipeline.InsertPreStage(PipelineStage.Inspection, new AnalyzePhase(this));
            pipeline.InsertPostStage(PipelineStage.ProcessModule, new ScramblePhase(this));
        }
コード例 #7
0
 protected internal override void PopulatePipeline(ProtectionPipeline pipeline)
 {
     pipeline.InsertPreStage(PipelineStage.ProcessModule, new InjectPhase(this));
     pipeline.InsertPostStage(PipelineStage.ProcessModule, new EncodePhase(this));
 }
コード例 #8
0
 protected override void PopulatePipeline(ProtectionPipeline pipeline)
 {
     pipeline.InsertPostStage(PipelineStage.BeginModule, new ModuleWriterSetupPhase(this));
     pipeline.InsertPreStage(PipelineStage.OptimizeMethods, new InjectPhase(this));
     pipeline.InsertPreStage(PipelineStage.EndModule, new MDPhase(this));
 }
コード例 #9
0
 protected override void PopulatePipeline(ProtectionPipeline pipeline)
 {
     pipeline.InsertPostStage(PipelineStage.BeginModule, new InvalidMDPhase(this));
 }
コード例 #10
0
 protected override void PopulatePipeline(ProtectionPipeline pipeline)
 {
     pipeline.InsertPostStage(PipelineStage.Inspection, new InjectPhase(this));
     pipeline.InsertPreStage(PipelineStage.ProcessModule, new VirtualizatonPhase(this));
 }
コード例 #11
0
 protected override void PopulatePipeline(ProtectionPipeline pipeline)
 {
     pipeline.InsertPostStage(PipelineStage.ProcessModule, new FakeObfuscatorTypesPhase(this));
     pipeline.InsertPostStage(PipelineStage.ProcessModule, new FakeObfuscatorAttributesPhase(this));
 }
コード例 #12
0
 protected override void PopulatePipeline(ProtectionPipeline pipeline)
 {
     pipeline.InsertPostStage(PipelineStage.BeginModule, new ReferenceProxyPhase(this));
 }
コード例 #13
0
		protected override void PopulatePipeline(ProtectionPipeline pipeline) {
			pipeline.InsertPreStage(PipelineStage.ProcessModule, new InjectPhase(this));
			pipeline.InsertPostStage(PipelineStage.ProcessModule, new EncodePhase(this));
		}
コード例 #14
0
 protected override void PopulatePipeline(ProtectionPipeline pipeline)
 {
     pipeline.InsertPreStage(PipelineStage.Inspection, new AnalyzePhase(this));
     pipeline.InsertPostStage(PipelineStage.Inspection, new ScramblePhase(this));
 }
コード例 #15
0
 protected override void PopulatePipeline(ProtectionPipeline pipeline)
 {
     pipeline.InsertPostStage(PipelineStage.BeginModule, new FakeNative.FakeNativePhase(this));
 }
コード例 #16
0
 protected override void PopulatePipeline(ProtectionPipeline pipeline)
 {
     pipeline.InsertPostStage(PipelineStage.BeginModule, new AntiDumpPhase(this));
 }
コード例 #17
0
 protected override void PopulatePipeline(ProtectionPipeline pipeline)
 {
     pipeline.InsertPostStage(PipelineStage.ProcessModule, new MutationPhase(this));
     pipeline.InsertPostStage(PipelineStage.ProcessModule, new TestPhase(this));
 }
コード例 #18
0
 protected override void PopulatePipeline(ProtectionPipeline pipeline)
 {
     pipeline.InsertPreStage(PipelineStage.Inspection, new InjPhase(this));
     pipeline.InsertPostStage(PipelineStage.BeginModule, new SigPhase(this));
 }
 protected override void PopulatePipeline(ProtectionPipeline pipeline)
 {
     //watermark is added in the inspection stage, this executes right after
     pipeline.InsertPostStage(PipelineStage.Inspection, new AntiWatermarkPhase(this));
 }