Il2CppDumper icon indicating copy to clipboard operation
Il2CppDumper copied to clipboard

System.InvalidOperationException: Sequence contains no matching element

Open KingKong5147 opened this issue 2 years ago • 2 comments

Dear Perfare,

Firstly i would like to say Thank you for the awesome work you do for everybody in the community and everyone that use this marvelous tool! :)

-6.7.25 (Latest Version)

  • Target Unity version is 27

  • The issue im having is the following

  • Initializing il2cpp file... Il2Cpp Version: 27 Searching... System.InvalidOperationException: Sequence contains no matching element at System.Linq.Enumerable.First[TSource](IEnumerable1 source, Func2 predicate) at Il2CppDumper.Macho64.MapVATR(UInt64 addr) in C:\projects\il2cppdumper\Il2CppDumper\ExecutableFormats\Macho64.cs:line 71 at Il2CppDumper.SectionHelper.FindMetadataRegistrationV21() in C:\projects\il2cppdumper\Il2CppDumper\Utils\SectionHelper.cs:line 256 at Il2CppDumper.Macho64.PlusSearch(Int32 methodCount, Int32 typeDefinitionsCount, Int32 imageCount) in C:\projects\il2cppdumper\Il2CppDumper\ExecutableFormats\Macho64.cs:line 241 at Il2CppDumper.Program.Init(String il2cppPath, String metadataPath, Metadata& metadata, Il2Cpp& il2Cpp) in C:\projects\il2cppdumper\Il2CppDumper\Program.cs:line 213 ERROR: An error occurred while processing. Press any key to exit...

https://iosddl.net/40c13a571b64301c/Slime_Idle.7z

Thank you for your time

KingKong5147 avatar Aug 19 '22 22:08 KingKong5147

这个问题你解决了吗,我也碰到同样的问题

thermos17 avatar Sep 20 '22 05:09 thermos17

这个问题你解决了吗,我也碰到同样的问题

No, it would seem Perfare is busy. This issue still remains unsolved at this time.

KK6684 avatar Sep 20 '22 21:09 KK6684

https://github.com/Perfare/Il2CppDumper/blob/master/Il2CppDumper/Utils/SectionHelper.cs#L232

The value that comes out of this is wildly wrong. The sections in your file are 8 digits long and the 64 bit value located at that address is 13510798971045456 which is never going to be found.

I'll attempt some more digging and comparing known good files to see what should actually happen here tomorrow.

bluewave41 avatar Sep 25 '22 04:09 bluewave41

I look forward to the solution.

Sent from my iPhone

On 25 Sep 2022, at 2:00 pm, Matthew Semeniuk @.***> wrote:



https://github.com/Perfare/Il2CppDumper/blob/master/Il2CppDumper/Utils/SectionHelper.cs#L232

The value that comes out of this is wildly wrong. The sections in your file are 8 digits long and the 64 bit value located at that address is 13510798971045456 which is never going to be found.

I'll attempt some more digging and comparing to see what should happen here.

— Reply to this email directly, view it on GitHubhttps://github.com/Perfare/Il2CppDumper/issues/651#issuecomment-1257114265, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3DDCE2JOM6DSHIC2777LO3V77E6RANCNFSM57CCVMYQ. You are receiving this because you commented.Message ID: @.***>

KK6684 avatar Sep 25 '22 04:09 KK6684

https://github.com/Perfare/Il2CppDumper/blob/master/Il2CppDumper/Utils/SectionHelper.cs#L232

由此产生的价值是非常错误的。您文件中的部分长度为 8 位,位于该地址的 64 位值是 13510798971045456 永远不会被发现。

我将尝试更多地挖掘和比较已知的好文件,看看明天会发生什么。

I will wait

thermos17 avatar Sep 29 '22 09:09 thermos17

Closed because had the same issue.

Perfare avatar Jan 29 '23 19:01 Perfare