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

Il2Cpp.trace => Error: access violation accessing #524

Closed alongsoft2018 closed 1 month ago

alongsoft2018 commented 1 month ago

I am trying to analyze an online mobile game, os: android14 cpu: arm64

Il2Cpp.trace(false).methods(traceFunc).and().attach(); // <= false output

0x010f24cc │ └─Scene::set_NowSceneConfig 0x010f24cc │ ┌─Scene::set_NowSceneConfig 0x010f24cc │ └─Scene::set_NowSceneConfig 0x010f24cc │ ┌─Scene::set_NowSceneConfig 0x010f24cc │ └─Scene::set_NowSceneConfig 0x010f24cc │ ┌─Scene::set_NowSceneConfig 0x010f24cc │ └─Scene::set_NowSceneConfig 0x010f24cc └─Scene::set_NowSceneConfig

HotFix: 0xb4000072a332bac0 0 1 2 3 4 5 6 7 8 9 A B C D E F 0123456789ABCDEF b4000072a332bac0 c0 f3 3f a3 72 00 00 b4 44 df c3 1b 6f 00 00 b4 ..?.r...D...o...

Il2Cpp.trace(true).methods(traceFunc).and().attach(); // <= true output

Error: access violation accessing 0xf7757bb8 at callback (il2cpp/tracer.ts:300) Error: access violation accessing 0xf77566a8 at callback (il2cpp/tracer.ts:300) Error: access violation accessing 0xf7757bb8 at callback (il2cpp/tracer.ts:300) Error: access violation accessing 0xf7757bb8 at callback (il2cpp/tracer.ts:300) Error: access violation accessing 0xf7757bb8 at callback (il2cpp/tracer.ts:300) Error: access violation accessing 0xf77566a8 at callback (il2cpp/tracer.ts:300)

commonuserlol commented 1 month ago

hey, you can try my fork (in pull requests) which should fix this issue

alongsoft2018 commented 1 month ago

hey, you can try my fork (in pull requests) which should fix this issue

Thank you. It's really useful

commonuserlol commented 1 month ago

You can close this if it works now.