Commit Graph

  • 620d695880 支持custom rename policy walon 2025-05-28 09:25:09 +0800
  • ceb92fba40 符号混淆的规则文件中type规则新增hasCustomAttributes属性 walon 2025-05-28 08:42:57 +0800
  • cbd4f1ded9 symbol obfus规则支持type inherit过滤条件 walon 2025-05-27 23:55:18 +0800
  • 468ea6a343 修复 DOTSCompilerGenerated和BurstCompile判定没有用于method的bug walon 2025-05-27 22:50:05 +0800
  • 94b9b7ee2f 缓存 UnityRenamePolicy::IsUnitySourceGeneratedAssemblyType的计算结果,优化性能 walon 2025-05-27 22:21:24 +0800
  • 14a6ddb661 更新 README.md walon 2025-05-27 20:27:50 +0800
  • 77c6635eda 不混淆DOTS相关类型 walon 2025-05-27 20:20:49 +0800
  • 8f0a5bc0f2 修复默认混淆了DOTS生成的Unity.Entities.CodeGeneratedRegistry.AssemblyTypeRegistry类名,导致DOTS类型注册失败的Bug walon 2025-05-27 20:06:14 +0800
  • 1b3c1c4958 symbol obfus规则中TypeSpec支持 applyToNestedTypes 属性 walon 2025-05-27 19:02:18 +0800
  • 22fca877f6 新增 符号混淆applyToMembers测试用例 walon 2025-05-27 17:29:12 +0800
  • 994e63966f 重构符号混淆的规则文件 walon 2025-05-27 14:45:18 +0800
  • f134b88c13 删除 ObfuzIgnoreAttribute.ApplyToMembers属性,因为没有必要,正常逻辑来说应该是ApplyToMembers walon 2025-05-27 10:28:34 +0800
  • cd99bfe4f3 ObufzScope拆分为独立代码文件 walon 2025-05-27 10:18:13 +0800
  • 62f4063078 更新 README.md walon 2025-05-27 09:45:39 +0800
  • c1600f0f4d - Serializable类型名也会被混淆,但可序列化字段不会被混淆 - Obfuz.EncryptField类不会被混淆 - 必须是MonoBehaviour继承的类型中事件函数名才不会被混淆 walon 2025-05-27 09:33:17 +0800
  • 4ca7a53a1e 修改SystemRenamePolicy对Enum的value__字段的检查条件,由检查名字改为!field.IsStatic walon 2025-05-26 20:31:05 +0800
  • fcbf77bb40 优化:加解密长度为0的字符串和bytes时直接返回长度为0的值 walon 2025-05-26 20:03:09 +0800
  • b51893d154 ConstEncrypt不加密长度为0的字符串 walon 2025-05-26 19:48:55 +0800
  • 78699d7959 修复ObfuzIgnoreAttribute实现的bug walon 2025-05-26 19:22:55 +0800
  • ad258e9c84 修复 symbol obfuscation rule文件中存在不在混淆列表的程序集时,BuildRuleResultCaches抛出空引用异常的bug walon 2025-05-26 17:24:23 +0800
  • 386048b485 更新 README.md walon 2025-05-26 11:09:30 +0800
  • 3066fbf3c7 升级obfuz版本号v1.0.0-beta.2 v1.0.0-beta.2 walon 2025-05-25 17:38:01 +0800
  • cd99a13562 change: ObfuzIgnoreAttribute的InheritByNestedTypes属性名改为ApplyToMembers walon 2025-05-25 12:42:38 +0800
  • 9d77cfa269 调整symbol obfus的规则文件的规则定义 walon 2025-05-25 12:28:54 +0800
  • 702f20c6b0 修复FieldEncryption处理浮点类型时未插入castFloatAsInt指令,在il2cpp生成的代码为直接强转`(int)f`,运行结果错误的bug walon 2025-05-25 10:06:15 +0800
  • c84d4bae5b 为泛型生成混淆名时仍然保留`{n}后缀,因为il2cpp会在typeof(G<T>)时出现问题 walon 2025-05-25 08:40:53 +0800
  • 6e989ccd36 修复当一个Type之前为不需要混淆名字,后面改为需要混淆时,仍然使用mapping文件中的newFullname作为新名字,而它的newFullname为空字符串串,导致il2cpp生成代码出现问题的严重bug。 walon 2025-05-25 08:39:43 +0800
  • e0da3da2bc RenameMethod时检查CustomAttribute walon 2025-05-25 08:20:33 +0800
  • 882047eb6c MetaUtil::RetargetTypeRefInTypeSig 特殊处理来自mscorlib的类型,不再创建新的Class或ValueSig walon 2025-05-25 08:16:19 +0800
  • b2ba676ec1 修复在Unity 2019上的编译错误 walon 2025-05-24 12:55:53 +0800
  • 1cd1b912ec 修复SymbolRename::CollectCArgumentWithTypeOf没考虑到NamedArgument有可能名称发生改变,仅仅判断了类型或者值是否可能包含类型引用,导致跳过收集 `[MyCustom(X=1)]`这样的属性的bug walon 2025-05-24 09:49:14 +0800
  • b2d7637438 修复 VirtualMethodGroupCalculator没有考虑到某个类本身没有实现它的接口类的某个函数但它的父类实现了它的接口类的该函数时没有将接口的该函数和父类的该虚函数计算为一个Group的bug walon 2025-05-24 00:01:33 +0800
  • 48f1dfe64a 修复RenameMethod未处理MethodImpl的bug walon 2025-05-23 23:06:18 +0800
  • 647619943f 修复VirtualMethodGroup中仅包含非混淆程序集中函数时仍然试图改名的bug walon 2025-05-23 22:32:21 +0800
  • f1a225cd81 修复 RenameRecordMap::InitAndAddRename初始化signature的bug walon 2025-05-23 22:11:41 +0800
  • d64e57b370 修复虚函数分配名字未检查是否与每个虚函数所在类型其他函数冲突的严重bug walon 2025-05-23 20:40:54 +0800
  • 5f4083066b 修复给虚函数分配名字时未考虑到不要与每个虚函数所在命名空间不冲突的bug walon 2025-05-23 19:48:55 +0800
  • 5de469c4a6 修复 Obfuscator未检查AssembliesToObfuscate和nonObfuscatedButReferencingObfuscatedAssemblies列表存在空或者重复程序集名的问题 walon 2025-05-23 19:47:43 +0800
  • 28e276eda5 修复 MetaUtil::AppendIl2CppStackTraceNameOfTypeSig 无法处理TypedReference类型的bug walon 2025-05-23 19:46:44 +0800
  • 03b0172240 因为重构了Obfuscator传参方式,而ObfuscateUtil引用了相关代码,连带改动 walon 2025-05-23 12:56:09 +0800
  • 41230aca29 修复BuildUnityAssemblySearchPaths的WebGL平台PlaybackEngine目录错误的bug。WebGL平台跟其他平台的路径规则不一样。 walon 2025-05-23 12:54:08 +0800
  • fb9ffae1e8 重构Obfuscator和Obfusacation Pass参数,不再直接传递Settings,而是传递SettingsFacade,简化大量参数复制代码 walon 2025-05-23 12:47:57 +0800
  • b6500147c2 CallObfusSettings新增maxProxyMethodCountPerDispatchMethod字段,设置每个dispatch函数中最多转发的函数个数 walon 2025-05-23 12:01:04 +0800
  • 3425abceb5 RvaData初始化时校验密钥的正确性,避免程序集混淆时使用的密钥与运行时加载的密钥不匹配的失误! walon 2025-05-23 11:45:37 +0800
  • f5b45a0543 fix: 修复非混淆的程序集中虚函数override混淆程序集中函数,当基类虚函数名被混淆后没有同步修改非混淆程序集中override函数名的bug remove: 删除 RenameRecordMap中维护parameter映射的代码 walon 2025-05-23 11:13:45 +0800
  • 4d8737f01c change: 如果类型中包含有`[RuntimeInitializeOnLoadMethod]`并且LoadType等于或者早于AfterAssembliesLoaded的函数,则类型的静态构造函数不混淆 walon 2025-05-23 11:11:08 +0800
  • d06caf5e38 change: SecretSettings.secretKeyOutputPath拆为staticSecretKeyOutputPath和dynamicSecretKeyOutputPath,方便单独指定每个key的输出路径 walon 2025-05-23 11:09:27 +0800
  • 32d1aac9ba change: ObfuscatorBuilder::BuildUnityAssemblySearchPaths 为各个平台添加对应的PlaybackEngine目录,解决构建webgl之类平台时找不到一些特定dll的bug walon 2025-05-23 10:18:37 +0800
  • cb27fadb08 移除所有Sample中`SetUpStaticSecretKey`函数上的`[ObfuzIngore]`特性,因为Obfuz会自动对`[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.AfterAssembliesLoaded)]`禁用一切混淆 walon 2025-05-23 09:27:31 +0800
  • 05c3fd24bf change: ObfuscationMethodWhitelist::IsInWhiteList(MethodDef)对于带有`[RuntimeInitializeOnLoadMethod]`的函数,如果LoadType等于或者早于AfterAssembliesLoaded,就不对函数进行混淆 walon 2025-05-23 09:25:44 +0800
  • 3fe3a6b302 fix: 修复 UnityRenamePolicy::NeedRename(MethodDef)错误地判定当前类型为MonoBehaviour类脚本,如果不是事件函数就直接返回,没有尝试后续检查的bug walon 2025-05-23 09:24:24 +0800
  • e19dbe1dc8 SymbolObfus: 不混淆Unity.Behaviour.BlackboardEnum特性标注的枚举类型名及其枚举项名 walon 2025-05-23 08:31:43 +0800
  • c1beb962f5 SymbolObfus: 不混淆带有`[RuntimeInitializeOnLoadMethod]`的函数及它的父类名(否则Unity无法根据类型和函数名找到此函数) walon 2025-05-23 08:18:21 +0800
  • 0efc98fb4d remove comments of GenericArgumentContext walon 2025-05-22 19:56:35 +0800
  • bf38f43824 fix: fix bug of GenericArgumentContext that inflate ByRef, SZArray to Ptr. walon 2025-05-22 19:44:13 +0800
  • 09fdd3052d change: add ObfuscationProcess.ValidateReferences to check assemblies which reference to obfuscated assemblies must have been added to `ObfuzSettings.AssemblySettings.NonObfuscatedButReferencingObfuscatedAssemblies`. walon 2025-05-22 11:34:53 +0800
  • 1e8832ca7e simplify sample DynamicSecretKey. remove hybridclr and obfuz4dhybridclr. walon 2025-05-22 10:11:02 +0800
  • 69a4cd686f fix: fix a serious bug that didn't setup _obfuscatedAssemblyTempOutputPath which make all obfuscation passes exclude symbol obfuscation were skipped! walon 2025-05-22 10:09:02 +0800
  • 4398ee0875 update package.json for obfuz and obfuz4hybridclr v1.0.0-beta walon 2025-05-22 09:20:18 +0800
  • b18a8f70e3 add: add sample project DynamicSecretKey walon 2025-05-22 09:15:34 +0800
  • 8cdd69fd45 change: Obfuscator write intermediate obfuscated assembly to temp directory before write to obfuscated assembly directory walon 2025-05-21 21:29:26 +0800
  • f265022d0c change: obfuz will try find managed dll in project which is compatible with current build target. walon 2025-05-21 20:41:01 +0800
  • 2f7e2be97a fix: fix the bug that TypeSigUtil::ComputePropertyDefSignature didn't compute parameters to final signature. walon 2025-05-21 19:44:38 +0800
  • 3d04c15d98 new: AssemblySettings adds a new option: `obfuscateObfuzRuntime` walon 2025-05-21 18:36:08 +0800
  • 425db24ee2 fix: fix bug that MetaUtil.GetTypeDefOrGenericTypeBaseOrNull and GetMemberRefTypeDefParentOrNull raise NullException when type is TypeSpec but isn't GenericType walon 2025-05-21 18:31:10 +0800
  • 1f29de26cf fix: fix the bug that MetaUtil.AppendIl2CppStackTraceNameOfTypeSig didn't support ElementType.Array walon 2025-05-21 17:57:31 +0800
  • b6cc07b54b fix: fix the bug that didn't rename MethodSpec in instruction operand when rename method in Symbol Obfus pass walon 2025-05-21 17:29:52 +0800
  • bd370e545a change: add `[Flags]` to ObfuzScope walon 2025-05-21 16:50:56 +0800
  • c260cc2379 change: ObfuzIgnoreAttribute support ObfuzScope walon 2025-05-21 16:24:26 +0800
  • d258738262 temp walon 2025-05-21 13:33:03 +0800
  • 10eef16d78 change: UnityRenamePolicy adds missing MonoBehaviour event methods of Animator, ParticleSystem, UGUI. walon 2025-05-21 11:49:20 +0800
  • 2bc310f15e change: add missing Unity MonoBehaviour event methods in UnityRenamePolicy. walon 2025-05-21 11:39:42 +0800
  • f332617acc change: SymbolObfus obNamespace inherits value from obName walon 2025-05-21 11:22:35 +0800
  • 0a9968f7a1 update: update samples walon 2025-05-21 10:42:06 +0800
  • 48779110f6 change: obfuz4hybridclr add menu `HybridCLR/ObfuzExtension/CompileAndObfuscateDll` walon 2025-05-21 10:31:43 +0800
  • 0ef162b901 update url of obfuz package walon 2025-05-21 09:38:33 +0800
  • 2453acc1d3 remove Obfuz project walon 2025-05-21 09:26:04 +0800
  • 8f8422864b move package com.code-philosophy.obfuz and com.code-philosophy.obfuz4hybridclr to root directory walon 2025-05-21 09:23:29 +0800
  • acb35e375e rename assembly name ObfuzExtension4HybridCLR to Obfuz4HybridCLR.Editor walon 2025-05-21 09:19:52 +0800
  • 4fd71a30c3 add hybridclr package to Obfuz project walon 2025-05-21 09:11:01 +0800
  • da47e1283d new: add package com.code-philosophy.obfuz4hybridclr walon 2025-05-21 09:08:13 +0800
  • 5766d2f2f4 change : update package.json of obfuz walon 2025-05-21 09:06:09 +0800
  • 8f66a0ac5b change: add ignore HybridCLRData to .gitignore walon 2025-05-20 17:34:18 +0800
  • 544f8157fc add: add sample WorkWithHybridCLR walon 2025-05-20 17:33:18 +0800
  • bed98bd6be add: add sample CustomConfigure walon 2025-05-20 16:48:06 +0800
  • aa2ea50ed3 fix: fix the bug that `[ObfuzIgnore]` doesn't take effect in nested child type walon 2025-05-20 16:37:38 +0800
  • faeafc3cf8 new: add sample project MultiObfuscatedAssemblies walon 2025-05-20 15:32:45 +0800
  • e13adb7efd change : changes for QuickStart Sample walon 2025-05-20 15:32:02 +0800
  • 746e75b70e clean: remove unused type and fields of SymbolMappingReader 1.0.0-alpha walon 2025-05-20 14:26:11 +0800
  • 0d04b11429 fix: fix bug of ConfigurableRenamePolicy::MatchClassType walon 2025-05-20 11:46:28 +0800
  • 98ee041b4d change: add classType for class rule of symbol obfuscation walon 2025-05-20 11:33:56 +0800
  • b618f2cb1e fix: don't ignore methods which contains `[CompilerGenerated]` walon 2025-05-20 11:09:26 +0800
  • 570033520e refactor: refactor CallObfus rule schema walon 2025-05-20 11:08:39 +0800
  • 685f5f5530 add: add EncryptFieldAttribute walon 2025-05-20 11:08:07 +0800
  • 0f6207b0ae fix: nested type uses declaring type rule in symbol obfuscation walon 2025-05-19 19:47:10 +0800
  • dca7c5831f refactor: refactor and simplify symbol rule defines. walon 2025-05-19 19:35:15 +0800
  • b7cbd9d325 fix: FIXME temporary fix the bug where obfuscated virtual function names conflict with regular function names walon 2025-05-19 17:51:18 +0800
  • 3dda64ced2 fix: Call Obfuscation doesn't share return type because some type(eg. SZArray) will lead to il2cpp raise exception in generation process. fix: Call Obfuscation doesn't share parameter which type is SZArray or Array type because this will lead the cpp code generated by il2cpp compile error! walon 2025-05-19 17:11:32 +0800
  • 5f63818841 change: sorted assembly and type by name before write to symbol mapping file walon 2025-05-19 16:25:47 +0800
  • a4014fe829 changed: don't record parameter name mapping in symbol mapping file. we consider this is unnecessary. walon 2025-05-19 15:50:15 +0800