2025-04-05 19:02:50 +08:00
|
|
|
|
using dnlib.DotNet;
|
2025-04-05 21:47:28 +08:00
|
|
|
|
using Obfuz.Rename;
|
2025-04-05 19:02:50 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Obfuz
|
|
|
|
|
{
|
|
|
|
|
public class ObfuzAssemblyInfo
|
|
|
|
|
{
|
|
|
|
|
public string name;
|
|
|
|
|
|
|
|
|
|
public ModuleDefMD module;
|
|
|
|
|
|
|
|
|
|
public List<ObfuzAssemblyInfo> referenceMeAssemblies;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class ObfuscatorContext
|
|
|
|
|
{
|
2025-04-15 10:46:03 +08:00
|
|
|
|
public AssemblyCache assemblyCache;
|
|
|
|
|
|
2025-04-05 19:02:50 +08:00
|
|
|
|
public List<ObfuzAssemblyInfo> assemblies;
|
2025-04-05 21:47:28 +08:00
|
|
|
|
|
|
|
|
|
public IRenamePolicy renamePolicy;
|
|
|
|
|
|
|
|
|
|
public INameMaker nameMaker;
|
2025-04-16 13:12:21 +08:00
|
|
|
|
|
2025-04-16 23:03:41 +08:00
|
|
|
|
public string mappingXmlPath;
|
|
|
|
|
|
2025-04-16 13:12:21 +08:00
|
|
|
|
public string outputDir;
|
2025-04-05 19:02:50 +08:00
|
|
|
|
}
|
|
|
|
|
}
|