Function
Gumprocess_modify_thread
Declaration [src]
gboolean
gum_process_modify_thread (
GumThreadId thread_id,
GumModifyThreadFunc func,
gpointer user_data,
GumModifyThreadFlags flags
)
Description [src]
Modifies a given thread by first pausing it, reading its state, and then
passing that to func, followed by writing back the new state and then
resuming the thread. May also be used to inspect the current state without
modifying it.
Parameters
thread_id-
Type:
GumThreadIdID of thread to modify.
func-
Type:
GumModifyThreadFuncFunction to apply the modifications.
user_data-
Type:
gpointerData to pass to
func.The argument can be NULL.The data is owned by the caller of the function. flags-
Type:
GumModifyThreadFlagsFlags to customize behavior.