vfsfitvnm / frida-il2cpp-bridge

A Frida module to dump, trace or hijack any Il2Cpp application at runtime, without needing the global-metadata.dat file.
https://github.com/vfsfitvnm/frida-il2cpp-bridge/wiki
MIT License
1.04k stars 203 forks source link

Il2cpp.module is not being cached and makes dump slower #551

Open AkaShrug opened 1 month ago

AkaShrug commented 1 month ago

any call that use it like relativeVirtualAddress on method will try to fetch the module again and can slow full dump from 6s to almost few minutes no idea if this something wrong with my setup

vfsfitvnm commented 1 month ago

The caching happens here; are you using Il2Cpp.perform?

AkaShrug commented 1 month ago

oh was not using Il2Cpp.perform when testing so that shouldnt be decorated with lazy ?

AkaShrug commented 1 month ago

but ye it only happens when not using Il2Cpp.perform