Commit Graph

25 Commits (b11336421418f39233dc3c8fd0c3c7ba8d121153)

Author SHA1 Message Date
walon b113364214 重构 ObfuzIgnore计算,使用 ObfuzIgnoreScopeComputeCache提升计算性能 2025-05-29 22:20:27 +08:00
walon b85f3f54a0 优化UnityRenamePolicy,缓存计算结果,将整体混淆时间减少了一半左右 2025-05-28 10:11:48 +08:00
walon 620d695880 支持custom rename policy 2025-05-28 09:25:09 +08:00
walon 468ea6a343 修复 DOTSCompilerGenerated和BurstCompile判定没有用于method的bug 2025-05-27 22:50:05 +08:00
walon 77c6635eda 不混淆DOTS相关类型 2025-05-27 20:20:49 +08:00
walon 8f0a5bc0f2 修复默认混淆了DOTS生成的Unity.Entities.CodeGeneratedRegistry.AssemblyTypeRegistry类名,导致DOTS类型注册失败的Bug 2025-05-27 20:06:14 +08:00
walon f134b88c13 删除 ObfuzIgnoreAttribute.ApplyToMembers属性,因为没有必要,正常逻辑来说应该是ApplyToMembers 2025-05-27 10:28:34 +08:00
walon c1600f0f4d - Serializable类型名也会被混淆,但可序列化字段不会被混淆
- Obfuz.EncryptField类不会被混淆
- 必须是MonoBehaviour继承的类型中事件函数名才不会被混淆
2025-05-27 09:33:17 +08:00
walon 78699d7959 修复ObfuzIgnoreAttribute实现的bug 2025-05-26 19:22:55 +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 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 28e276eda5 修复 MetaUtil::AppendIl2CppStackTraceNameOfTypeSig 无法处理TypedReference类型的bug 2025-05-23 19:46:44 +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 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 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 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 8f8422864b move package com.code-philosophy.obfuz and com.code-philosophy.obfuz4hybridclr to root directory 2025-05-21 09:23:29 +08:00