oSumAtrIX
|
37fa9949ec
|
fix: reaching all constructors not possible
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-04-27 03:13:45 +02:00 |
|
oSumAtrIX
|
ac36d19693
|
fix: string signature in SignatureResolver
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-04-20 02:45:50 +02:00 |
|
oSumAtrIX
|
c245edb0c5
|
feat: string signature (#22)
* feat: string signature
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
* fix: signature in test
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
* fix: make string signature optional
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
* fix: use of `compareOpcodes` when comparing string signatures
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
* add: `PackageMetadata` for signatures
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-04-19 21:51:50 +02:00 |
|
oSumAtrIX
|
1f7bf3ac6c
|
perf: do not resolve empty signatures list
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-04-19 20:17:56 +02:00 |
|
oSumAtrIX
|
bfeeaf4435
|
fix: ConcurrentModificationException while iterating through proxies and modifying it
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-04-19 20:07:31 +02:00 |
|
oSumAtrIX
|
748d0abad0
|
refactor: resolve signatures automatically
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-04-19 19:54:59 +02:00 |
|
oSumAtrIX
|
569238ab76
|
add: applyProxies method
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-04-19 19:47:35 +02:00 |
|
oSumAtrIX
|
23197879b2
|
feat: properly manage ClassProxy & add ProxyBackedClassList
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-04-18 21:37:57 +02:00 |
|
oSumAtrIX
|
305a81793a
|
fix: PackageMetadata
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-04-18 18:41:46 +02:00 |
|
oSumAtrIX
|
33f9211f98
|
add: PackageMetadata for signatures
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-04-18 18:24:56 +02:00 |
|
oSumAtrIX
|
864e38c069
|
fix: make methodMetadata nullable in MethodSignatureMetadata
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-04-18 03:43:08 +02:00 |
|
oSumAtrIX
|
659e1087c9
|
feat: add MethodWalker
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-04-17 18:43:54 +02:00 |
|
Lucaskyy
|
03700ffa51
|
fix: incorrect pattern offset
|
2022-04-16 21:38:06 +02:00 |
|
Lucaskyy
|
ae06d826e8
|
docs: fix improper docs for fuzzy resolver Warning
|
2022-04-15 10:38:24 +02:00 |
|
oSumAtrIX
|
5ca5188fc2
|
refactor: better naming for resolver warning parameters
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-04-15 08:51:56 +02:00 |
|
oSumAtrIX
|
f88c11820d
|
fix: applying no patches throwing error
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-04-15 06:03:08 +02:00 |
|
oSumAtrIX
|
93e81ff047
|
refact: better parameter names for Warning
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-04-15 04:59:10 +02:00 |
|
Lucaskyy
|
d49df10a3c
|
fix: fuzzy resolver warning params were turned around
|
2022-04-14 20:51:48 +02:00 |
|
Lucaskyy
|
04b49b8b66
|
fix: make warnings nullable instead of lateinit
|
2022-04-14 19:26:43 +02:00 |
|
Lucaskyy
|
5ddc63f979
|
refactor: remove all parameter names
|
2022-04-14 19:11:55 +02:00 |
|
Lucaskyy
|
82b1e66d54
|
fix: MethodSignature#resolved throwing an exception
|
2022-04-14 19:11:38 +02:00 |
|
Lucaskyy
|
fd630cd429
|
test: Add tests for unknown opcodes
|
2022-04-14 18:37:43 +02:00 |
|
Lucaskyy
|
f4a47d4dc8
|
feat: Allow unknown opcodes using null
This is the same as `??` in IDA signatures.
|
2022-04-14 18:29:37 +02:00 |
|
Lucaskyy
|
3bfc24fc16
|
chore: remove todo
|
2022-04-14 18:23:26 +02:00 |
|
Lucaskyy
|
25bba2c1d8
|
refactor: remove all @Suppression's
|
2022-04-14 16:45:16 +02:00 |
|
Lucaskyy
|
4dea27e831
|
refactor: format code
|
2022-04-14 16:44:02 +02:00 |
|
Lucaskyy
|
a0d6d46217
|
fix: Suppress unused for addFiles
|
2022-04-14 16:42:51 +02:00 |
|
Lucaskyy
|
643a14e664
|
feat: Add warnings for Fuzzy resolver
|
2022-04-14 16:42:16 +02:00 |
|
Lucaskyy
|
355e6d82cc
|
docs: fix wrong wording
|
2022-04-14 12:33:31 +02:00 |
|
Lucaskyy
|
df7503b47b
|
feat: add extensions for cloning methods
|
2022-04-14 12:31:38 +02:00 |
|
Lucaskyy
|
a01dded092
|
test: fix outdated test
|
2022-04-14 12:02:40 +02:00 |
|
Lucaskyy
|
9ae95174e6
|
refactor: replace asInstructions with toInstruction to follow proper naming scheme
|
2022-04-14 12:00:50 +02:00 |
|
Lucaskyy
|
e161f7fea4
|
revert: AccessFlag extensions not working with IDE
|
2022-04-14 11:59:23 +02:00 |
|
Lucaskyy
|
200e3c9fdb
|
refactor: replace Array with Iterable
|
2022-04-14 11:53:08 +02:00 |
|
oSumAtrIX
|
f0f34031dd
|
fix: replaceWith not replacing classes with used class proxies
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-04-14 11:00:25 +02:00 |
|
oSumAtrIX
|
560c485ab0
|
fix: null check causing an exception
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-04-14 10:44:15 +02:00 |
|
oSumAtrIX
|
cc5a414692
|
add: throw on getting result of MethodSignature if null
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-04-14 09:44:32 +02:00 |
|
oSumAtrIX
|
c2a334eb3f
|
refact: include each signature in its corresponding patch
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-04-14 08:48:05 +02:00 |
|
Lucaskyy
|
1b2fbbca26
|
refactor: rename method to resolverMethod
|
2022-04-13 21:04:26 +02:00 |
|
Lucaskyy
|
4458141d6d
|
fix: remove leftover debug code
|
2022-04-13 20:26:43 +02:00 |
|
Lucaskyy
|
8544fc4cbc
|
feat: Add patch metadata
Fixes ReVancedTeam/revanced-patches#1
|
2022-04-13 20:25:51 +02:00 |
|
Lucaskyy
|
a492808021
|
feat: add fuzzy resolver
fixed docs for MethodSignature & added tests for fuzzy resolver
|
2022-04-13 20:17:31 +02:00 |
|
Lucaskyy
|
0204eee79e
|
refactor: migrate signature schema changes to Patcher
also updated Extensions, for good measure.
|
2022-04-13 19:42:50 +02:00 |
|
oSumAtrIX
|
4022b8b847
|
feat: add missing test for fields
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-04-13 02:59:06 +02:00 |
|
oSumAtrIX
|
8daf877fac
|
style: reformat code
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-04-13 02:47:53 +02:00 |
|
oSumAtrIX
|
7d38bb0baa
|
feat: remaining mutable EncodedValue classes
|
2022-04-13 00:19:09 +02:00 |
|
Lucaskyy
|
5f71a342ac
|
feat: allow classes to be overwritten in addFiles and resolve signatures when applyPatches is called
|
2022-04-12 19:11:07 +02:00 |
|
Lucaskyy
|
866b03af21
|
fix: always return PatchResultSuccess on patch success
|
2022-04-11 17:34:43 +02:00 |
|
Lucaskyy
|
4c1a42b216
|
add: optional callback for CLI
|
2022-04-11 17:27:12 +02:00 |
|
Lucaskyy
|
264989f488
|
refactor: Change all references from Array to Iterable
BREAKING CHANGE: arrayOf has to be changed to listOf.
|
2022-04-11 16:29:53 +02:00 |
|