Skip to content

When using spawn, Java.Perform doesn't work before resume. #25

Description

@olifozzy

I tried both using Node app, and REPL.
Agent code :

send('> Agent Start');
Java.perform(function () {
    send('>> Java perform');
    var Activity = Java.use("android.app.Activity");
    Activity.onResume.implementation = function () {
        send("onResume() got called! Let's call the original implementation");
        this.onResume();
    };
});
send('< Agent End');

I do see the "Agent Start" and "Agent End", but no "Java perform" message.

firda-server 9.1.20
frida repl 9.1.20

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions