2025-04-15 18:30:17 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Runtime.Remoting.Messaging;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2025-05-04 19:55:10 +08:00
|
|
|
|
namespace Obfuz.ObfusPasses.SymbolObfus
|
2025-04-15 18:30:17 +08:00
|
|
|
|
{
|
|
|
|
|
public static class NameMakerFactory
|
|
|
|
|
{
|
2025-05-05 09:09:53 +08:00
|
|
|
|
public static INameMaker CreateDebugNameMaker()
|
|
|
|
|
{
|
2025-05-05 09:31:18 +08:00
|
|
|
|
return new DebugNameMaker();
|
2025-05-05 09:09:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
2025-04-15 18:30:17 +08:00
|
|
|
|
public static INameMaker CreateNameMakerBaseASCIICharSet()
|
|
|
|
|
{
|
|
|
|
|
var words = new List<string>();
|
|
|
|
|
for (int i = 0; i < 26; i++)
|
|
|
|
|
{
|
|
|
|
|
words.Add(((char)('a' + i)).ToString());
|
|
|
|
|
words.Add(((char)('A' + i)).ToString());
|
|
|
|
|
}
|
|
|
|
|
return new NameMaker(words);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|