mirror of
https://github.com/frida/frida-python.git
synced 2026-11-11 17:12:19 -10:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b7e22441ef |
No files matched your search
@@ -77,3 +77,8 @@ def make_auth_callback(callback: Callable[[str], Any]) -> Callable[[Any], str]:
|
||||
return json.dumps(session_info)
|
||||
|
||||
return authenticate
|
||||
|
||||
|
||||
# TEMPORARY DEBUG HACK
|
||||
def print_alive_tasks() -> None:
|
||||
_frida.print_alive_tasks()
|
||||
@@ -78,3 +78,8 @@ def make_auth_callback(callback: Callable[[str], Any]) -> Callable[[Any], str]:
|
||||
return json.dumps(session_info)
|
||||
|
||||
return authenticate
|
||||
|
||||
|
||||
# TEMPORARY DEBUG HACK
|
||||
def print_alive_tasks() -> None:
|
||||
_frida.print_alive_tasks()
|
||||
@@ -0,0 +1,11 @@
|
||||
/* TEMPORARY DEBUG HACK: needs a GLib built with G_ENABLE_DEBUG. */
|
||||
extern void g_task_print_alive_tasks (void);
|
||||
|
||||
static PyObject *
|
||||
PyFrida_print_alive_tasks (PyObject * module,
|
||||
PyObject * args)
|
||||
{
|
||||
g_task_print_alive_tasks ();
|
||||
|
||||
Py_RETURN_NONE;
|
||||
}
|
||||
@@ -34,6 +34,12 @@ def load_customizations() -> Customizations:
|
||||
c_symbol="PyFrida_get_device_manager",
|
||||
asset="module_get_device_manager.c",
|
||||
),
|
||||
# TEMPORARY DEBUG HACK
|
||||
ModuleFunction(
|
||||
py_name="print_alive_tasks",
|
||||
c_symbol="PyFrida_print_alive_tasks",
|
||||
asset="module_print_alive_tasks.c",
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user