walon
|
4ca7a53a1e
|
修改SystemRenamePolicy对Enum的value__字段的检查条件,由检查名字改为!field.IsStatic
|
2025-05-26 20:31:05 +08:00 |
walon
|
b51893d154
|
ConstEncrypt不加密长度为0的字符串
|
2025-05-26 19:48:55 +08:00 |
walon
|
78699d7959
|
修复ObfuzIgnoreAttribute实现的bug
|
2025-05-26 19:22:55 +08:00 |
walon
|
ad258e9c84
|
修复 symbol obfuscation rule文件中存在不在混淆列表的程序集时,BuildRuleResultCaches抛出空引用异常的bug
|
2025-05-26 17:24:23 +08:00 |
walon
|
cd99a13562
|
change: ObfuzIgnoreAttribute的InheritByNestedTypes属性名改为ApplyToMembers
|
2025-05-25 12:42:38 +08:00 |
walon
|
9d77cfa269
|
调整symbol obfus的规则文件的规则定义
|
2025-05-25 12:28:54 +08:00 |
walon
|
702f20c6b0
|
修复FieldEncryption处理浮点类型时未插入castFloatAsInt指令,在il2cpp生成的代码为直接强转`(int)f`,运行结果错误的bug
|
2025-05-25 10:06:15 +08:00 |
walon
|
c84d4bae5b
|
为泛型生成混淆名时仍然保留`{n}后缀,因为il2cpp会在typeof(G<T>)时出现问题
|
2025-05-25 08:40:53 +08:00 |
walon
|
6e989ccd36
|
修复当一个Type之前为不需要混淆名字,后面改为需要混淆时,仍然使用mapping文件中的newFullname作为新名字,而它的newFullname为空字符串串,导致il2cpp生成代码出现问题的严重bug。
|
2025-05-25 08:39:43 +08:00 |
walon
|
e0da3da2bc
|
RenameMethod时检查CustomAttribute
|
2025-05-25 08:20:33 +08:00 |
walon
|
882047eb6c
|
MetaUtil::RetargetTypeRefInTypeSig 特殊处理来自mscorlib的类型,不再创建新的Class或ValueSig
|
2025-05-25 08:16:19 +08:00 |
walon
|
b2ba676ec1
|
修复在Unity 2019上的编译错误
|
2025-05-24 12:55:53 +08:00 |
walon
|
1cd1b912ec
|
修复SymbolRename::CollectCArgumentWithTypeOf没考虑到NamedArgument有可能名称发生改变,仅仅判断了类型或者值是否可能包含类型引用,导致跳过收集 `[MyCustom(X=1)]`这样的属性的bug
|
2025-05-24 09:49:14 +08:00 |
walon
|
b2d7637438
|
修复 VirtualMethodGroupCalculator没有考虑到某个类本身没有实现它的接口类的某个函数但它的父类实现了它的接口类的该函数时没有将接口的该函数和父类的该虚函数计算为一个Group的bug
|
2025-05-24 00:01:33 +08:00 |
walon
|
48f1dfe64a
|
修复RenameMethod未处理MethodImpl的bug
|
2025-05-23 23:06:18 +08:00 |
walon
|
647619943f
|
修复VirtualMethodGroup中仅包含非混淆程序集中函数时仍然试图改名的bug
|
2025-05-23 22:32:21 +08:00 |
walon
|
f1a225cd81
|
修复 RenameRecordMap::InitAndAddRename初始化signature的bug
|
2025-05-23 22:11:41 +08:00 |
walon
|
d64e57b370
|
修复虚函数分配名字未检查是否与每个虚函数所在类型其他函数冲突的严重bug
|
2025-05-23 20:40:54 +08:00 |
walon
|
5f4083066b
|
修复给虚函数分配名字时未考虑到不要与每个虚函数所在命名空间不冲突的bug
|
2025-05-23 19:48:55 +08:00 |
walon
|
5de469c4a6
|
修复 Obfuscator未检查AssembliesToObfuscate和nonObfuscatedButReferencingObfuscatedAssemblies列表存在空或者重复程序集名的问题
|
2025-05-23 19:47:43 +08:00 |
walon
|
28e276eda5
|
修复 MetaUtil::AppendIl2CppStackTraceNameOfTypeSig 无法处理TypedReference类型的bug
|
2025-05-23 19:46:44 +08:00 |
walon
|
41230aca29
|
修复BuildUnityAssemblySearchPaths的WebGL平台PlaybackEngine目录错误的bug。WebGL平台跟其他平台的路径规则不一样。
|
2025-05-23 12:54:08 +08:00 |
walon
|
fb9ffae1e8
|
重构Obfuscator和Obfusacation Pass参数,不再直接传递Settings,而是传递SettingsFacade,简化大量参数复制代码
|
2025-05-23 12:47:57 +08:00 |
walon
|
b6500147c2
|
CallObfusSettings新增maxProxyMethodCountPerDispatchMethod字段,设置每个dispatch函数中最多转发的函数个数
|
2025-05-23 12:01:04 +08:00 |
walon
|
3425abceb5
|
RvaData初始化时校验密钥的正确性,避免程序集混淆时使用的密钥与运行时加载的密钥不匹配的失误!
|
2025-05-23 11:45:37 +08:00 |
walon
|
f5b45a0543
|
fix: 修复非混淆的程序集中虚函数override混淆程序集中函数,当基类虚函数名被混淆后没有同步修改非混淆程序集中override函数名的bug
remove: 删除 RenameRecordMap中维护parameter映射的代码
|
2025-05-23 11:13:45 +08:00 |
walon
|
4d8737f01c
|
change: 如果类型中包含有`[RuntimeInitializeOnLoadMethod]`并且LoadType等于或者早于AfterAssembliesLoaded的函数,则类型的静态构造函数不混淆
|
2025-05-23 11:11:08 +08:00 |
walon
|
d06caf5e38
|
change: SecretSettings.secretKeyOutputPath拆为staticSecretKeyOutputPath和dynamicSecretKeyOutputPath,方便单独指定每个key的输出路径
|
2025-05-23 11:09:27 +08:00 |
walon
|
32d1aac9ba
|
change: ObfuscatorBuilder::BuildUnityAssemblySearchPaths 为各个平台添加对应的PlaybackEngine目录,解决构建webgl之类平台时找不到一些特定dll的bug
|
2025-05-23 10:18:37 +08:00 |
walon
|
05c3fd24bf
|
change: ObfuscationMethodWhitelist::IsInWhiteList(MethodDef)对于带有`[RuntimeInitializeOnLoadMethod]`的函数,如果LoadType等于或者早于AfterAssembliesLoaded,就不对函数进行混淆
|
2025-05-23 09:25:44 +08:00 |
walon
|
3fe3a6b302
|
fix: 修复 UnityRenamePolicy::NeedRename(MethodDef)错误地判定当前类型为MonoBehaviour类脚本,如果不是事件函数就直接返回,没有尝试后续检查的bug
|
2025-05-23 09:24:24 +08:00 |
walon
|
e19dbe1dc8
|
SymbolObfus: 不混淆Unity.Behaviour.BlackboardEnum特性标注的枚举类型名及其枚举项名
|
2025-05-23 08:31:43 +08:00 |
walon
|
c1beb962f5
|
SymbolObfus: 不混淆带有`[RuntimeInitializeOnLoadMethod]`的函数及它的父类名(否则Unity无法根据类型和函数名找到此函数)
|
2025-05-23 08:18:21 +08:00 |
walon
|
0efc98fb4d
|
remove comments of GenericArgumentContext
|
2025-05-22 19:56:35 +08:00 |
walon
|
bf38f43824
|
fix: fix bug of GenericArgumentContext that inflate ByRef, SZArray to Ptr.
|
2025-05-22 19:44:13 +08:00 |
walon
|
09fdd3052d
|
change: add ObfuscationProcess.ValidateReferences to check assemblies which reference to obfuscated assemblies must have been added to `ObfuzSettings.AssemblySettings.NonObfuscatedButReferencingObfuscatedAssemblies`.
|
2025-05-22 11:34:53 +08:00 |
walon
|
69a4cd686f
|
fix: fix a serious bug that didn't setup _obfuscatedAssemblyTempOutputPath which make all obfuscation passes exclude symbol obfuscation were skipped!
|
2025-05-22 10:09:02 +08:00 |
walon
|
8cdd69fd45
|
change: Obfuscator write intermediate obfuscated assembly to temp directory before write to obfuscated assembly directory
|
2025-05-21 21:29:26 +08:00 |
walon
|
f265022d0c
|
change: obfuz will try find managed dll in project which is compatible with current build target.
|
2025-05-21 20:41:01 +08:00 |
walon
|
2f7e2be97a
|
fix: fix the bug that TypeSigUtil::ComputePropertyDefSignature didn't compute parameters to final signature.
|
2025-05-21 19:44:38 +08:00 |
walon
|
3d04c15d98
|
new: AssemblySettings adds a new option: `obfuscateObfuzRuntime`
|
2025-05-21 18:36:08 +08:00 |
walon
|
425db24ee2
|
fix: fix bug that MetaUtil.GetTypeDefOrGenericTypeBaseOrNull and GetMemberRefTypeDefParentOrNull raise NullException when type is TypeSpec but isn't GenericType
|
2025-05-21 18:31:10 +08:00 |
walon
|
1f29de26cf
|
fix: fix the bug that MetaUtil.AppendIl2CppStackTraceNameOfTypeSig didn't support ElementType.Array
|
2025-05-21 17:57:31 +08:00 |
walon
|
b6cc07b54b
|
fix: fix the bug that didn't rename MethodSpec in instruction operand when rename method in Symbol Obfus pass
|
2025-05-21 17:29:52 +08:00 |
walon
|
c260cc2379
|
change: ObfuzIgnoreAttribute support ObfuzScope
|
2025-05-21 16:24:26 +08:00 |
walon
|
d258738262
|
temp
|
2025-05-21 13:33:03 +08:00 |
walon
|
10eef16d78
|
change: UnityRenamePolicy adds missing MonoBehaviour event methods of Animator, ParticleSystem, UGUI.
|
2025-05-21 11:49:20 +08:00 |
walon
|
2bc310f15e
|
change: add missing Unity MonoBehaviour event methods in UnityRenamePolicy.
|
2025-05-21 11:39:42 +08:00 |
walon
|
f332617acc
|
change: SymbolObfus obNamespace inherits value from obName
|
2025-05-21 11:22:35 +08:00 |
walon
|
8f8422864b
|
move package com.code-philosophy.obfuz and com.code-philosophy.obfuz4hybridclr to root directory
|
2025-05-21 09:23:29 +08:00 |