Skip to content

Commit

Permalink
添加使用
Browse files Browse the repository at this point in the history
  • Loading branch information
陈少平 committed Jul 21, 2021
1 parent 907a06d commit 4601a57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@
```



2. 在app module下的build.gradle添加如下代码,hookMethodList是需要hook的方法的集合,每次hook一个新的方法的时候,新建一个HookMethod对象,\
传入hook的类的路径,方法名,方法签名,插入字节码的闭包即可,如下代码所示,hook startService()方法和startForegroundService()方法

```
apply plugin: 'com.csp.blackHook.killer'
Expand Down

0 comments on commit 4601a57

Please sign in to comment.