Getting backtrace to work #554
-
I lately experimented a lot with frida-il2cpp-bridge, and I think it is a very helpful tool. On my latest project I try to hook onto some functions of an android app that is running inside an emulator. In order to achieve my desired results I want to better understand the overall function calls the app is making. So I got my function, but I would like to see where it is called from. I saw that there is a backtrace functionality inside frida-il2cpp-bridge, but I wasn't really able to get it to work. I used the following code. Il2Cpp.backtrace().classes(BattlePreviewPopup).and().attach(); As far as I understand it the backtrace functionality should output the current stack when a function inside the I don't really know if it is a game-specific issue since I saw that the backtrace functionality is still titled "very experimental". I would be interested in hearing if anyone had any success in using this feature. Thanks for your time. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi 😄 frida-il2cpp-bridge/src/tracer.ts Lines 345 to 367 in a28fa2e Unfortunately, it's not possible to go faaar back, and you also should consider that a method might not be called by another method within the IL2CPP module: that's probably why you see an empty log |
Beta Was this translation helpful? Give feedback.
Hi 😄
The backtracer entirely relies on Frida's
Thread::backtrace
- here's how I use it:frida-il2cpp-bridge/src/tracer.ts
Lines 345 to 367 in a28fa2e