Class

FridaDevice

Description [src]

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

Represents a device that Frida can interact with, such as the local system, a USB-connected phone, or a remote frida-server.

Obtain one through a FridaDeviceManager, then use it to spawn or attach to processes.

Ancestors

Instance methods

frida_device_is_lost

Checks whether the connection to the device has been lost.

frida_device_override_option

Overrides a device-level option.

frida_device_query_system_parameters

Queries a set of parameters describing the device and its operating system.

frida_device_query_system_parameters_finish

Queries a set of parameters describing the device and its operating system.

frida_device_query_system_parameters_sync

Queries a set of parameters describing the device and its operating system.

frida_device_get_frontmost_application

Gets the application currently in the foreground, if any.

frida_device_get_frontmost_application_finish

Gets the application currently in the foreground, if any.

frida_device_get_frontmost_application_sync

Gets the application currently in the foreground, if any.

frida_device_enumerate_applications

Enumerates the applications installed on the device.

frida_device_enumerate_applications_finish

Enumerates the applications installed on the device.

frida_device_enumerate_applications_sync

Enumerates the applications installed on the device.

frida_device_get_process_by_pid

Gets the process with the given PID, throwing if it cannot be found.

frida_device_get_process_by_pid_finish

Gets the process with the given PID, throwing if it cannot be found.

frida_device_get_process_by_pid_sync

Gets the process with the given PID, throwing if it cannot be found.

frida_device_get_process_by_name

Gets the process whose name matches, throwing if none is found.

frida_device_get_process_by_name_finish

Gets the process whose name matches, throwing if none is found.

frida_device_get_process_by_name_sync

Gets the process whose name matches, throwing if none is found.

frida_device_get_process

Gets the first process accepted by predicate, throwing if none is found.

frida_device_get_process_finish

Gets the first process accepted by predicate, throwing if none is found.

frida_device_get_process_sync

Gets the first process accepted by predicate, throwing if none is found.

frida_device_find_process_by_pid

Finds the process with the given PID.

frida_device_find_process_by_pid_finish

Finds the process with the given PID.

frida_device_find_process_by_pid_sync

Finds the process with the given PID.

frida_device_find_process_by_name

Finds a process whose name matches.

frida_device_find_process_by_name_finish

Finds a process whose name matches.

frida_device_find_process_by_name_sync

Finds a process whose name matches.

frida_device_find_process

Finds the first process accepted by predicate.

frida_device_find_process_finish

Finds the first process accepted by predicate.

frida_device_find_process_sync

Finds the first process accepted by predicate.

frida_device_enumerate_processes

Enumerates the processes running on the device.

frida_device_enumerate_processes_finish

Enumerates the processes running on the device.

frida_device_enumerate_processes_sync

Enumerates the processes running on the device.

frida_device_enable_spawn_gating

Enables spawn gating, suspending every newly spawned process until it is explicitly resumed.

frida_device_enable_spawn_gating_finish

Enables spawn gating, suspending every newly spawned process until it is explicitly resumed.

frida_device_enable_spawn_gating_sync

Enables spawn gating, suspending every newly spawned process until it is explicitly resumed.

frida_device_disable_spawn_gating

Disables spawn gating.

frida_device_disable_spawn_gating_sync

Disables spawn gating.

frida_device_enumerate_pending_spawn

Enumerates the spawns currently suspended by spawn gating.

frida_device_enumerate_pending_spawn_finish

Enumerates the spawns currently suspended by spawn gating.

frida_device_enumerate_pending_spawn_sync

Enumerates the spawns currently suspended by spawn gating.

frida_device_enumerate_pending_children

Enumerates the children currently suspended by child gating.

frida_device_enumerate_pending_children_finish

Enumerates the children currently suspended by child gating.

frida_device_enumerate_pending_children_sync

Enumerates the children currently suspended by child gating.

frida_device_spawn

Starts a new process in a suspended state, ready to be resumed once instrumentation is in place.

frida_device_spawn_finish

Starts a new process in a suspended state, ready to be resumed once instrumentation is in place.

frida_device_spawn_sync

Starts a new process in a suspended state, ready to be resumed once instrumentation is in place.

frida_device_input

Writes data to the standard input of a spawned process.

frida_device_input_finish

Writes data to the standard input of a spawned process.

frida_device_input_sync

Writes data to the standard input of a spawned process.

frida_device_resume

Resumes a process that was spawned in a suspended state, or suspended via spawn gating.

frida_device_resume_finish

Resumes a process that was spawned in a suspended state, or suspended via spawn gating.

frida_device_resume_sync

Resumes a process that was spawned in a suspended state, or suspended via spawn gating.

frida_device_kill

Terminates a process.

frida_device_kill_finish

Terminates a process.

frida_device_kill_sync

Terminates a process.

frida_device_attach

Attaches to a process, giving a FridaSession through which scripts can be created and run inside it.

frida_device_attach_finish

Attaches to a process, giving a FridaSession through which scripts can be created and run inside it.

frida_device_attach_sync

Attaches to a process, giving a FridaSession through which scripts can be created and run inside it.

frida_device_inject_library_file

Injects a shared library from a file into a process.

frida_device_inject_library_file_finish

Injects a shared library from a file into a process.

frida_device_inject_library_file_sync

Injects a shared library from a file into a process.

frida_device_inject_library_blob

Injects a shared library from an in-memory blob into a process.

frida_device_inject_library_blob_finish

Injects a shared library from an in-memory blob into a process.

frida_device_inject_library_blob_sync

Injects a shared library from an in-memory blob into a process.

frida_device_open_channel

Opens a raw communication channel to the given address on the device.

frida_device_open_channel_finish

Opens a raw communication channel to the given address on the device.

frida_device_open_channel_sync

Opens a raw communication channel to the given address on the device.

frida_device_open_service

Opens a service identified by the given address.

frida_device_open_service_finish

Opens a service identified by the given address.

frida_device_open_service_sync

Opens a service identified by the given address.

frida_device_unpair

Removes any persistent pairing record this host has with the device.

frida_device_unpair_finish

Removes any persistent pairing record this host has with the device.

frida_device_unpair_sync

Removes any persistent pairing record this host has with the device.

frida_device_get_id

The device’s stable identifier.

frida_device_get_name

The device’s human-readable name.

frida_device_get_icon

An icon representing the device, serialized as a variant, or null if none is available.

frida_device_get_dtype

The kind of device: local, remote, or USB.

frida_device_get_bus

The device’s message bus, for exchanging messages with the device.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Frida.Device:id

The device’s stable identifier.

Frida.Device:name

The device’s human-readable name.

Frida.Device:icon

An icon representing the device, serialized as a variant, or null if none is available.

Frida.Device:dtype

The kind of device: local, remote, or USB.

Frida.Device:bus

The device’s message bus, for exchanging messages with the device.

Signals

Frida.Device::spawn-added

Emitted when a process is spawned while spawn gating is enabled.

Frida.Device::spawn-removed

Emitted when a pending spawn is resumed or killed.

Frida.Device::child-added

Emitted when a new child is observed while child gating is enabled.

Frida.Device::child-removed

Emitted when a previously added child is resumed or has gone away.

Frida.Device::process-crashed

Emitted when a process crashes.

Frida.Device::output

Emitted when a spawned process writes to its standard output or error.

Frida.Device::uninjected

Emitted when an injected library has been unloaded.

Frida.Device::lost

Emitted when the connection to the device is lost.

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 FridaDeviceClass {
  /* no available fields */
}

No description available.