Interface
FridaInjector
Description [src]
interface Frida.Injector : GObject.Object
Injects shared libraries into processes, the lower-level primitive underlying agent injection.
Prerequisite
In order to implement Injector, your type must inherit fromGObject.
Functions
frida_injector_new
Creates an injector backed by a helper process, suitable for injecting into other processes.
frida_injector_new_inprocess
Creates an in-process injector, for injecting into the current process.
Instance methods
frida_injector_inject_library_blob_finish
Injects a shared library from an in-memory blob into a process.
frida_injector_inject_library_blob_sync
Injects a shared library from an in-memory blob into a process.
frida_injector_demonitor_finish
Stops monitoring an injected library, so its unload is no longer tracked.
frida_injector_demonitor_sync
Stops monitoring an injected library, so its unload is no longer tracked.
frida_injector_demonitor_and_clone_state
Stops monitoring an injection and clones its state into a new injection that inherits it.
frida_injector_demonitor_and_clone_state_finish
Stops monitoring an injection and clones its state into a new injection that inherits it.
frida_injector_demonitor_and_clone_state_sync
Stops monitoring an injection and clones its state into a new injection that inherits it.
frida_injector_recreate_thread
Recreates the thread used by an injection in the target process, for example after the process has forked.
frida_injector_recreate_thread_finish
Recreates the thread used by an injection in the target process, for example after the process has forked.
frida_injector_recreate_thread_sync
Recreates the thread used by an injection in the target process, for example after the process has forked.
Interface structure
struct FridaInjectorIface {
void (* close) (
FridaInjector* self,
GCancellable* cancellable,
GAsyncReadyCallback _callback_,
void* _callback__target
);
void (* close_finish) (
FridaInjector* self,
GAsyncResult* _res_,
GError** error
);
void (* inject_library_file) (
FridaInjector* self,
guint pid,
const gchar* path,
const gchar* entrypoint,
const gchar* data,
GCancellable* cancellable,
GAsyncReadyCallback _callback_,
void* _callback__target
);
guint (* inject_library_file_finish) (
FridaInjector* self,
GAsyncResult* _res_,
GError** error
);
void (* inject_library_blob) (
FridaInjector* self,
guint pid,
GBytes* blob,
const gchar* entrypoint,
const gchar* data,
GCancellable* cancellable,
GAsyncReadyCallback _callback_,
void* _callback__target
);
guint (* inject_library_blob_finish) (
FridaInjector* self,
GAsyncResult* _res_,
GError** error
);
void (* demonitor) (
FridaInjector* self,
guint id,
GCancellable* cancellable,
GAsyncReadyCallback _callback_,
void* _callback__target
);
void (* demonitor_finish) (
FridaInjector* self,
GAsyncResult* _res_,
GError** error
);
void (* demonitor_and_clone_state) (
FridaInjector* self,
guint id,
GCancellable* cancellable,
GAsyncReadyCallback _callback_,
void* _callback__target
);
guint (* demonitor_and_clone_state_finish) (
FridaInjector* self,
GAsyncResult* _res_,
GError** error
);
void (* recreate_thread) (
FridaInjector* self,
guint pid,
guint id,
GCancellable* cancellable,
GAsyncReadyCallback _callback_,
void* _callback__target
);
void (* recreate_thread_finish) (
FridaInjector* self,
GAsyncResult* _res_,
GError** error
);
}
No description available.
Interface members
close |
|
No description available. |
|
close_finish |
|
No description available. |
|
inject_library_file |
|
No description available. |
|
inject_library_file_finish |
|
No description available. |
|
inject_library_blob |
|
No description available. |
|
inject_library_blob_finish |
|
No description available. |
|
demonitor |
|
No description available. |
|
demonitor_finish |
|
No description available. |
|
demonitor_and_clone_state |
|
No description available. |
|
demonitor_and_clone_state_finish |
|
No description available. |
|
recreate_thread |
|
No description available. |
|
recreate_thread_finish |
|
No description available. |
Virtual methods
Frida.Injector.inject_library_blob_finish
Injects a shared library from an in-memory blob into a process.
Frida.Injector.demonitor_finish
Stops monitoring an injected library, so its unload is no longer tracked.
Frida.Injector.demonitor_and_clone_state
Stops monitoring an injection and clones its state into a new injection that inherits it.
Frida.Injector.demonitor_and_clone_state_finish
Stops monitoring an injection and clones its state into a new injection that inherits it.
Frida.Injector.recreate_thread
Recreates the thread used by an injection in the target process, for example after the process has forked.
Frida.Injector.recreate_thread_finish
Recreates the thread used by an injection in the target process, for example after the process has forked.