YukiHookAPI
YukiHookAPI copied to clipboard
⛱️ An efficient Hook API and Xposed Module solution built in Kotlin.
为了hook动态加载的class,我使用了hook ClassLoader.loadClass(String)的方法,此方法在原生Xposed API上生效,但在Yuki上会有app卡死或代码执行中断的问题。 以下是原生Xposed API正常使用的代码: ```java public class ZuoyebangHook implements IXposedHookLoadPackage { public String LOG_TAG = "ZuoyebangHook: "; @Override public void handleLoadPackage(final XC_LoadPackage.LoadPackageParam lpparam) throws Throwable { XposedBridge.log("Loaded app: "...
If `hasExtend` of `Class` returns false, it means that the current super class is the Object class. But should not stop searching for the super class at this time, because...
## New Hook Code Style This is a proposal. Since the API's original design mode of constructing a Hook only for a `Class` does not meet some exceptions, and there...
## New Xposed Module Config Plan The API currently uses annotations and KSP to complete the automatic generation of entry class code. Some codes still need to be manually configured,...
## New Hook Entry Class The entry class currently used by the API is designed with reference to the working mode and principle of the native Xposed API. The biggest...
类似,但对自动生成的类进行修改会被覆盖,因此只能改YukiHookXposedProcessor解决
Add `Make RoamingX Great Again` to cooperation