Commit Graph

  • 3d6a1d38f3 fix: Suppress unused for addFiles Lucaskyy 2022-04-14 16:42:51 +02:00
  • 715a2ad025 feat: Add warnings for Fuzzy resolver Lucaskyy 2022-04-14 16:42:16 +02:00
  • 9889ec9d03 docs: fix wrong wording Lucaskyy 2022-04-14 12:33:31 +02:00
  • 01bfbd656e feat: add extensions for cloning methods Lucaskyy 2022-04-14 12:31:38 +02:00
  • 6c9797583d test: fix outdated test Lucaskyy 2022-04-14 12:02:40 +02:00
  • 3cf07f5ce2 refactor: replace asInstructions with toInstruction to follow proper naming scheme Lucaskyy 2022-04-14 12:00:50 +02:00
  • 0bfb92a0cb revert: AccessFlag extensions not working with IDE Lucaskyy 2022-04-14 11:59:23 +02:00
  • 042638a399 refactor: replace Array with Iterable Lucaskyy 2022-04-14 11:53:08 +02:00
  • 4178a1eedc fix: replaceWith not replacing classes with used class proxies oSumAtrIX 2022-04-14 11:00:25 +02:00
  • 338bd9f739 fix: null check causing an exception oSumAtrIX 2022-04-14 10:44:15 +02:00
  • c55c62a57e add: throw on getting result of MethodSignature if null oSumAtrIX 2022-04-14 09:44:32 +02:00
  • 1f08da8b2a refact: include each signature in its corresponding patch oSumAtrIX 2022-04-14 08:48:05 +02:00
  • b2dab3fabf refactor: rename method to resolverMethod Lucaskyy 2022-04-13 21:04:26 +02:00
  • 0f30eac32c fix: remove leftover debug code Lucaskyy 2022-04-13 20:26:43 +02:00
  • 642e9031eb feat: Add patch metadata Lucaskyy 2022-04-13 20:23:58 +02:00
  • 7a56dca004 feat: add fuzzy resolver Lucaskyy 2022-04-13 20:17:31 +02:00
  • 18853f70a4 refactor: migrate signature schema changes to Patcher Lucaskyy 2022-04-13 19:42:50 +02:00
  • 6b8b0573d4 feat: add missing test for fields oSumAtrIX 2022-04-13 02:59:06 +02:00
  • 3889d72927 style: reformat code oSumAtrIX 2022-04-13 02:47:53 +02:00
  • 3f97cc8e1f feat: remaining mutable EncodedValue classes oSumAtrIX 2022-04-13 00:19:09 +02:00
  • 1db735b1e2 feat: allow classes to be overwritten in addFiles and resolve signatures when applyPatches is called Lucaskyy 2022-04-12 19:11:07 +02:00
  • 996c4acb20 fix: always return PatchResultSuccess on patch success Lucaskyy 2022-04-11 17:34:43 +02:00
  • 5b28523eea add: optional callback for CLI Lucaskyy 2022-04-11 17:27:12 +02:00
  • 72f3cad3f9 refactor: Change all references from Array to Iterable Lucaskyy 2022-04-11 16:29:53 +02:00
  • 9659a61c5c fix: adding existing classes to the patchers cache oSumAtrIX 2022-04-11 03:52:04 +02:00
  • b892729332 chore: update kotlin, don't shade deps, publish to maven local, make deps api instead of implementation Lucaskyy 2022-04-10 00:52:32 +02:00
  • 6e4db110c8 fix: Classes not being written properly because of array shifting Lucaskyy 2022-04-09 23:41:54 +02:00
  • e810197e2a revert: previous commits check for dupes in dexFile, not cache Lucaskyy 2022-04-09 22:44:57 +02:00
  • e65ebd27c2 perf: use Set instead of List since there are no dupes Lucaskyy 2022-04-09 22:31:32 +02:00
  • 5bd416b409 perf: use String List and compare instead of any lambda Lucaskyy 2022-04-09 22:04:00 +02:00
  • a6c6b4979a refactor: bump multidexlib2 to 2.5.2.r2 Lucaskyy 2022-04-09 20:33:22 +02:00
  • db10ab03be ci: Fix Unauthorized error Lucaskyy 2022-04-09 19:38:21 +02:00
  • 94dbb573cf refactor: bump multidexlib2, dexlib2 and smali Lucaskyy 2022-04-09 18:20:12 +02:00
  • 08253ee010 add: addFiles method to merge additional dex containers oSumAtrIX 2022-04-09 04:51:31 +02:00
  • 3144ec872a fix: throwing in case the opcode patterns do not match oSumAtrIX 2022-04-09 04:50:38 +02:00
  • 48c4ea2f6d fix: returning failure on success Lucaskyy 2022-04-09 00:03:21 +02:00
  • c63b20fa65 feat: add immutableMethod Lucaskyy 2022-04-08 23:51:31 +02:00
  • f806cb38c5 fix: applyPatches not returning successful patches Lucaskyy 2022-04-08 23:50:26 +02:00
  • 6c3e2d79ea chore: format code Lucaskyy 2022-04-08 23:28:32 +02:00
  • cca12aa34a fix: compareSignatureToMethod not matching correctly in case opcodes are null oSumAtrIX 2022-04-08 23:25:44 +02:00
  • c267b12a7d refactor: make method a property Lucaskyy 2022-04-08 23:15:40 +02:00
  • eef448cc39 refactor: cleanup SignatureResolver.kt Lucaskyy 2022-04-08 22:59:20 +02:00
  • 45303f66ec test: fix test with previous changes Lucaskyy 2022-04-08 22:59:03 +02:00
  • 783fbf43f2 refactor: rename resolveAndGetMethod to method Lucaskyy 2022-04-08 22:58:39 +02:00
  • 59189058ac refactor: cleanup Patcher.kt Lucaskyy 2022-04-08 22:56:24 +02:00
  • dfac8f03a3 fix: use Array instead of Iterable for methodParameters Lucaskyy 2022-04-08 22:55:40 +02:00
  • b44bf4c267 chore: move replace extension method to Extensions.kt Lucaskyy 2022-04-08 22:55:12 +02:00
  • 066ad274ed docs: fixup Lucaskyy 2022-04-08 22:54:23 +02:00
  • a8653fe6a0 chore: publish jar with dependencies Lucaskyy 2022-04-08 22:49:37 +02:00
  • 139a23b750 feat: Improve SignatureResolver oSumAtrIX 2022-04-08 18:19:48 +02:00
  • 0d8d19e708 feat: Finish first patcher test oSumAtrIX 2022-04-06 23:10:52 +02:00
  • a1e909b163 fix: Search method map for existing class proxy oSumAtrIX 2022-04-06 23:09:58 +02:00
  • e4157332d3 add: MutableMethodImplementation.addInstructions extension oSumAtrIX 2022-04-06 23:09:16 +02:00
  • 923efc4caf add: TODO for mutable encoded value clones oSumAtrIX 2022-04-06 23:08:31 +02:00
  • bea0cbc550 refactor: lazy initialize implementation field for mutable methods oSumAtrIX 2022-04-06 19:37:29 +02:00
  • 1ee2e4ba56 fix: match to correct signature method parameters oSumAtrIX 2022-04-06 19:36:44 +02:00
  • fac44a50c3 fix: Patcher not writing resolved methods oSumAtrIX 2022-04-06 19:36:02 +02:00
  • 544bcf76bd feat: Add first tests oSumAtrIX 2022-04-06 02:15:40 +02:00
  • a16c8cabf2 refactor: Improve SignatureResolver oSumAtrIX 2022-04-06 01:25:45 +02:00
  • 2777117da2 refactor: Use String instead of CharSequence for method parameter signature oSumAtrIX 2022-04-06 01:25:10 +02:00
  • 66a9b76845 fix: return mutable set of classes oSumAtrIX 2022-04-06 01:23:53 +02:00
  • f068fc87ff fix: write all classes oSumAtrIX 2022-04-05 04:45:43 +02:00
  • 7cc8a7dec3 fix: fix classes having multiple instances of fields oSumAtrIX 2022-04-05 03:54:16 +02:00
  • 398239dc10 fix: fix classes having multiple method instances oSumAtrIX 2022-04-05 03:52:00 +02:00
  • d18a3b6a28 perf: lazy-ify all mutable clones Lucaskyy 2022-04-03 23:52:36 +02:00
  • bfe4e3e298 feat: add inline smali compiler Lucaskyy 2022-04-03 23:51:01 +02:00
  • a1b6b06bd3 test: use findClass with className & cleanup Lucaskyy 2022-03-31 23:22:57 +02:00
  • 4087f49863 feat: add findClass method with className Lucaskyy 2022-03-31 23:22:14 +02:00
  • 00c85b5d75 feat: add or extension for AccessFlags Lucaskyy 2022-03-31 22:46:46 +02:00
  • cb78c5a86f style: reformat code Lucaskyy 2022-03-31 22:46:12 +02:00
  • 9991f39c9a perf: optimize indexOf call away Lucaskyy 2022-03-31 22:45:22 +02:00
  • 650bf71124 docs: Document important parts of the code oSumAtrIX 2022-03-31 19:25:46 +02:00
  • 1dd3394ea3 refactor: Replacing original classes with mutated ones oSumAtrIX 2022-03-31 18:56:36 +02:00
  • e6c2501539 fix: Fixed writer & signature resolver, improved tests & speed, minor refactoring oSumAtrIX 2022-03-31 18:37:35 +02:00
  • 4b26305bd5 feat: Minor refactor and return proxy, if class has been proxied already oSumAtrIX 2022-03-30 19:15:00 +02:00
  • ce21bd60f3 fix: Move proxy package out of cache package oSumAtrIX 2022-03-30 15:12:47 +02:00
  • 3651981161 feat: migrate to dexlib oSumAtrIX 2022-03-30 15:10:18 +02:00
  • 6299b9e951 chore(release): 1.0.0-dev.8 [skip ci] semantic-release-bot 2022-03-24 22:38:45 +00:00
  • 24b544708f chore(release): 1.0.0-dev.7 [skip ci] semantic-release-bot 2022-03-24 22:31:58 +00:00
  • c7ef2644d8 perf: check type instead of class Lucaskyy 2022-03-24 23:37:28 +01:00
  • fa6e454ae9 test: fix assert message Lucaskyy 2022-03-24 23:31:01 +01:00
  • cbd8df2df0 fix(MethodResolver): fix cd57a8c9a0 Lucaskyy 2022-03-24 23:29:32 +01:00
  • f3d8b917de chore(release): 1.0.0-dev.6 [skip ci] semantic-release-bot 2022-03-24 21:49:47 +00:00
  • 82c530650f fix(MethodResolver): strip labels nodes so opcode patterns match Lucaskyy 2022-03-24 22:48:34 +01:00
  • 81d0cf20f3 chore(release): 1.0.0-dev.5 [skip ci] semantic-release-bot 2022-03-24 20:30:54 +00:00
  • 36d4f71325 refactor: log as trace instead of debug Lucaskyy 2022-03-24 21:38:13 +01:00
  • 699c730a7c fix(MethodResolver): strip labels and line numbers so opcode patterns match Lucaskyy 2022-03-24 20:58:10 +01:00
  • b197956e39 refactor: only compute maxs and use existing stack frames Lucaskyy 2022-03-24 19:45:13 +01:00
  • be992a3e6f chore(release): 1.0.0-dev.4 [skip ci] semantic-release-bot 2022-03-23 22:02:18 +00:00
  • e0437397df chore(release): 1.0.0-dev.3 [skip ci] semantic-release-bot 2022-03-23 21:34:05 +00:00
  • 41749ba829 fix: give ClassWriter a ClassReader for symtable Lucaskyy 2022-03-23 23:01:13 +01:00
  • 8161ce4fa6 chore(release): 1.0.0-dev.2 [skip ci] semantic-release-bot 2022-03-23 21:10:02 +00:00
  • 6626014ef3 feat: add SafeClassWriter Lucaskyy 2022-03-23 22:32:50 +01:00
  • e6e468fbb5 fix: set marklimit to Integer.MAX_VALUE Lucaskyy 2022-03-23 22:08:51 +01:00
  • 2fabbdf71b chore(release): 1.0.0-dev.1 [skip ci] semantic-release-bot 2022-03-23 19:01:41 +00:00
  • 7faa001406 refactor: Optimize Signature class (#11) Lucaskyy 2022-03-23 20:00:35 +01:00
  • 70872307e3 refactor: Rename net.revanced to app.revanced Lucaskyy 2022-03-21 21:54:16 +01:00
  • 310a7c446b fix(Io): JAR loading and saving (#8) oSumAtrIX 2022-03-21 18:48:35 +01:00
  • c236ebe078 fix(gradle): publish source and javadocs Lucaskyy 2022-03-21 16:22:15 +01:00
  • 674461f08d fix: nullable signature members (#10) oSumAtrIX 2022-03-21 16:10:37 +01:00