This repository has been archived by the owner on Nov 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/Cemiuiler-Development-Team/…
- Loading branch information
Showing
57 changed files
with
602 additions
and
517 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
########################################################################################################## | ||
# 作者:Sollyu | ||
# 日期:2020-11-02 | ||
# 内容:发布版本移除日志,kotlin编译时带的而外信息,增强反调试难度 | ||
# 使用:proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro', 'proguard-log.pro' | ||
########################################################################################################## | ||
|
||
########################################################################################################## | ||
# 删除安卓日志 | ||
-assumenosideeffects class android.util.Log { | ||
public static *** d(...); | ||
public static *** v(...); | ||
public static *** w(...); | ||
public static *** e(...); | ||
} | ||
|
||
########################################################################################################## | ||
# 删除Kotlin编译时可能生成显示变量的方法 | ||
-assumenosideeffects class kotlin.jvm.internal.Intrinsics { | ||
public static void checkExpressionValueIsNotNull(java.lang.Object, java.lang.String); | ||
public static void checkFieldIsNotNull(java.lang.Object, java.lang.String); | ||
public static void checkFieldIsNotNull(java.lang.Object, java.lang.String, java.lang.String); | ||
public static void checkNotNull(java.lang.Object); | ||
public static void checkNotNull(java.lang.Object, java.lang.String); | ||
public static void checkNotNullExpressionValue(java.lang.Object, java.lang.String); | ||
public static void checkNotNullParameter(java.lang.Object, java.lang.String); | ||
public static void checkParameterIsNotNull(java.lang.Object, java.lang.String); | ||
public static void checkReturnedValueIsNotNull(java.lang.Object, java.lang.String); | ||
public static void throwUninitializedPropertyAccessException(java.lang.String); | ||
} | ||
|
||
########################################################################################################## | ||
# 会暴露变量名称 | ||
-assumenosideeffects class java.util.Objects { | ||
public static java.lang.Object requireNonNull(java.lang.Object, java.lang.String); | ||
} | ||
|
||
########################################################################################################## | ||
# 删除slf4j的日志输出 | ||
-assumenosideeffects interface org.slf4j.Logger { | ||
public void trace(...); | ||
public void debug(...); | ||
public void info(...); | ||
public void warn(...); | ||
public void error(...); | ||
|
||
public boolean isTraceEnabled(...); | ||
public boolean isDebugEnabled(...); | ||
public boolean isWarnEnabled(...); | ||
} | ||
|
||
-assumenosideeffects class org.slf4j.LoggerFactory { | ||
public static ** getLogger(...); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.