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 43fdd9c commit f01c7a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
}
}

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

apply plugin: 'com.csp.blackHook.killer'

Expand Down

0 comments on commit f01c7a2

Please sign in to comment.