Skip to content

Commit

Permalink
chore: deps: update DexKit to 2.0.0-rc8
Browse files Browse the repository at this point in the history
  • Loading branch information
cinit committed Nov 19, 2023
1 parent affaa0b commit 700c0e3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/cc/ioctl/hook/chat/DefaultFont.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@
import java.util.stream.Collectors;
import org.luckypray.dexkit.DexKitBridge;
import org.luckypray.dexkit.query.FindMethod;
import org.luckypray.dexkit.query.MethodDataList;
import org.luckypray.dexkit.query.enums.UsingType;
import org.luckypray.dexkit.query.matchers.FieldMatcher;
import org.luckypray.dexkit.query.matchers.MethodMatcher;
import org.luckypray.dexkit.result.MethodData;
import org.luckypray.dexkit.result.MethodDataList;

//强制使用默认字体
@FunctionHookEntry
Expand Down Expand Up @@ -157,7 +157,7 @@ public boolean doFind() {
.declaredClass(Initiator._TextItemBuilder().getName())
.returnType("void")
.paramTypes(null, Initiator._ChatMessage().getName())
.addUsingField(FieldMatcher.create().type("android/widget/TextView"), UsingType.Get)
.addUsingField(FieldMatcher.create().type("android/widget/TextView"), UsingType.Read)
)
);
List<MethodData> methods = resultMethods.stream()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ object MultiForwardAvatarHook : CommonSwitchFunctionHook(arrayOf(CAIOUtils, Mult
matcher {
declaredClass = "com.tencent.mobileqq.aio.msglist.holder.component.avatar.AIOAvatarContentComponent"
returnType = "void"
paramTypes()
paramTypes(*arrayOf<Class<*>>())
addInvoke {
name = "setOnClickListener"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ object AutoReceiveOriginalPhoto : CommonSwitchFunctionHook(
modifiers = Modifier.PUBLIC
declaredClass = kAIOPictureView.name
returnType = "void"
paramTypes()
paramTypes(*arrayOf<Class<*>>())
addCall {
declaredClass = kAIOPictureView.name
name = "onClick"
Expand Down
2 changes: 1 addition & 1 deletion libs/dexkit/DexKit
Submodule DexKit updated 51 files
+2 −5 .github/workflows/kdoc-deploy.yml
+39 −7 Core/dexkit/dex_item.cpp
+2 −0 Core/dexkit/dex_item_find.cpp
+14 −1 Core/dexkit/dexkit.cpp
+1 −1 Core/dexkit/include/dex_item.h
+1 −1 Core/dexkit/include/dexkit.h
+50 −0 Core/dexkit/include/dexkit_error.h
+13 −12 Core/dexkit/include/dexkit_error_list.h
+2 −4 Core/main.cpp
+1 −1 build.gradle
+1 −1 demo/build.gradle
+1 −1 dexkit-android/build.gradle
+1 −1 dexkit-android/src/main/AndroidManifest.xml
+92 −118 dexkit/src/main/cpp/native-bridge.cpp
+36 −35 dexkit/src/main/java/org/luckypray/dexkit/DexKitBridge.kt
+1 −1 dexkit/src/main/java/org/luckypray/dexkit/query/BatchFindClassUsingStrings.kt
+2 −2 dexkit/src/main/java/org/luckypray/dexkit/query/BatchFindMethodUsingStrings.kt
+1 −1 dexkit/src/main/java/org/luckypray/dexkit/query/FindClass.kt
+2 −2 dexkit/src/main/java/org/luckypray/dexkit/query/FindField.kt
+2 −2 dexkit/src/main/java/org/luckypray/dexkit/query/FindMethod.kt
+8 −12 dexkit/src/main/java/org/luckypray/dexkit/query/MatcherCollections.kt
+0 −2 dexkit/src/main/java/org/luckypray/dexkit/query/base/BaseQuery.kt
+3 −3 dexkit/src/main/java/org/luckypray/dexkit/query/enums/UsingType.kt
+8 −2 dexkit/src/main/java/org/luckypray/dexkit/query/matchers/AnnotationElementMatcher.kt
+1 −1 dexkit/src/main/java/org/luckypray/dexkit/query/matchers/AnnotationEncodeArrayMatcher.kt
+37 −0 dexkit/src/main/java/org/luckypray/dexkit/query/matchers/AnnotationMatcher.kt
+40 −1 dexkit/src/main/java/org/luckypray/dexkit/query/matchers/ClassMatcher.kt
+109 −19 dexkit/src/main/java/org/luckypray/dexkit/query/matchers/FieldMatcher.kt
+96 −8 dexkit/src/main/java/org/luckypray/dexkit/query/matchers/MethodMatcher.kt
+1 −1 dexkit/src/main/java/org/luckypray/dexkit/query/matchers/ParameterMatcher.kt
+10 −0 dexkit/src/main/java/org/luckypray/dexkit/query/matchers/ParametersMatcher.kt
+532 −1 dexkit/src/main/java/org/luckypray/dexkit/query/matchers/UsingFieldMatcher.kt
+2 −2 dexkit/src/main/java/org/luckypray/dexkit/result/AnnotationData.kt
+86 −0 dexkit/src/main/java/org/luckypray/dexkit/result/AnnotationEncodeValue.kt
+87 −36 dexkit/src/main/java/org/luckypray/dexkit/result/ClassData.kt
+15 −4 dexkit/src/main/java/org/luckypray/dexkit/result/DataCollections.kt
+18 −16 dexkit/src/main/java/org/luckypray/dexkit/result/FieldData.kt
+26 −0 dexkit/src/main/java/org/luckypray/dexkit/result/FieldUsingType.kt
+61 −45 dexkit/src/main/java/org/luckypray/dexkit/result/MethodData.kt
+4 −24 dexkit/src/main/java/org/luckypray/dexkit/result/UsingFieldData.kt
+8 −1 dexkit/src/main/java/org/luckypray/dexkit/result/base/BaseData.kt
+15 −15 dexkit/src/main/java/org/luckypray/dexkit/util/DexSignUtil.kt
+7 −3 dexkit/src/main/java/org/luckypray/dexkit/wrap/DexClass.kt
+5 −5 dexkit/src/main/java/org/luckypray/dexkit/wrap/DexField.kt
+6 −6 dexkit/src/main/java/org/luckypray/dexkit/wrap/DexMethod.kt
+0 −1 dexkit/src/test/java/org/luckypray/dexkit/JavaReadMeTest.java
+1 −1 dexkit/src/test/java/org/luckypray/dexkit/KtReadMeTest.kt
+10 −13 dexkit/src/test/java/org/luckypray/dexkit/UnitTest.kt
+1 −0 main/.gitignore
+8 −0 main/README.md
+6 −25 main/src/main/java/Main.kt

0 comments on commit 700c0e3

Please sign in to comment.