Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SandHook
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
SandHook
Commits
65344009
Commit
65344009
authored
Jan 28, 2019
by
swift_gan
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
09f7d702
97d89901
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
README.md
README.md
+3
-7
No files found.
README.md
View file @
65344009
...
...
@@ -23,18 +23,14 @@ Android ART Hook
-
System Methods
-
JNI Methods
if you must hook an abstract method:
you must load hooker class in another dex, so can make(maybe, some times still go direct its impl) art to search dexcache...
but Hook abstract method is still not recommended, you can invoke its impl method.
hook abstract method is not recommended, you can invoke its impl method.
cant hook if lined
# how to use
```
gradle
implementation
'com.swift.sandhook:hooklib:0.0.
1
'
implementation
'com.swift.sandhook:hooklib:0.0.
2
'
```
-
hook method must be a static method
...
...
@@ -95,7 +91,7 @@ SanHook.public static boolean hook(Member target, Method hook, Method backup) {}
if hookers is in plugin(like xposed):
```
groovy
provided
'com.swift.sandhook:hookannotation:0.0.
1
'
provided
'com.swift.sandhook:hookannotation:0.0.
2
'
```
in your plugin
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment