olivato
a1237f87d5
Add symbolObfusSettings.enableMemberReordering to shuffle type and member declaration order
2026-09-01 16:13:56 +01:00
olivato
e6fd9d404c
Merge remote-tracking branch 'upstream/main'
2026-09-01 16:05:54 +01:00
Gabriel Olivato
72397812cd
Ignore a previous symbol mapping when names are randomised
...
Reusing the previous build's mapping returns every pre-existing symbol to its
old name, which silently undoes the randomisation while every build-side check
still passes. Deleting the mapping file before each build worked but left the
guarantee resting on the caller.
2026-08-19 18:05:15 +01:00
Gabriel Olivato
dcf38b3f0f
Add symbolObfusSettings.nameRandomSeed to randomise generated symbol names
...
Upstream assigns obfuscated names from a monotonic base-52 counter, so two
builds of the same source produce an identical mapping and a build with a
small source change keeps almost every previous name. An attacker who
reverses build N therefore carries that work forward to build N+1.
nameRandomSeed = 0 keeps the original counter, so this is opt-in and the
default behaviour is unchanged.
2026-08-19 17:53:01 +01:00
walon
fa2345017a
fix: fix VirtualMethodGroupCalculator.TypeFlatMethods::IsLooseTypeSigMatch treats type and forward type as different type by type.AssemblyQualifiedName which leads same-virtual-slot virtual methods are grouped to different virtual method group. see [issue-32]( https://github.com/focus-creative-games/obfuz/issues/32 )
2026-07-19 13:02:21 +08:00
walon
977779c8b7
fix(SymbolObfus): still rename parameter names of .ctor and ..ctor even they aren't renamed
2026-07-03 10:02:55 +08:00
walon
6c543d233a
add copyright header to all cs files.
2025-10-29 20:40:37 +08:00
walon
59b1166ff3
fix: 修复 ReflectionCompatibilityDetector处理Unity 6000新增的Enum.TryParse(Type,bool, out object)函数时抛出异常的bug
...
refactor: 将 ReflectionCompatibilityDetector移到独立的ReflectionCompatibilityDetectionPass
2025-08-27 20:15:20 +08:00
walon
e3d9d7a08e
重构GroupByModuleEntityManager代码
2025-07-02 18:57:53 +08:00
walon
5cdc4c9f92
修复符号混淆开启Debug时由于没有读取mapping文件导致增量混淆结果不一样的bug
2025-06-22 10:48:08 +08:00
walon
0fe0a91793
修复 ReflectionCompatibilityDetector错误地对未混淆程序集中Enum打印错误日志的bug
2025-06-16 11:41:18 +08:00
walon
3f00d5ca91
新增 ReflectionCompatibilityDetector
2025-06-13 21:00:58 +08:00
walon
ea5a8e62ce
修复当混淆程序集虚函数override了nonObfuscatedButReferencingObfuscatedModuleSet程序集中虚函数,错误地将nonObfuscatedButReferencingObfuscatedModuleSet中虚函数也混淆的bug
2025-06-12 10:30:42 +08:00
walon
3867a98d48
修复未Preserve混淆后的名字,导致新增的混淆函数名与旧的混淆函数名冲突的严重bug
2025-06-10 13:55:09 +08:00
walon
f1c423ed02
SymbolObfuscationSettings新增配置项keepUnknownSymbolInSymbolMappingFile
2025-06-06 22:57:28 +08:00
walon
39c9925cbc
obfuz仓库只保留obfuz,将Samples、obfuz4hybridclr和DeobfuscatedStackTrace拆分为独立的仓库
2025-06-02 09:48:44 +08:00