Readonly
loaderClass loader currently being used. For the default class factory this
is updated by the first call to Java.perform()
.
Naming convention to use for temporary files.
Defaults to { prefix: "frida", suffix: "dat" }
.
Creates a Java array with elements of the specified type
, from a
JavaScript array elements
. The resulting Java array behaves like
a JS array, but can be passed by reference to Java APIs in order to
allow them to modify its contents.
Type name of elements.
Array of JavaScript values to use for constructing the Java array.
Creates a JavaScript wrapper given the existing instance at handle
of
given class klass
as returned from Java.use()
.
An existing wrapper or a JNI handle.
Class wrapper for type to cast to.
Enumerates live instances of the className
class by scanning the Java
VM's heap.
Name of class to enumerate instances of.
Object with callbacks.
Dynamically generates a JavaScript wrapper for className
that you can
instantiate objects from by calling $new()
on to invoke a constructor.
Call $dispose()
on an instance to clean it up explicitly, or wait for
the JavaScript object to get garbage-collected, or script to get
unloaded. Static and non-static methods are available, and you can even
replace method implementations.
Canonical class name to get a wrapper for.
Static
getGets the class factory instance for a given class loader, or the
default factory when passing null
.
The default class factory used behind the scenes only interacts
with the application's main class loader. Other class loaders
can be discovered through APIs such as Java.enumerateMethods()
and
Java.enumerateClassLoaders()
, and subsequently interacted with
through this API.
Generated using TypeDoc
Path to cache directory currently being used. For the default class factory this is updated by the first call to
Java.perform()
.