Method

FridaSessionsnapshot_script

Declaration

void
frida_session_snapshot_script (
  FridaSession* self,
  const gchar* embed_script,
  FridaSnapshotOptions* options,
  GCancellable* cancellable,
  GAsyncReadyCallback _callback_,
  void* _callback__target
)

Description [src]

Builds a heap snapshot by running the given script, so that scripts created later can start from the captured state.

Parameters

embed_script

Type: const gchar*

JavaScript to run to set up the snapshot.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
options

Type: FridaSnapshotOptions

Snapshot options, or null.

The argument can be NULL.
The data is owned by the caller of the method.
cancellable

Type: GCancellable

No description available.

The argument can be NULL.
The data is owned by the caller of the method.
_callback_

Type: GAsyncReadyCallback

No description available.

The argument can be NULL.
_callback__target

Type: void*

No description available.

The argument can be NULL.
The data is owned by the caller of the method.