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
003641ef
Commit
003641ef
authored
Feb 14, 2019
by
swift_gan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add log
parent
b5dec3cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
SandHook.java
hooklib/src/main/java/com/swift/sandhook/SandHook.java
+2
-0
XposedBridge.java
...at/src/main/java/de/robv/android/xposed/XposedBridge.java
+1
-1
No files found.
hooklib/src/main/java/com/swift/sandhook/SandHook.java
View file @
003641ef
package
com
.
swift
.
sandhook
;
package
com
.
swift
.
sandhook
;
import
android.os.Build
;
import
android.os.Build
;
import
android.util.Log
;
import
com.swift.sandhook.annotation.HookMode
;
import
com.swift.sandhook.annotation.HookMode
;
import
com.swift.sandhook.wrapper.HookErrorException
;
import
com.swift.sandhook.wrapper.HookErrorException
;
...
@@ -66,6 +67,7 @@ public class SandHook {
...
@@ -66,6 +67,7 @@ public class SandHook {
if
(!
SandHook
.
hook
(
entity
.
target
,
entity
.
hook
,
entity
.
backup
))
{
if
(!
SandHook
.
hook
(
entity
.
target
,
entity
.
hook
,
entity
.
backup
))
{
throw
new
HookErrorException
(
"hook method <"
+
entity
.
target
.
getName
()
+
"> error in native!"
);
throw
new
HookErrorException
(
"hook method <"
+
entity
.
target
.
getName
()
+
"> error in native!"
);
}
}
Log
.
d
(
"SandHook"
,
"method <"
+
entity
.
target
.
getName
()
+
"> hook success!"
);
globalHookEntityMap
.
put
(
entity
.
target
,
entity
);
globalHookEntityMap
.
put
(
entity
.
target
,
entity
);
}
}
}
}
...
...
xposedcompat/src/main/java/de/robv/android/xposed/XposedBridge.java
View file @
003641ef
...
@@ -41,7 +41,7 @@ public final class XposedBridge {
...
@@ -41,7 +41,7 @@ public final class XposedBridge {
public
static
final
ClassLoader
BOOTCLASSLOADER
=
XposedBridge
.
class
.
getClassLoader
();
public
static
final
ClassLoader
BOOTCLASSLOADER
=
XposedBridge
.
class
.
getClassLoader
();
/** @hide */
/** @hide */
public
static
final
String
TAG
=
"
E
dXposed-Bridge"
;
public
static
final
String
TAG
=
"
San
dXposed-Bridge"
;
/** @deprecated Use {@link #getXposedVersion()} instead. */
/** @deprecated Use {@link #getXposedVersion()} instead. */
@Deprecated
@Deprecated
...
...
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