Compare commits

...
49 Commits
Author SHA1 Message Date
Ole André Vadla Ravnås 01d8a48185 subprojects: Bump outdated 2026-11-09 22:03:58 +01:00
Ole André Vadla Ravnås 27ed54ecbc submodules: Bump releng 2026-11-09 22:03:58 +01:00
Ole André Vadla Ravnås afe44b1a01 subprojects: Prepare for release 2026-11-07 15:45:39 +01:00
Ole André Vadla Ravnås 6e8e4b7b33 subprojects: Bump outdated 2026-11-07 15:44:28 +01:00
Ole André Vadla Ravnås 118883ed4a subprojects: Prepare for release 2026-11-06 13:15:17 +01:00
Ole André Vadla Ravnås 953c7b8536 subprojects: Bump outdated 2026-11-06 12:19:50 +01:00
Ole André Vadla Ravnås 2d99d286d0 submodules: Bump releng 2026-11-06 12:19:50 +01:00
Ole André Vadla Ravnås c1f4eb997b subprojects: Prepare for release 2026-11-05 22:46:00 +01:00
Ole André Vadla Ravnås 692c411fbd subprojects: Bump outdated 2026-11-05 22:44:13 +01:00
Ole André Vadla Ravnås 00c0d152e7 subprojects: Bump outdated 2026-11-05 22:00:10 +01:00
Ole André Vadla Ravnås 4efb1e1e65 subprojects: Bump outdated 2026-11-05 21:01:05 +01:00
Ole André Vadla Ravnås 388915ca1e subprojects: Bump outdated 2026-11-04 12:54:07 +01:00
Ole André Vadla Ravnås 1c36106f8c submodules: Bump releng 2026-11-04 12:54:07 +01:00
Ole André Vadla Ravnås 50ad5f65dd subprojects: Prepare for release 2026-11-02 22:10:40 +01:00
Ole André Vadla Ravnås 9a9ccbad64 subprojects: Bump outdated 2026-11-02 22:09:07 +01:00
Ole André Vadla Ravnås 35a37f395a subprojects: Prepare for release 2026-11-01 15:11:47 +01:00
Ole André Vadla Ravnås 135d9a2ac7 subprojects: Bump outdated 2026-11-01 15:10:35 +01:00
Ole André Vadla Ravnås 3b0570d829 subprojects: Bump outdated 2026-10-31 00:48:22 +01:00
Ole André Vadla Ravnås 95ede66f87 subprojects: Bump outdated 2026-10-30 23:13:01 +01:00
Ole André Vadla Ravnås 9c424b152d subprojects: Bump outdated 2026-10-30 21:59:16 +01:00
Ole André Vadla Ravnås 4d4d594f45 submodules: Bump releng 2026-10-30 21:59:16 +01:00
Ole André Vadla Ravnås 556c44df84 examples: Use frida-forks URL for dbus-next 2026-10-30 21:53:04 +01:00
Ole André Vadla Ravnås c686293400 subprojects: Prepare for release 2026-10-30 14:34:01 +01:00
Ole André Vadla Ravnås ee02bd8af2 subprojects: Bump outdated 2026-10-30 14:01:37 +01:00
Ole André Vadla Ravnås 5f224307bb bindgen: Narrow factory marshals for mypy 2026-10-30 13:03:31 +01:00
Ole André Vadla Ravnås 7357b0b5b4 Format with Black 26 2026-10-30 13:03:17 +01:00
Ole André Vadla Ravnås 2f2bb64f36 subprojects: Bump outdated 2026-10-30 07:08:42 +01:00
Ole André Vadla Ravnås 5a0894aaac subprojects: Bump outdated 2026-10-30 07:00:11 +01:00
Ole André Vadla Ravnås 0bcb9da6c5 submodules: Bump releng 2026-10-30 07:00:11 +01:00
Ole André Vadla Ravnås 2316a9f36d subprojects: Bump outdated 2026-10-29 23:02:21 +01:00
Ole André Vadla Ravnås 720d09bbbc subprojects: Bump outdated 2026-10-29 21:53:15 +01:00
Ole André Vadla Ravnås 1269168a06 subprojects: Bump outdated 2026-10-29 21:28:24 +01:00
Ole André Vadla Ravnås b6c8f04757 submodules: Bump releng 2026-10-29 21:28:24 +01:00
Ole André Vadla Ravnås a0213a48e4 subprojects: Bump outdated 2026-10-23 13:51:43 +02:00
Ole André Vadla Ravnås b978ae1cf0 submodules: Bump releng 2026-10-23 13:51:43 +02:00
Ole André Vadla Ravnås 8017678437 subprojects: Bump outdated 2026-10-20 21:57:18 +02:00
Ole André Vadla Ravnås caef01a609 subprojects: Bump outdated 2026-10-20 21:39:25 +02:00
Ole André Vadla Ravnås 688b5d5c4d submodules: Bump releng 2026-10-20 21:39:25 +02:00
Ole André Vadla Ravnås bd8ea3369b subprojects: Bump outdated 2026-10-20 21:33:27 +02:00
Ole André Vadla Ravnås 1ecf3cf2a6 subprojects: Bump outdated 2026-10-20 20:23:49 +02:00
Ole André Vadla Ravnås 58ca39d36d build: Sync wrappers with releng 2026-10-20 20:23:49 +02:00
Ole André Vadla Ravnås 79c0305e66 submodules: Bump releng 2026-10-20 20:23:49 +02:00
Ole André Vadla Ravnås c1464592c8 subprojects: Bump outdated 2026-10-20 14:26:04 +02:00
Ole André Vadla Ravnås 1b21ea127b submodules: Bump releng 2026-10-20 14:26:04 +02:00
Ole André Vadla Ravnås b43e681df3 subprojects: Prepare for release 2026-10-19 10:33:32 +02:00
Ole André Vadla Ravnås 15d2d930dc subprojects: Bump outdated 2026-10-19 10:30:59 +02:00
Ole André Vadla Ravnås 24bdbab9cb submodules: Bump releng 2026-10-19 10:30:59 +02:00
Ole André Vadla Ravnås d0267d9f38 subprojects: Prepare for release 2026-10-18 13:53:42 +02:00
Ole André Vadla Ravnås 922dbfad3e subprojects: Bump outdated 2026-10-18 13:52:22 +02:00
11 changed files with 28 additions and 40 deletions

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
PYTHON ?= $(shell which python3 >/dev/null && echo python3 || echo python)
PYTHON ?= $(shell command -v python3 >/dev/null && echo python3 || echo python)
all $(MAKECMDGOALS):
@$(PYTHON) \
@@ -8,7 +8,7 @@ all $(MAKECMDGOALS):
$(MAKECMDGOALS)
git-submodules:
@if [ ! -f releng/meson/meson.py ] || [ ! -f frida-bindgen/frida_bindgen_core/model.py ]; then \
@if [ ! -f releng/meson/meson.py ] || git submodule status 2>/dev/null | grep -q '^-'; then \
git submodule update --init --recursive --depth 1; \
fi
-include git-submodules
Vendored
+2 -2
View File
@@ -1,12 +1,12 @@
#!/bin/sh
[ -z "$PYTHON" ] && PYTHON=$(which python3 >/dev/null && echo python3 || echo python)
[ -z "$PYTHON" ] && PYTHON=$(command -v python3 >/dev/null && echo python3 || echo python)
cd $(dirname $0)
srcroot=$(pwd)
if [ ! -f releng/meson/meson.py ]; then
if [ ! -f releng/meson/meson.py ] || git submodule status 2>/dev/null | grep -q '^-'; then
git submodule update --init --recursive --depth 1 || exit $?
fi
+2 -4
View File
@@ -42,8 +42,7 @@ class Application:
print("✔ enable_child_gating()")
session.enable_child_gating()
print("✔ create_script()")
script = session.create_script(
"""\
script = session.create_script("""\
Interceptor.attach(Module.getGlobalExportByName('open'), {
onEnter(args) {
send({
@@ -52,8 +51,7 @@ Interceptor.attach(Module.getGlobalExportByName('open'), {
});
}
});
"""
)
""")
script.on("message", lambda message, data: self._reactor.schedule(lambda: self._on_message(pid, message)))
print("✔ load()")
script.load()
+2 -4
View File
@@ -1,8 +1,7 @@
import frida
session = frida.attach("Twitter")
script = session.create_script(
"""\
script = session.create_script("""\
rpc.exports = {
hello: function () {
return 'Hello';
@@ -11,8 +10,7 @@ rpc.exports = {
oops;
}
};
"""
)
""")
script.load()
api = script.exports_sync
print("api.hello() =>", api.hello())
+2 -4
View File
@@ -22,8 +22,7 @@ class Application:
self._session = session
session.on("detached", lambda *args: self._reactor.schedule(lambda: self._on_detached(*args)))
script = session.create_script(
"""
script = session.create_script("""
let _puts = null;
Interceptor.attach(DebugSymbol.getFunctionByName('f'), {
@@ -48,8 +47,7 @@ function puts(s) {
}
_puts(Memory.allocUtf8String(s));
}
"""
)
""")
self._script = script
script.on("message", lambda *args: self._reactor.schedule(lambda: self._on_message(*args)))
script.load()
+2 -4
View File
@@ -29,8 +29,7 @@ class Application:
session = self._device.attach(pid)
session.on("detached", lambda reason: self._reactor.schedule(lambda: self._on_detached(pid, session, reason)))
print("✔ create_script()")
script = session.create_script(
"""\
script = session.create_script("""\
const puts = new NativeFunction(Module.getGlobalExportByName('puts'), 'int', ['pointer']);
puts(Memory.allocUtf8String('Hello from Frida agent'));
Interceptor.attach(Module.getGlobalExportByName('open'), {
@@ -41,8 +40,7 @@ Interceptor.attach(Module.getGlobalExportByName('open'), {
});
}
});
"""
)
""")
script.on("message", lambda message, data: self._reactor.schedule(lambda: self._on_message(pid, message)))
print("✔ load()")
script.load()
+4 -4
View File
@@ -9,7 +9,7 @@
"version": "1.0.0",
"dependencies": {
"core-js": "^3.6.5",
"dbus-next": "frida/node-dbus-next",
"dbus-next": "frida-forks/node-dbus-next",
"duplexify": "^4.1.1",
"vue": "^2.6.11",
"vue-class-component": "^7.2.3",
@@ -6509,7 +6509,7 @@
},
"node_modules/dbus-next": {
"version": "0.9.2",
"resolved": "git+ssh://[email protected]/frida/node-dbus-next.git#0e12559b2298c140916541f57fdf9f83cf0b7975",
"resolved": "git+ssh://[email protected]/frida-forks/node-dbus-next.git#0e12559b2298c140916541f57fdf9f83cf0b7975",
"license": "MIT",
"dependencies": {
"@nornagon/put": "0.0.8",
@@ -20437,8 +20437,8 @@
"peer": true
},
"dbus-next": {
"version": "git+ssh://[email protected]/frida/node-dbus-next.git#0e12559b2298c140916541f57fdf9f83cf0b7975",
"from": "dbus-next@frida/node-dbus-next",
"version": "git+ssh://[email protected]/frida-forks/node-dbus-next.git#0e12559b2298c140916541f57fdf9f83cf0b7975",
"from": "dbus-next@frida-forks/node-dbus-next",
"requires": {
"@nornagon/put": "0.0.8",
"abstract-socket": "^2.0.0",
+1 -1
View File
@@ -8,7 +8,7 @@
},
"dependencies": {
"core-js": "^3.6.5",
"dbus-next": "frida/node-dbus-next",
"dbus-next": "frida-forks/node-dbus-next",
"duplexify": "^4.1.1",
"vue": "^2.6.11",
"vue-class-component": "^7.2.3",
+9 -13
View File
@@ -964,7 +964,9 @@ def generate_extension_c(model: Model) -> str:
code += generate_object_type_constructor(otype)
for ctor in factory_constructors(otype):
code += generate_factory_function(otype, ctor, build_constructor_marshals(ctor))
marshals = build_constructor_marshals(ctor)
assert marshals is not None
code += generate_factory_function(otype, ctor, marshals)
return code
@@ -1303,15 +1305,13 @@ def generate_object_type_toplevel_definitions(model: Model) -> str:
cprefix = otype.c_symbol_prefix
if otype.name == "Object":
defs.append(
f"""PYFRIDA_DEFINE_BASETYPE ("_frida.{otype.py_name}", {otype.py_name}, g_object_unref,
defs.append(f"""PYFRIDA_DEFINE_BASETYPE ("_frida.{otype.py_name}", {otype.py_name}, g_object_unref,
{{ Py_tp_doc, "{otype.name}" }},
{{ Py_tp_init, {cprefix}_init }},
{{ Py_tp_dealloc, {cprefix}_dealloc }},
{{ Py_tp_methods, {cprefix}_methods }},
{{ Py_tp_getset, {cprefix}_getsets }},
);"""
)
);""")
continue
parent = otype.parent
@@ -1331,14 +1331,12 @@ def generate_object_type_toplevel_definitions(model: Model) -> str:
)
continue
defs.append(
f"""PYFRIDA_DEFINE_TYPE ("_frida.{otype.py_name}", {otype.py_name}, {parent_name}, g_object_unref,
defs.append(f"""PYFRIDA_DEFINE_TYPE ("_frida.{otype.py_name}", {otype.py_name}, {parent_name}, g_object_unref,
{{ Py_tp_doc, "{otype.name}" }},
{{ Py_tp_init, {cprefix}_init }},
{{ Py_tp_methods, {cprefix}_methods }},
{{ Py_tp_getset, {cprefix}_getsets }},
);"""
)
);""")
return "\n\n".join(defs)
@@ -2768,12 +2766,10 @@ def generate_object_type_structs(model: Model) -> str:
for otype in model.regular_object_types:
if otype.name == "Object":
continue
structs.append(
f"""struct _{otype.c_symbol_prefix}
structs.append(f"""struct _{otype.c_symbol_prefix}
{{
{otype.parent_c_symbol_prefix} parent;
}};"""
)
}};""")
return "\n\n".join(structs)
+1 -1
Submodule releng updated: dcadd49b93...fe7d31dfbc.
+1 -1
View File
@@ -1,6 +1,6 @@
[wrap-git]
url = https://github.com/frida/frida-core.git
revision = 17.24.1
revision = 588ac3b3ded6779f095825df5c64cab59f0c6774
depth = 1
[provide]