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
84ba48a5
Unverified
Commit
84ba48a5
authored
Mar 14, 2019
by
ganyao114
Committed by
GitHub
Mar 14, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
de263333
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
README.md
README.md
+11
-4
No files found.
README.md
View file @
84ba48a5
...
...
@@ -13,7 +13,7 @@ Android ART Hook
# OS
4.
4(ART Runtime) -
9
.0
4.
4(ART Runtime) -
10
.0
# Scope
...
...
@@ -30,7 +30,7 @@ cant hook if lined
# how to use
```
gradle
implementation
'com.swift.sandhook:hooklib:3.
0.2
'
implementation
'com.swift.sandhook:hooklib:3.
1.0
'
```
-
Annotation API
...
...
@@ -121,7 +121,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:3.
0.2
'
provided
'com.swift.sandhook:hookannotation:3.
1.0
'
```
in your plugin
...
...
@@ -136,7 +136,7 @@ backup method can call itself to avoid be inlining
Now you can use Xposed api:
```
groovy
implementation
'com.swift.sandhook:xposedcompat:3.
0.2
'
implementation
'com.swift.sandhook:xposedcompat:3.
1.0
'
```
```
java
...
...
@@ -191,6 +191,13 @@ You can also deoptimize a caller that inlined your hook method by SandHook.deCom
non-Root Xposed Environment Demo (VirtualApp With SandHook):
https://github.com/ganyao114/SandVXposed
# Android Q(10.0)
in MyApp.java
//if you want test Android Q, please set true, because SDK_INT of Android Q is still 28
public final static boolean testAndroidQ = false;
# References
...
...
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