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

Aspectd如何给所有方法进行函数插桩 #125

Open
Helldefender opened this issue Jul 14, 2021 · 0 comments
Open

Aspectd如何给所有方法进行函数插桩 #125

Helldefender opened this issue Jul 14, 2021 · 0 comments

Comments

@Helldefender
Copy link

在项目(混合工程)接入Aspectd时,发现Aspectd无法对我们封装的Flutter Package通过正则进行插桩。
比如:主工程依赖package lib_common,预期通过@call("package:lib_common\/.+\.dart", ".", "-.+", isRegex: true)对lib_common下所有代码进行插桩,运行发现lib_common下所有文件夹内的代码均未插桩(lib_common下代码按业务功能进行了分包)。符合预期形式:@call("package:lib_common\/first\/second\/.+\.dart", ".", "-.+", isRegex: true),必须指定文件的具体路径

运行版本:master

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

1 participant