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

修改 smali 方法體后 annotation 修改出錯 ,造成apktool 無法編譯smali代碼 #35

Open
ccyyyy1 opened this issue Jul 1, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@ccyyyy1
Copy link

ccyyyy1 commented Jul 1, 2020

everything is fine

@amimo
Copy link
Owner

amimo commented Jul 1, 2020

这个应该是bug.
param的annotation应该不需要保留.

@amimo amimo added the bug Something isn't working label Jul 1, 2020
@ccyyyy1
Copy link
Author

ccyyyy1 commented Jul 1, 2020

嗯,我改了下,就編譯成功了。(雖然不知道是否應該保留 param,但是我都把它保留下來了)

def handle_method_body():

@ccyyyy1
Copy link
Author

ccyyyy1 commented Jul 3, 2020

如果一個參數的注解是 RUNTIME 的,并且有對該參數的運行時注解的解析相關代碼存在,那麽去掉了 .param 和 .end param 之間的注解,是否會導致和原來的程序運行結果不一致的情況? 我還未去驗證,只是想到這點.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants