Ole André Vadla Ravnås
f85ffbf3d0
_frida: Fix refcounting in get_max_argument_count()
...
PyTuple_GetItem() returns a borrowed reference.
Kudos to @rev1si0n for finding this embarrassing bug.
2022-05-03 20:21:28 +02:00
dependabot[bot]
38d8032d58
Bump minimist from 1.2.5 to 1.2.6 in /examples/web_client ( #201 )
2022-05-03 20:04:07 +02:00
dependabot[bot]
1db0583c14
Bump async from 2.6.3 to 2.6.4 in /examples/web_client ( #205 )
2022-05-03 20:03:42 +02:00
Ole André Vadla Ravnås
608ecc4e9b
tests: Use /bin/cat as target on most platforms
2022-04-26 09:03:51 +02:00
Ole André Vadla Ravnås
e23b8475d5
tests: Add unixvictim binaries for FreeBSD
2022-04-26 08:06:27 +02:00
dependabot[bot]
c52827f3e9
examples: Bump follow-redirects from 1.14.1 to 1.14.8 ( #195 )
2022-03-26 01:43:51 +01:00
dependabot[bot]
f1031cea09
examples: Bump url-parse from 1.5.1 to 1.5.10 ( #198 )
2022-03-26 01:43:31 +01:00
X5tar
dd89460c3d
setup: Fix get_index_url_from_pip() ( #197 )
2022-02-24 07:32:27 +01:00
GalaxySnail
a2b73925ff
setup: Add a slash after index URL ( #194 )
2022-02-10 07:37:04 +01:00
Ole André Vadla Ravnås
dfd5aec7b0
setup: Fix the local .egg logic
2022-02-03 20:32:35 +01:00
Ole André Vadla Ravnås
ee526d07ac
setup: Make environment variables optional
...
To make it easier to use in tests.
2022-01-25 11:19:39 +01:00
Ole André Vadla Ravnås
0e60fb8675
setup: Remove unused variable
2022-01-25 11:19:00 +01:00
Ole André Vadla Ravnås
d8bb49ab87
setup: Fix Windows .pyd patching logic for Python >= 3.10
...
By making sure our binaries are linked against a Python DLL with three
version digits, so we have enough space. We simply pad with a NUL-byte
for runtimes with only two version digits in the DLL name, as the string
is NUL-terminated.
2022-01-24 23:52:09 +01:00
Ole André Vadla Ravnås
a670dce90e
setup: Fix a minor inconsistency
2022-01-24 23:43:30 +01:00
Ole André Vadla Ravnås
aa7a5388e9
msvs: Tweak project naming and move to Python 3.10
2022-01-24 22:35:17 +01:00
Ole André Vadla Ravnås
008c992160
setup: Add support for FreeBSD
2022-01-24 14:33:58 +01:00
Ole André Vadla Ravnås
295b57a1ba
setup: Improve error-handling
2022-01-24 14:33:58 +01:00
GalaxySnail
86358c948c
setup: Use PEP 503 instead of PyPI xmlrpc ( #188 )
...
To support mirrors.
Fixes #141 .
2022-01-24 14:33:55 +01:00
Ole André Vadla Ravnås
3f635bc84b
meson: Move to the new run_command() API
2022-01-20 01:01:47 +01:00
Ole André Vadla Ravnås
14a664c906
Add setup.py download logic for Android/ARM
2021-10-25 18:33:00 +02:00
Ole André Vadla Ravnås
7b40669ad0
Fix ownership in Device.spawn() aux options logic
...
Variants are created floating, so we need to ref_sink() so the HashTable
becomes the owner, instead of GDBus which later gets the variants.
Kudos to @trufae for discovering the equivalent bug in frida-node.
2021-07-30 22:33:38 +02:00
Ole André Vadla Ravnås
bbdcdfaca8
Upgrade web client example to match latest dbus-next
...
Where identifiers are being transformed to match idiomatic JS.
2021-07-08 01:38:54 +02:00
Ole André Vadla Ravnås
218db36d4c
Bump dependencies of the web client example
2021-07-07 00:23:31 +02:00
Ole André Vadla Ravnås
3bca276575
Update to the new frida-core APIs
2021-07-06 23:36:00 +02:00
Ole André Vadla Ravnås
33ab29cedf
Update web client example to the current HostSession API
2021-07-06 21:10:37 +02:00
Ole André Vadla Ravnås
d4a40b3d74
Improve the query_system_parameters() example
2021-07-05 17:51:54 +02:00
Ole André Vadla Ravnås
d83bf670a2
Turn “started” parameter into a datetime object
2021-07-01 22:36:12 +02:00
Ole André Vadla Ravnås
50a48e80f0
Turn unsupported variants into None
2021-07-01 22:34:53 +02:00
dependabot[bot]
c5f3c17634
Bump postcss from 7.0.35 to 7.0.36 in /examples/web_client ( #182 )
2021-07-01 21:37:41 +02:00
Ole André Vadla Ravnås
bc1e5d752f
Move to the new application and process query APIs
2021-07-01 21:36:39 +02:00
Ole André Vadla Ravnås
496e994272
Implement marshaling of uint8[] variants
2021-07-01 21:30:42 +02:00
Ole André Vadla Ravnås
ec17c8b5b8
Implement marshaling of array variants
2021-06-21 19:28:46 +02:00
Ole André Vadla Ravnås
9c8708a447
Fix a couple of stylistic inconsistencies
2021-06-21 19:28:43 +02:00
Ole André Vadla Ravnås
deea77b429
Add Device.query_system_parameters() example
2021-06-17 18:14:47 +02:00
Ole André Vadla Ravnås
7fadd26b08
Tweak style to improve readability
2021-06-17 17:57:22 +02:00
Grant Douglas
abfbe016c3
Add Device.query_system_parameters()
2021-06-17 02:47:06 +02:00
Ole André Vadla Ravnås
f46e476474
Implement marshaling of nested variant dicts
2021-06-16 20:34:03 +02:00
Ole André Vadla Ravnås
5979c3f1f7
Restore Python 2 support for now
...
We will drop it soon, but not in this release cycle.
This reverts commit 12f1fdcdfd .
2021-06-15 22:09:42 +02:00
Ole André Vadla Ravnås
0650579d82
Throw when attempting an RPC call on a destroyed script
...
This was previously covered by post() throwing, which it no longer does.
2021-06-12 02:17:19 +02: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
aaf7f0ce6d
Add Script.is_destroyed property
2021-06-12 02:14:54 +02:00
Ole André Vadla Ravnås
0eb90247fb
Add Session.is_detached property
2021-06-12 02:13:33 +02:00
Ole André Vadla Ravnås
f3dc04cdc1
Add Device.is_lost property
2021-06-12 02:12:36 +02:00
Ole André Vadla Ravnås
a217308a9a
Tweak the Bus example
2021-06-10 18:24:16 +02:00
Ole André Vadla Ravnås
7667e9716e
Improve error-handling in PortalService example
2021-06-10 15:18:30 +02:00
Ole André Vadla Ravnås
f256733d0b
Fix a couple of stylistic inconsistencies
2021-06-09 01:09:51 +02:00
Ole André Vadla Ravnås
12f1fdcdfd
Simplify __repr__ implementations by using “%R”
2021-06-09 00:41:34 +02:00
Ole André Vadla Ravnås
4b2a512a7e
Fix double free when argument parsing succeeds partially
...
As PyArg_ParseTupleAndKeywords() may have written to one or more
out-parameters, which we obviously shouldn't free in case of failure.
2021-06-09 00:33:31 +02:00
Ole André Vadla Ravnås
ad6f4e0bbf
Wire up Relay members and __repr__
2021-06-09 00:26:37 +02:00
Ole André Vadla Ravnås
99480dd678
Rename “session_persist_timeout” to “persist_timeout”
...
For consistency with the underlying API.
2021-06-08 18:39:20 +02:00