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
ca8d08d1
Commit
ca8d08d1
authored
Jan 28, 2019
by
swift_gan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweak so name
parent
65344009
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
build.gradle
build.gradle
+1
-1
CMakeLists.txt
hooklib/CMakeLists.txt
+3
-3
sandhook.cpp
hooklib/src/main/cpp/sandhook.cpp
+0
-0
SandHook.java
hooklib/src/main/java/com/swift/sandhook/SandHook.java
+1
-1
No files found.
build.gradle
View file @
ca8d08d1
...
...
@@ -30,7 +30,7 @@ ext {
userOrg
=
'ganyao114'
groupId
=
'com.swift.sandhook'
repoName
=
'SandHook'
publishVersion
=
'0.0.
1
'
publishVersion
=
'0.0.
5
'
desc
=
'android art hook'
website
=
'https://github.com/ganyao114/SandHook'
licences
=
[
'Apache-2.0'
]
...
...
hooklib/CMakeLists.txt
View file @
ca8d08d1
...
...
@@ -11,13 +11,13 @@ cmake_minimum_required(VERSION 3.4.1)
# Gradle automatically packages shared libraries with your APK.
add_library
(
# Sets the name of the library.
lib-
sandhook
sandhook
# Sets the library as a shared library.
SHARED
# Provides a relative path to your source file(s).
src/main/cpp/sandhook
lib
.cpp
src/main/cpp/sandhook.cpp
src/main/cpp/trampoline/trampoline.cpp
src/main/cpp/trampoline/trampoline_manager.cpp
src/main/cpp/utils/fake_dlfcn.cpp
...
...
@@ -43,7 +43,7 @@ find_library( # Sets the name of the path variable.
# build script, prebuilt third-party libraries, or system libraries.
target_link_libraries
(
# Specifies the target library.
lib-
sandhook
sandhook
# Links the target library to the log library
# included in the NDK.
...
...
hooklib/src/main/cpp/sandhook
lib
.cpp
→
hooklib/src/main/cpp/sandhook.cpp
View file @
ca8d08d1
File moved
hooklib/src/main/java/com/swift/sandhook/SandHook.java
View file @
ca8d08d1
...
...
@@ -24,7 +24,7 @@ public class SandHook {
public
static
int
testAccessFlag
;
static
{
System
.
loadLibrary
(
"
lib-
sandhook"
);
System
.
loadLibrary
(
"sandhook"
);
init
();
}
...
...
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