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
946 stars 194 forks source link

Issues running with Frida Gadget #299

Closed ExternalAddress4401 closed 1 year ago

ExternalAddress4401 commented 1 year ago

There's still an issue that occurs with frida gadget. I'm running version 0.8.1 and Android 13.

My script is as follows:

import "frida-il2cpp-bridge";
import Logger from "../lib/Logger.js";

Il2Cpp.perform(() => {
  Logger.log(`Inside perform block`);
});

Where the Logger method just prints as so

    var Log = Java.use("android.util.Log");
    Log.v("script", str);

This gives no output.

To get an output from this you must change https://github.com/vfsfitvnm/frida-il2cpp-bridge/blob/master/src/il2cpp/module.ts#L48 and remove the setImmediate call then call resolve directly.

vfsfitvnm commented 1 year ago

This one might be a duplicate of #185 or #95.

Would you confirm this is not the case? https://github.com/vfsfitvnm/frida-il2cpp-bridge/issues/95#issuecomment-1040747383

vfsfitvnm commented 1 year ago

Closing for inactivity.