Closed Areizen closed 2 years ago
Hey, please use import
statement - require
is stricte runtime function in node (frida doesn't integrate node environment, it's just V8/qjs). import
is processed compile-time and therefore is used by frida-compile + frida itself (as a result of frida-compile).
Thank you :)
Hi,
I'm trying to use
frida-compile
, when compiling binaries and then executing them withfrida
i'm getting the errorrequire
is not defined It seems likerequire()
functions are not removed from the compiled sources ?Reproduction
main.js
lib.js
execution :
Versions
node : v16.17.1 frida-compile : v16.1.3 frida : 16.0.2