Class

FridaSession

Description [src]

final class Frida.Session : GObject.Object
{
  /* No available fields */
}

A live connection to a process, obtained via frida_device_attach(), through which scripts can be created and run.

Ancestors

Instance methods

frida_session_is_detached

Checks whether the session has been detached from the target.

frida_session_detach

Detaches from the target process, tearing down all scripts created through this session.

frida_session_detach_finish

Detaches from the target process, tearing down all scripts created through this session.

frida_session_detach_sync

Detaches from the target process, tearing down all scripts created through this session.

frida_session_resume

Resumes a session that was persisted across a disconnection, reattaching to the target.

frida_session_resume_finish

Resumes a session that was persisted across a disconnection, reattaching to the target.

frida_session_resume_sync

Resumes a session that was persisted across a disconnection, reattaching to the target.

frida_session_enable_child_gating

Enables child gating, so that children of the target process are held suspended until explicitly resumed.

frida_session_enable_child_gating_finish

Enables child gating, so that children of the target process are held suspended until explicitly resumed.

frida_session_enable_child_gating_sync

Enables child gating, so that children of the target process are held suspended until explicitly resumed.

frida_session_disable_child_gating

Disables child gating.

frida_session_disable_child_gating_sync

Disables child gating.

frida_session_create_script

Creates a new script from JavaScript source.

frida_session_create_script_finish

Creates a new script from JavaScript source.

frida_session_create_script_sync

Creates a new script from JavaScript source.

frida_session_create_script_from_bytes

Creates a new script from a precompiled bytecode blob, as produced by frida_session_compile_script().

frida_session_create_script_from_bytes_finish

Creates a new script from a precompiled bytecode blob, as produced by frida_session_compile_script().

frida_session_create_script_from_bytes_sync

Creates a new script from a precompiled bytecode blob, as produced by frida_session_compile_script().

frida_session_compile_script

Compiles JavaScript source to a bytecode blob, which can later be loaded with frida_session_create_script_from_bytes().

frida_session_compile_script_finish

Compiles JavaScript source to a bytecode blob, which can later be loaded with frida_session_create_script_from_bytes().

frida_session_compile_script_sync

Compiles JavaScript source to a bytecode blob, which can later be loaded with frida_session_create_script_from_bytes().

frida_session_snapshot_script

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

frida_session_snapshot_script_finish

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

frida_session_snapshot_script_sync

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

frida_session_setup_peer_connection

Sets up a peer-to-peer connection to the target, so that subsequent traffic flows directly rather than through the device’s host session.

frida_session_setup_peer_connection_finish

Sets up a peer-to-peer connection to the target, so that subsequent traffic flows directly rather than through the device’s host session.

frida_session_setup_peer_connection_sync

Sets up a peer-to-peer connection to the target, so that subsequent traffic flows directly rather than through the device’s host session.

frida_session_join_portal

Joins a portal, making the target reachable through it.

frida_session_join_portal_finish

Joins a portal, making the target reachable through it.

frida_session_join_portal_sync

Joins a portal, making the target reachable through it.

frida_session_get_pid

The PID of the attached process.

frida_session_get_persist_timeout

How long the session may survive a temporary disconnection before being torn down, in seconds; 0 means no persistence.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Frida.Session:pid

The PID of the attached process.

Frida.Session:persist-timeout

How long the session may survive a temporary disconnection before being torn down, in seconds; 0 means no persistence.

Signals

Frida.Session::detached

Emitted when the session is detached from the target process.

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct FridaSessionClass {
  /* no available fields */
}

No description available.