Ole André Vadla Ravnås
b2391c7ae9
Rename and simplify remaining MSVS project files
2022-09-27 12:01:46 +02:00
Yotam Nachum
b82a9436a0
Remove old Visual Studio python 2 project files
2022-09-24 19:02:41 +03:00
Yotam Nachum
64b4b85298
Add _frida stub file to package data
2022-09-24 19:02:17 +03:00
Yotam
6e08dbb2cc
Merge pull request #220 from yotamN/fix/type-hinting
...
Fix type hinting
2022-09-24 18:59:05 +03:00
Yotam Nachum
64670182fe
Add Mypy to CI
2022-09-24 18:57:27 +03:00
Yotam Nachum
4f5c83fd09
Fix type hinting
2022-09-24 18:54:10 +03:00
Orip
2c805431bd
Remove PEP503 parser and egg downloader from setup.py
2022-09-21 20:20:26 +02:00
Yotam
85e7cb9b94
Merge pull request #217 from yotamN/feature/linting
...
Add pyflakes to CI
2022-09-17 19:32:24 +03:00
Yotam Nachum
aa80aac2b0
Add pyflakes to CI
2022-09-17 18:59:00 +03:00
Yotam Nachum
c0d8bc7cad
Remove unused variables
2022-09-17 18:59:00 +03:00
Yotam
a264326074
Merge pull request #193 from yotamN/feature/deprecate-python2
...
Deprecate Python 2
2022-09-17 17:45:26 +03:00
Orip
102373d50d
Remove python2 support from the tests
2022-09-12 20:59:52 +03:00
Yotam Nachum
f251da8807
Add GitHub actions
2022-09-12 20:59:52 +03:00
Orip
32e3def2a1
Fix Device.get_bus
...
The Previous implementation called the `_Device.get_bus` method which doesn't exist
2022-09-12 20:59:52 +03:00
Yotam Nachum
600d68a982
Add _frida type hinting
2022-09-12 20:59:52 +03:00
Yotam Nachum
af23dd92f2
Add docstrings
2022-09-12 20:59:52 +03:00
Yotam Nachum
057d901c06
Add type hinting
...
Lots of functions were using *args and **kwargs that were kind of
useless with type hinting, so I explicitly named every possible argument
and its type. It breaks backward compatibility (sort of) because you can
pass nonsense arguments anymore.
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
Orip
32df9f05b2
Use bytes literals instead of encode method
2022-09-12 20:59:52 +03:00
Yotam Nachum
c4785c3f7c
Use f-strings
...
f-strings is a new, shorter alternative to `.format` method that was
introduced in Python 3.6.
2022-09-12 20:59:52 +03:00
Yotam Nachum
a89af5355f
Use print as function instead of keyword
2022-09-12 20:59:52 +03:00
Yotam Nachum
c5b7077a40
Use new except syntax
2022-09-12 20:59:52 +03:00
Yotam Nachum
8f5cca32f4
Remove string format specifiers
2022-09-12 20:59:52 +03:00
Yotam Nachum
8491ee563b
Remove handling of Python 2 from setup.py
2022-09-12 20:59:52 +03:00
Yotam Nachum
b8ced413df
Remove unicode prefix from strings
2022-09-12 20:59:51 +03:00
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