8 Commits
Author SHA1 Message Date
Ole André Vadla RavnåsandHåvard Sørbø e2ffd0aa6c Auto-generate Node-API bindings from .gir
Which means API changes in frida-core are instantly reflected, with only
customizations needing tweaking, if applicable.

And, since we now target Node-API there will now only be one prebuilt
binary per OS/ABI.

Co-authored-by: Håvard Sørbø <[email protected]>
2025-05-08 10:05:20 +02:00
Ole André Vadla RavnåsandHåvard Sørbø 6016474075 rpc: Add support for new binary data passing
Which means:
- Pass in data to RPC method.
- Return value and data from RPC method.

Co-authored-by: Håvard Sørbø <[email protected]>
2024-05-31 15:34:08 +02:00
Ole André Vadla RavnåsandHåvard Sørbø 74c4a3d32c test: Reformat and modernize RPC test scripts
Co-authored-by: Håvard Sørbø <[email protected]>
2024-05-31 15:22:31 +02:00
Ole André Vadla Ravnås 03e3e2bc7c Add support for cancellation
Using the new cancellable core APIs.
2019-09-03 23:43:55 +02:00
Ole André Vadla Ravnås ee7269ab2b Remove redundant 'use strict' directives 2019-05-10 21:24:26 +02:00
Ole André Vadla Ravnås 78e7e0ceb8 Add workaround to improve test-suite reliability
Not all of our injectors handle injection into processes that haven't
finished initializing, so for now delay a little before attaching.
2019-05-07 04:10:24 +02:00
Ole André Vadla Ravnås a156b1e8e0 Fix crash on RPC object return from an async function
The runtime will look for a `then` function to determine if a Promise is being
returned. This is a bit unfortunate for our ScriptExports Proxy object, so to
solve this we reserve the function names that Promise instances expose.
2018-07-17 20:14:17 +02:00
Ole André Vadla Ravnås 62e2ea8d67 Modernize by moving to TypeScript (#30) 2018-06-29 00:45:41 +02:00