Commit Graph

125 Commits (cbd4f1ded909c320486e8aa6cf7320a200ffaab0)

Author SHA1 Message Date
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 1e8832ca7e simplify sample DynamicSecretKey. remove hybridclr and obfuz4dhybridclr. 2025-05-22 10:11:02 +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 4398ee0875 update package.json for obfuz and obfuz4hybridclr 2025-05-22 09:20:18 +08:00
walon b18a8f70e3 add: add sample project DynamicSecretKey 2025-05-22 09:15:34 +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 bd370e545a change: add `[Flags]` to ObfuzScope 2025-05-21 16:50:56 +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 0a9968f7a1 update: update samples 2025-05-21 10:42:06 +08:00
walon 48779110f6 change: obfuz4hybridclr add menu `HybridCLR/ObfuzExtension/CompileAndObfuscateDll` 2025-05-21 10:31:43 +08:00
walon 0ef162b901 update url of obfuz package 2025-05-21 09:38:33 +08:00
walon 2453acc1d3 remove Obfuz project 2025-05-21 09:26:04 +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
walon acb35e375e rename assembly name ObfuzExtension4HybridCLR to Obfuz4HybridCLR.Editor 2025-05-21 09:19:52 +08:00
walon 4fd71a30c3 add hybridclr package to Obfuz project 2025-05-21 09:11:01 +08:00
walon da47e1283d new: add package com.code-philosophy.obfuz4hybridclr 2025-05-21 09:08:13 +08:00
walon 5766d2f2f4 change : update package.json of obfuz 2025-05-21 09:06:09 +08:00
walon 8f66a0ac5b change: add ignore HybridCLRData to .gitignore 2025-05-20 17:34:18 +08:00
walon 544f8157fc add: add sample WorkWithHybridCLR 2025-05-20 17:33:18 +08:00
walon bed98bd6be add: add sample CustomConfigure 2025-05-20 16:48:06 +08:00
walon aa2ea50ed3 fix: fix the bug that `[ObfuzIgnore]` doesn't take effect in nested child type 2025-05-20 16:37:38 +08:00
walon faeafc3cf8 new: add sample project MultiObfuscatedAssemblies 2025-05-20 15:32:45 +08:00
walon e13adb7efd change : changes for QuickStart Sample 2025-05-20 15:32:02 +08:00
walon 746e75b70e clean: remove unused type and fields of SymbolMappingReader 2025-05-20 14:26:11 +08:00
walon 0d04b11429 fix: fix bug of ConfigurableRenamePolicy::MatchClassType 2025-05-20 11:46:28 +08:00
walon 98ee041b4d change: add classType for class rule of symbol obfuscation 2025-05-20 11:33:56 +08:00
walon b618f2cb1e fix: don't ignore methods which contains `[CompilerGenerated]` 2025-05-20 11:09:26 +08:00
walon 570033520e refactor: refactor CallObfus rule schema 2025-05-20 11:08:39 +08:00
walon 685f5f5530 add: add EncryptFieldAttribute 2025-05-20 11:08:07 +08:00
walon 0f6207b0ae fix: nested type uses declaring type rule in symbol obfuscation 2025-05-19 19:47:10 +08:00
walon dca7c5831f refactor: refactor and simplify symbol rule defines. 2025-05-19 19:35:15 +08:00
walon b7cbd9d325 fix: FIXME temporary fix the bug where obfuscated virtual function names conflict with regular function names 2025-05-19 17:51:18 +08:00
walon 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!
2025-05-19 17:11:32 +08:00
walon 5f63818841 change: sorted assembly and type by name before write to symbol mapping file 2025-05-19 16:25:47 +08:00
walon a4014fe829 changed: don't record parameter name mapping in symbol mapping file. we consider this is unnecessary. 2025-05-19 15:50:15 +08:00
walon 18be3c9f24 remove: remove obfuscation rule for method parameter. we simplify rule that if obfuscates a method, we also obfuscate its parameters. 2025-05-19 15:46:12 +08:00
walon b671137958 fix: fix bug that Symbol Obfuscation obfuscates member of Delegate incorrectly. 2025-05-19 14:17:20 +08:00