16 Commits

Author SHA1 Message Date
Ole André Vadla Ravnås 243cce22e6 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ø <havard@hsorbo.no>
2024-05-31 15:11:05 +02:00
Ole André Vadla Ravnås d8da49058d tests: Move RPC tests to exports_sync
So they don't break once we make `exports` async.
2024-03-21 23:21:33 +01:00
Yotam Nachum c0d8bc7cad Remove unused variables 2022-09-17 18:59:00 +03:00
Orip 102373d50d Remove python2 support from the tests 2022-09-12 20:59:52 +03:00
Yotam Nachum fc00ac2b75 Automatically format code with Black and Isort 2022-09-12 20:59:52 +03:00
Yotam Nachum bb8cb7ae7d Remove Python 2 imports fallback 2022-09-12 20:21:45 +03:00
Yotam Nachum 27337a5ce5 Remove unused backward compatibility header 2022-09-12 11:55:00 +03:00
Ole André Vadla Ravnås 15537d437e Improve the “script is destroyed” error message 2021-06-12 02:16:36 +02:00
Ole André Vadla Ravnås 665bf26078 Add test covering basics of RPC cancellation 2019-09-03 09:24:31 +02:00
Ole André Vadla Ravnås 9412e5b919 Remove redundant 'use strict' directives 2019-05-10 21:27:47 +02:00
Ole André Vadla Ravnås 74f84d302a 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 01:18:37 +00:00
Ole André Vadla Ravnås 72899a4315 Drop convenience APIs and split out tools (#142)
Most use-cases will need to use some JS API that we're not bridging, so
it's better to keep our bindings simple.

It has also become clear that our CLI tools should be split out so Frida-based
tools don't have to depend on colorama, prompt_toolkit, and pygments.
2018-07-10 20:08:56 +02:00
Ole André Vadla Ravnås 9ab2b14f55 Fix Python 2.x regression 2017-01-13 04:46:31 +01:00
Ole André Vadla Ravnås cfc8964c9d Fix regressions and warnings on Py3k 2017-01-13 04:39:37 +01:00
Ole André Vadla Ravnås fa7380492e Add test coverage for detach mid-request 2017-01-13 03:38:17 +01:00
Ole André Vadla Ravnås 914d931e2b Fix RPC deadlock if Script is destroyed mid-request 2017-01-13 03:32:45 +01:00