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
6a6129fe
Commit
6a6129fe
authored
Feb 01, 2019
by
swift_gan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable custom libsandhook
parent
a3329836
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
SandHook.java
hooklib/src/main/java/com/swift/sandhook/SandHook.java
+5
-1
SandHookConfig.java
hooklib/src/main/java/com/swift/sandhook/SandHookConfig.java
+5
-0
No files found.
hooklib/src/main/java/com/swift/sandhook/SandHook.java
View file @
6a6129fe
...
...
@@ -24,7 +24,11 @@ public class SandHook {
public
static
int
testAccessFlag
;
static
{
System
.
loadLibrary
(
"sandhook"
);
if
(
SandHookConfig
.
libSandHookPath
==
null
||
SandHookConfig
.
libSandHookPath
.
length
()
==
0
)
{
System
.
loadLibrary
(
"sandhook"
);
}
else
{
System
.
load
(
SandHookConfig
.
libSandHookPath
);
}
init
();
}
...
...
hooklib/src/main/java/com/swift/sandhook/SandHookConfig.java
0 → 100644
View file @
6a6129fe
package
com
.
swift
.
sandhook
;
public
class
SandHookConfig
{
public
volatile
static
String
libSandHookPath
;
}
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