frida 17.1.1 → 17.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/frida.js +1 -1
- package/build/src/frida_binding.d.ts +1 -2
- package/meson.build +0 -1
- package/package.json +1 -1
- package/src/frida_bindgen/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/frida_bindgen/__pycache__/__main__.cpython-312.pyc +0 -0
- package/src/frida_bindgen/__pycache__/cli.cpython-312.pyc +0 -0
- package/src/frida_bindgen/__pycache__/codegen.cpython-312.pyc +0 -0
- package/src/frida_bindgen/__pycache__/customization.cpython-312.pyc +0 -0
- package/src/frida_bindgen/__pycache__/loader.cpython-312.pyc +0 -0
- package/src/frida_bindgen/__pycache__/model.cpython-312.pyc +0 -0
- package/src/frida_bindgen/assets/codegen_helpers.c +9 -1
- package/src/frida_bindgen/customization.py +5 -0
- package/subprojects/frida-core.wrap +1 -1
package/build/src/frida.js
CHANGED
|
@@ -681,7 +681,7 @@ export const LogLevel = binding.LogLevel;
|
|
|
681
681
|
return inspectWrapper(this, "FileMonitor", ["path"], depth, options);
|
|
682
682
|
};
|
|
683
683
|
binding.Compiler.prototype[inspect.custom] = function (depth, options) {
|
|
684
|
-
return inspectWrapper(this, "Compiler", [
|
|
684
|
+
return inspectWrapper(this, "Compiler", [], depth, options);
|
|
685
685
|
};
|
|
686
686
|
binding.StaticAuthenticationService.prototype[inspect.custom] = function (depth, options) {
|
|
687
687
|
return inspectWrapper(this, "StaticAuthenticationService", ["tokenHash"], depth, options);
|
|
@@ -380,10 +380,9 @@ export class FileMonitor extends BaseObject {
|
|
|
380
380
|
export type FileMonitorChangeHandler = (filePath: string, otherFilePath: string | null, event: FileMonitorEvent) => void;
|
|
381
381
|
|
|
382
382
|
export class Compiler extends BaseObject {
|
|
383
|
-
constructor(manager
|
|
383
|
+
constructor(manager?: DeviceManager | null);
|
|
384
384
|
build(entrypoint: string, options?: BuildOptions, cancellable?: Cancellable | null): Promise<string>;
|
|
385
385
|
watch(entrypoint: string, options?: WatchOptions, cancellable?: Cancellable | null): Promise<void>;
|
|
386
|
-
manager: DeviceManager;
|
|
387
386
|
readonly starting: Signal<CompilerStartingHandler>;
|
|
388
387
|
readonly finished: Signal<CompilerFinishedHandler>;
|
|
389
388
|
readonly output: Signal<CompilerOutputHandler>;
|
package/meson.build
CHANGED
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -990,6 +990,8 @@ fdn_gvalue_to_value (napi_env env,
|
|
|
990
990
|
|
|
991
991
|
return fdn_utf8_to_value (env, str);
|
|
992
992
|
}
|
|
993
|
+
case G_TYPE_VARIANT:
|
|
994
|
+
return fdn_variant_to_value (env, g_value_get_variant (value));
|
|
993
995
|
default:
|
|
994
996
|
{
|
|
995
997
|
napi_value result;
|
|
@@ -1774,7 +1776,13 @@ fdn_signal_closure_deliver (napi_env env,
|
|
|
1774
1776
|
napi_get_global (env, &global);
|
|
1775
1777
|
napi_get_reference_value (env, self->handler, &handler);
|
|
1776
1778
|
|
|
1777
|
-
napi_call_function (env, global, handler, args->len, js_args, &js_result)
|
|
1779
|
+
if (napi_call_function (env, global, handler, args->len, js_args, &js_result) == napi_pending_exception)
|
|
1780
|
+
{
|
|
1781
|
+
napi_value err;
|
|
1782
|
+
|
|
1783
|
+
napi_get_and_clear_last_exception (env, &err);
|
|
1784
|
+
napi_fatal_exception (env, err);
|
|
1785
|
+
}
|
|
1778
1786
|
}
|
|
1779
1787
|
|
|
1780
1788
|
for (i = 0; i != args->len; i++)
|
|
@@ -778,6 +778,11 @@ const assetRoot = params?.assetRoot ?? null;
|
|
|
778
778
|
"Injector": ObjectTypeCustomizations(drop=True),
|
|
779
779
|
"RpcClient": ObjectTypeCustomizations(drop=True),
|
|
780
780
|
"RpcPeer": ObjectTypeCustomizations(drop=True),
|
|
781
|
+
"Compiler": ObjectTypeCustomizations(
|
|
782
|
+
signals={
|
|
783
|
+
"output": SignalCustomizations(behavior="FDN_SIGNAL_KEEP_ALIVE"),
|
|
784
|
+
},
|
|
785
|
+
),
|
|
781
786
|
"Cancellable": ObjectTypeCustomizations(
|
|
782
787
|
methods={
|
|
783
788
|
"is_cancelled": MethodCustomizations(hide=True),
|