examples: Fix the child gating example

This commit is contained in:
Ole André Vadla Ravnås committed 2026-03-25 21:04:14 +01:00
1 parent a613d87b08
commit 9b15bde24e
1 file changed
+3 -3
+3 -3
View File
@@ -44,11 +44,11 @@ class Application:
print("✔ create_script()")
script = session.create_script(
"""\
Interceptor.attach(Module.getExportByName(null, 'open'), {
onEnter: function (args) {
Interceptor.attach(Module.getGlobalExportByName('open'), {
onEnter(args) {
send({
type: 'open',
path: Memory.readUtf8String(args[0])
path: args[0].readUtf8String()
});
}
});