Commit Graph

  • 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
  • 18be3c9f24 remove: remove obfuscation rule for method parameter. we simplify rule that if obfuscates a method, we also obfuscate its parameters. walon 2025-05-19 15:46:12 +0800
  • b671137958 fix: fix bug that Symbol Obfuscation obfuscates member of Delegate incorrectly. walon 2025-05-19 14:17:20 +0800
  • 9c450d7f07 fix: disable call obfuscation for not public called method when publish mono backend because mono has more strict access checking, trying access private method in other class will raise MethodAccess Exception walon 2025-05-19 13:40:13 +0800
  • 305a56b3db change: Call Obfuscation doesn't obfuscate calling method of EncryptionService walon 2025-05-19 13:07:29 +0800
  • a40a45e8aa fix: fix the bug that ConstEncryptPass::TryObfuscateInstruction didn't obfuscation ldc_i4_xxx because their OperandType is None walon 2025-05-19 12:55:26 +0800
  • 6306a5604a fix: fix incorrect assert in DefaultConstEncryptor::ObfuscateString walon 2025-05-19 12:53:35 +0800
  • bd6c70072f change: remove AssemblyReferenceInfo class walon 2025-05-19 10:42:21 +0800
  • dcbbcadfd3 fix: fix the bug of BackupOriginalDlls didn't copy original assemblies in Build Process walon 2025-05-19 10:40:33 +0800
  • 3488aee789 fix: if type contains `[ObfuzIgnore]` attribute, both itself and all nested type should be skipped SymbolObfus. walon 2025-05-18 22:17:20 +0800
  • 09ad0eb744 change: if type contains `[ObfuzIgnore]` attribute, both itself and all nested type should be ignored. walon 2025-05-18 22:04:37 +0800
  • 45a07bc2ae change: warning when GenerateEncryptionOpCodes exceeds uint.MaxValue walon 2025-05-18 17:09:56 +0800
  • 274f827493 fix: change obfuscation relative metadata to public for compatible with mono because mono has more strict access validation, it will raise FieldAccessException if access a private field. walon 2025-05-18 16:43:11 +0800
  • 56374bbac7 fix: fix bug of TypeSigUtil::ComputeMethodDefSignature that didn't distinguish not generic method with generic method which have same return and parameter types. walon 2025-05-18 11:17:24 +0800
  • 7619928b07 refactor: refactor Obfuz project, simplify codes. walon 2025-05-18 10:36:45 +0800
  • d2b730dad2 add: add QuickStart sample walon 2025-05-18 10:23:23 +0800
  • b52c91c892 change: add link to gitee walon 2025-05-18 09:44:17 +0800
  • a411ca480a update Bootstrap because secretKey file path is changed. walon 2025-05-17 19:39:37 +0800
  • db24958aff change: rename menu `Obfuz/GenerateVM` to `Obfuz/GenerateEncryptionVM`, rename `Obfuz/SaveSecretFile` to `Obfuz/GenerateSecretKeyFile` walon 2025-05-17 19:38:34 +0800
  • 1e4448e8b9 update: update README walon 2025-05-17 19:37:11 +0800
  • d59939f3e6 fix: fix ObfuzSettings::LoadOrCreate failed in some cases. walon 2025-05-17 16:46:09 +0800
  • 1f0d2dab22 add: add meta files remove: remove *.csproj and *.sln walon 2025-05-17 16:42:17 +0800
  • 570362beb9 add README.md for Obfuz Unity Project walon 2025-05-17 15:19:37 +0800
  • 8bc5cac2ab add Obfuz project walon 2025-05-17 15:08:46 +0800
  • 50fb2274f1 add Obfuz Unity Project walon 2025-05-17 14:53:51 +0800
  • eb0542ed0f update README.MD . walon 2025-05-17 14:47:50 +0800
  • d2fac1dab3 new: add DeobfuscateStackTrace project walon 2025-05-17 13:59:03 +0800
  • b244293658 Initial commit walon 2025-04-05 11:15:03 +0800
  • 419c5f34f7 重构 backup walon 2025-05-17 12:11:36 +0800
  • 76d4b5d5af 修复Unity 2019-2021上的编译错误 walon 2025-05-16 20:02:21 +0800
  • d8537e17b5 修复在Unity 2019上的编译错误 walon 2025-05-16 17:44:28 +0800
  • 2921f83fb8 dnlib回滚使用预编译好的dll文件 walon 2025-05-16 17:44:07 +0800
  • 6d7c86da32 - 修复 FieldEncrypt加密字段未使用字段所在程序集的EncryptionScope而使用自身EncyrptionScope的bug - 优化,解决 XorInstruction释加0->0映射后,将所有值映射为自身的问题 walon 2025-05-16 12:33:37 +0800
  • 0efdd5b213 支持动态和静态secret walon 2025-05-16 11:33:03 +0800
  • a171592172 新增 RemoveObfuzAttributesPass.cs,在最后一个阶段清理掉所有 [ObfuzIgnore] walon 2025-05-16 10:06:19 +0800
  • 0cbe09287d 修复没有遍历代码中的MemberRef,导致重命名函数和代码后未修复函数体中的泛型类的成员调用 walon 2025-05-16 09:55:04 +0800
  • 0bc9ea41d4 支持dll形式的文件 walon 2025-05-15 09:14:48 +0800
  • b635d6d867 调整加密float和double的方式 walon 2025-05-14 17:26:21 +0800
  • 6b487f58c0 优化float和double加密 walon 2025-05-14 14:59:49 +0800
  • 334ff8095f 修复float加密的bug walon 2025-05-14 14:36:25 +0800