Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dexposedbridge.jar的源码? #35

Closed
jjlan opened this issue Aug 28, 2015 · 2 comments
Closed

dexposedbridge.jar的源码? #35

jjlan opened this issue Aug 28, 2015 · 2 comments

Comments

@jjlan
Copy link

jjlan commented Aug 28, 2015

请问一下,dexposedbridge.jar里面的源码怎么获取,我想在产品上写一些service类,然后把所有的jar包合并成一个,通过AndroidStudio自动解析得到的.class文件中,在xposedbridge.class中有
public static Unhook hookMethod(Member hookMethod, XC_MethodHook callback) {
.......
DexposedBridge.AdditionalHookInfo additionalInfo = new DexposedBridge.AdditionalHookInfo(callbacks, parameterTypes, returnType, (DexposedBridge.AdditionalHookInfo)null);
.........................
return new Unhook(callback, hookMethod);
}
其中(DexposedBridge.AdditionalHookInfo)null)这种写法是什么意思,还有 new Unhook(callback, hookMethod);其中Unhook的构造函数只有hookMethod一个参数啊,这怎么可以传递两个参数呢?
public class Unhook implements IXUnhook {
private final Member hookMethod;

    public Unhook(Member hookMethod) {
        this.hookMethod = hookMethod;
    }

.....................
}
我不确定这种写法是什么意思,是反编译的问题吗?不知道可以不可以提供dexposebridge.jar里面的源码?我现在是自己反编译后,想和其他的代码一起打包,一直报错,求帮助,我水平比较有限,但是很感兴趣,谢谢

@jjlan
Copy link
Author

jjlan commented Aug 29, 2015

thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@lzwang3d @jjlan and others