42

字节码插桩--你也可以轻松掌握

 5 years ago
source link: https://juejin.im/post/5c886d4ce51d4560fd3ea9a7
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
1 什么是插桩? 听到关于“插桩”的词语,第一眼觉得会很高深,那到底什么是插桩呢?用通俗的话来讲,插桩就是将一段代码通过某种策略插入到另一段代码,或替换另一段代码。这里的代码可以分为源码和字节码,而我们所说的插桩一般指字节码插桩。 图1是Android开发者常

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK