Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loaded script globals are no longer added to the REPL namespace #117

Open
detunized opened this issue Sep 17, 2022 · 0 comments
Open

Loaded script globals are no longer added to the REPL namespace #117

detunized opened this issue Sep 17, 2022 · 0 comments

Comments

@detunized
Copy link

I upgraded to Frida 15.2.2 and I have to following problem. I used to load a JS script into Frida REPL and all the functions defined in that script were available in the REPL. In the latest version, even though they are executed from the script, I cannot call them manually from the REPL anymore.

Example script:

function testFunc() {
    console.log("testFunc called");
}

Run like this:

> frida -U -F -l test.js --no-pause

In version 15.1.4 I was able to type testFunc in the REPL (with autocompletion even) and execute this function. In 15.2.2 this function is no longer available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant