Commit Graph

57 Commits (10eef16d78581bb8bfb070445cd191424a41ca3f)

Author SHA1 Message Date
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
walon 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 2025-05-19 13:40:13 +08:00
walon 305a56b3db change: Call Obfuscation doesn't obfuscate calling method of EncryptionService 2025-05-19 13:07:29 +08:00
walon a40a45e8aa fix: fix the bug that ConstEncryptPass::TryObfuscateInstruction didn't obfuscation ldc_i4_xxx because their OperandType is None 2025-05-19 12:55:26 +08:00
walon 6306a5604a fix: fix incorrect assert in DefaultConstEncryptor::ObfuscateString 2025-05-19 12:53:35 +08:00
walon bd6c70072f change: remove AssemblyReferenceInfo class 2025-05-19 10:42:21 +08:00
walon dcbbcadfd3 fix: fix the bug of BackupOriginalDlls didn't copy original assemblies in Build Process 2025-05-19 10:40:33 +08:00
walon 3488aee789 fix: if type contains `[ObfuzIgnore]` attribute, both itself and all nested type should be skipped SymbolObfus. 2025-05-18 22:17:20 +08:00
walon 09ad0eb744 change: if type contains `[ObfuzIgnore]` attribute, both itself and all nested type should be ignored. 2025-05-18 22:04:37 +08:00
walon 45a07bc2ae change: warning when GenerateEncryptionOpCodes exceeds uint.MaxValue 2025-05-18 17:09:56 +08:00
walon 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. 2025-05-18 16:43:11 +08:00
walon 56374bbac7 fix: fix bug of TypeSigUtil::ComputeMethodDefSignature that didn't distinguish not generic method with generic method which have same return and parameter types. 2025-05-18 11:17:24 +08:00
walon 7619928b07 refactor: refactor Obfuz project, simplify codes. 2025-05-18 10:36:45 +08:00
walon d2b730dad2 add: add QuickStart sample 2025-05-18 10:23:23 +08:00
walon b52c91c892 change: add link to gitee 2025-05-18 09:44:17 +08:00
walon a411ca480a update Bootstrap because secretKey file path is changed. 2025-05-17 19:39:37 +08:00
walon db24958aff change: rename menu `Obfuz/GenerateVM` to `Obfuz/GenerateEncryptionVM`, rename `Obfuz/SaveSecretFile` to `Obfuz/GenerateSecretKeyFile` 2025-05-17 19:38:34 +08:00
walon 1e4448e8b9 update: update README 2025-05-17 19:37:11 +08:00
walon d59939f3e6 fix: fix ObfuzSettings::LoadOrCreate failed in some cases. 2025-05-17 16:46:09 +08:00