Commit Graph

633 Commits

Author SHA1 Message Date
Yotam Nachum bb5594badb Remove Python 2 support from C code 2022-09-12 20:59:38 +03:00
Yotam Nachum bb8cb7ae7d Remove Python 2 imports fallback 2022-09-12 20:21:45 +03:00
Yotam Nachum 91554f8311 Remove unused import 2022-09-12 11:55:02 +03:00
Yotam Nachum 0d9e17f757 Remove object parent class
Python 3 classes inherit from object class implicitly
2022-09-12 11:55:02 +03:00
Yotam Nachum 27337a5ce5 Remove unused backward compatibility header 2022-09-12 11:55:00 +03:00
Yotam Nachum f38b846015 Remove handling of Python 2 version in error msg 2022-09-12 11:48:38 +03:00
Yotam Nachum 62bf077ebd Remove handling of old string type basestring
We don't need it anymore with Python 3 only
2022-09-12 11:48:36 +03:00
Yotam Nachum 2ff04ba3ea Remove Python 2 from supported versions
Python 2 was EOL over two years ago so we should stop supporting it.
Python 3.4 to 3.6 is EOL as well so there is no reason in keeping it as
well. Python 3.9 and 3.10 are new versions that we should support
2022-08-06 17:04:26 +03:00
Ole André Vadla Ravnås 85229982a6 session: Add support for the new snapshot APIs (#212) 2022-08-03 11:43:00 +02:00
dependabot[bot] 39c684de90 Bump terser from 4.8.0 to 4.8.1 in /examples/web_client (#210) 2022-08-02 12:56:09 +02:00
dependabot[bot] 132843c35e Bump shell-quote from 1.7.2 to 1.7.3 in /examples/web_client (#207) 2022-08-02 12:56:09 +02:00
dependabot[bot] 7a9b4bdb54 Bump eventsource from 1.1.0 to 1.1.1 in /examples/web_client (#206) 2022-08-02 12:56:09 +02:00
Ole André Vadla Ravnås 795e522f02 Port to the new frida-core API 2022-08-02 12:56:06 +02:00
Ole André Vadla Ravnås 77f0141d4b compiler: Add Compiler API 2022-07-20 01:43:25 +02:00
Ole André Vadla Ravnås 54cd19a859 msvs: Import releng\frida-toolchain.props
As `PlatformToolset` needs to be set early.
2022-07-18 13:58:15 +02:00
Ole André Vadla Ravnås 86a823028e msvs: Factor out PlatformToolset
So switching Visual Studio version is only a matter of changing one
property in “releng\frida.props”.
2022-07-18 13:33:47 +02:00
Ole André Vadla Ravnås 708e9dbc05 tests: Revive unixvictim binaries for Linux/x86*
They're useful for testing 32- and 64-bit builds on the same system.
2022-05-04 20:54:49 +00:00
Ole André Vadla Ravnås 0fedbe59e8 setup: Use platform's path separator in computed egg_path
To avoid it looking confusing on Windows.
2022-05-03 21:31:39 +02:00
汉广 a6d23a72d4 setup: Fix index URL retrieval on Python < 3.6 (#204) 2022-05-03 21:29:26 +02:00
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