de4dot-cex/de4dot.code/deobfuscators/Operations.cs

44 lines
1.3 KiB
C#
Raw Permalink Normal View History

2011-09-22 10:55:30 +08:00
/*
2015-10-30 05:45:26 +08:00
Copyright (C) 2011-2015 de4dot@gmail.com
2011-09-22 10:55:30 +08:00
This file is part of de4dot.
de4dot is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
de4dot is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with de4dot. If not, see <http://www.gnu.org/licenses/>.
*/
using dnlib.DotNet.Writer;
2012-12-07 22:06:38 +08:00
using de4dot.code.renamer;
2012-12-01 10:24:12 +08:00
namespace de4dot.code.deobfuscators {
public enum OpDecryptString {
2011-09-22 10:55:30 +08:00
None,
Static,
Dynamic,
}
public interface IOperations {
2011-09-22 10:55:30 +08:00
bool KeepObfuscatorTypes { get; }
2012-12-01 10:24:12 +08:00
MetaDataFlags MetaDataFlags { get; }
2012-12-07 22:06:38 +08:00
RenamerFlags RenamerFlags { get; }
2011-09-22 10:55:30 +08:00
OpDecryptString DecryptStrings { get; }
}
public class Operations : IOperations {
2011-09-22 10:55:30 +08:00
public bool KeepObfuscatorTypes { get; set; }
2012-12-01 10:24:12 +08:00
public MetaDataFlags MetaDataFlags { get; set; }
2012-12-07 22:06:38 +08:00
public RenamerFlags RenamerFlags { get; set; }
2011-09-22 10:55:30 +08:00
public OpDecryptString DecryptStrings { get; set; }
}
}