Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【xx.1分支判断(limit数值)错误】《world dai star》1.30.0解析时出现异常Count数,导致分析失败 #805

Open
esterTion opened this issue Jul 26, 2024 · 1 comment

Comments

@esterTion
Copy link

请注意:如果你没有提供以下所有信息我将会直接无视并关闭这个issue

  • Il2CppDumper版本

6.7.46

  • 目标Unity版本 (可以不填)

2021.3.37f1

  • 问题描述

《world dai star》(ios android)1.30.0的ios版本在解析时出现问题,疑似codeRegistration查找错误,genericMethodPointersCount93invokerPointersCount168309160
在以前的版本中没有出现这个问题。
测试android侧也是同样的问题。

暂时通过在ReadClassArray中try catch提前返回,且跳过Init结尾的超范围查表后,可以勉强生成一个可用于提取类型的dump.cs

  • 上传可执行文件和global-metadata.dat

https://estertion.win/media/wds-1.30.0-UnityFramework.7z
https://estertion.win/media/wds-1.30.0-global-metadata.7z

@esterTion
Copy link
Author

esterTion commented Jul 26, 2024

后续跟进:
经过调试发现,Il2CppDumper/Il2Cpp/Il2Cpp.cs#L55limit有误,在1.29.0时genericMethodPointersCount0x4ffeb,已经在边界了,1.30.0时达到了0x510c4,触发了29.1并使codeReg前移了0x10
暂时针对这一个游戏将0x50000改为0x60000可以用,具体limit的得出不确定是不是应该查一下il2cpp源码

@esterTion esterTion changed the title 《world dai star》1.30.0解析时出现异常Count数,导致分析失败 【xx.1分支判断(limit数值)错误】《world dai star》1.30.0解析时出现异常Count数,导致分析失败 Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant