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
974 stars 199 forks source link

Trace missing calls #232

Closed sanktanglia closed 1 year ago

sanktanglia commented 1 year ago

Trace appears to be missing some calls and i cant figure out why, my code is

    Il2Cpp.trace()
    .assemblies(Il2Cpp.Domain.assembly('UnityEngine.UnityWebRequestModule'))
    .and()
    .attach("detailed");

I can see some properties being called on UnityWebRequest but it cant see the constructor or other method/property for some reason

vfsfitvnm commented 1 year ago

How can you say some calls are being missed?

sanktanglia commented 1 year ago

Because I see some calls being made to properties on unity web request like get_is_done and get_result but that's it, doesn't see it getting constructed though nor does it show what's actually happening when the request fails. I

On Fri, Sep 30, 2022, 11:31 PM vfsfitvnm @.***> wrote:

How can you say some calls are being missed?

— Reply to this email directly, view it on GitHub https://github.com/vfsfitvnm/frida-il2cpp-bridge/issues/232#issuecomment-1264263434, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7YSBNH5N4S2B67BV5QMRDWA7LCLANCNFSM6AAAAAAQ2GEL4I . You are receiving this because you authored the thread.Message ID: @.***>

vfsfitvnm commented 1 year ago

Well, this is not a bug or something, it really depends on the application you are dealing with. Maybe you are hooking the wrong module or class. I cannot help you further as the piece of information you collected is unhelpful

TomieAi commented 1 year ago

does this only work on real device xD on emulator like bluestack it doesnt have anything but it spawn the app tho